Pārlūkot izejas kodu

!396 修复:回款管理-编辑:不显示合同名称
Merge pull request !396 from 李占宏/dev

芋道源码 1 gadu atpakaļ
vecāks
revīzija
035bccb472
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      src/views/crm/receivable/ReceivableForm.vue

+ 2 - 0
src/views/crm/receivable/ReceivableForm.vue

@@ -186,6 +186,8 @@ const open = async (
     formLoading.value = true
     try {
       formData.value = await ReceivableApi.getReceivable(id)
+      await handleCustomerChange(formData.value.customerId)
+      formData.value.contractId = formData.value.contract.id
     } finally {
       formLoading.value = false
     }