CRM:完善回款在合同、客户的引入

This commit is contained in:
YunaiV
2024-02-25 20:23:10 +08:00
parent c5e5228e78
commit 25665f548e
7 changed files with 59 additions and 29 deletions

View File

@ -23,7 +23,7 @@
<ReceivablePlanList
:contract-id="contract.id!"
:customer-id="contract.customerId"
@crate-receivable="crateReceivable"
@create-receivable="createReceivable"
/>
<ReceivableList
ref="receivableListRef"
@ -108,8 +108,8 @@ const getOperateLog = async (contractId: number) => {
/** 从回款计划创建回款 */
const receivableListRef = ref<InstanceType<typeof ReceivableList>>() // 回款列表 Ref
const crateReceivable = (planData: any) => {
receivableListRef.value?.crateReceivable(planData)
const createReceivable = (planData: any) => {
receivableListRef.value?.createReceivable(planData)
}
/** 转移 */