diff --git a/src/views/crm/receivable/ReceivableForm.vue b/src/views/crm/receivable/ReceivableForm.vue index aa9937bd..17ce1cbe 100644 --- a/src/views/crm/receivable/ReceivableForm.vue +++ b/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 }