src/views/procurementManagement/paymentEntry/index.vue
@@ -259,13 +259,15 @@ getPurchaseNo().then(res => { purchaseLedgerList.value = res }) form.value.registrantId = userStore.id form.value.registrant = userStore.name form.value.registrationtDate = getCurrentDate(); form.value.paymentDate = getCurrentDate(); form.value.registrant = userStore.name if (type === 'edit') { registrationInfo(row.id).then(res => { form.value = {...res.data} if(form.value.registrantId == userStore.id){ form.value.registrant = userStore.name } }) } dialogFormVisible.value = true