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

(cherry picked from commit 25665f548e)
This commit is contained in:
YunaiV
2024-02-25 20:23:10 +08:00
committed by shizhong
parent 8d0ab3d77f
commit 4e6c8e46df
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)
}
/** 转移 */