diff --git a/src/components/bankaccount/index.vue b/src/components/bankaccount/index.vue index 4dab2ec..920ad5b 100644 --- a/src/components/bankaccount/index.vue +++ b/src/components/bankaccount/index.vue @@ -2,8 +2,8 @@
- - + + 查询 @@ -14,12 +14,12 @@
- - - - - - + + + + + +
@@ -33,12 +33,12 @@ \ No newline at end of file diff --git a/src/views/administrativeContracts/edit.vue b/src/views/administrativeContracts/edit.vue index ff70673..72f2498 100644 --- a/src/views/administrativeContracts/edit.vue +++ b/src/views/administrativeContracts/edit.vue @@ -26,11 +26,11 @@ - + - + @@ -157,8 +157,8 @@ const popupRef = shallowRef>() const mode = ref('add') const showDialog = ref(false) const showDialog1 = ref(false) -const supplier_contract_name = ref('') -const supplier_contract_no = ref('') +const supplier_name = ref('') +const supplier_code = ref('') const formDataannex = reactive([]) const tableData = reactive([]) const list1 = reactive([]) @@ -251,9 +251,9 @@ const formData = reactive({ annex: "" }) const customEvent = (e: any) => { - supplier_contract_name.value = e.supplier_name + supplier_name.value = e.supplier_name formData.supplier_id = e.id - supplier_contract_no.value = e.supplier_code + supplier_code.value = e.supplier_code showDialog.value = false; }; @@ -288,6 +288,9 @@ const setFormData = async (data: Record) => { if (data.amount_daxie) { amountinput(data.amount_daxie) } + supplier_name.value = data.supplier_name + + supplier_code.value = data.supplier_code //@ts-ignore formData.signing_date = timeFormat(formData.signing_date, 'yyyy-mm-dd hh:MM:ss') } diff --git a/src/views/bank_account/detail.vue b/src/views/bank_account/detail.vue index ba03f7c..2bd3607 100644 --- a/src/views/bank_account/detail.vue +++ b/src/views/bank_account/detail.vue @@ -3,47 +3,28 @@