From a2824c54a67483063da299311ea64a3d815350ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=A4=AB=E7=90=B3?= <5356169+zhaofulin@user.noreply.gitee.com> Date: Thu, 21 Mar 2024 18:03:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=AF=B9=E5=85=AC=E6=94=B6?= =?UTF-8?q?=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/CorporatePaymentCard/index.vue | 39 +- .../components/HeaderFilter.vue | 44 +- .../corporatePayment/components/UserList.vue | 41 +- src/views/contract/corporatePayment/index.vue | 8 +- src/views/contract/payment/index.vue | 639 ++++-------------- src/views/contract/receipts/index.vue | 8 +- 6 files changed, 195 insertions(+), 584 deletions(-) diff --git a/src/components/CorporatePaymentCard/index.vue b/src/components/CorporatePaymentCard/index.vue index e46448f..2140cc1 100644 --- a/src/components/CorporatePaymentCard/index.vue +++ b/src/components/CorporatePaymentCard/index.vue @@ -12,44 +12,39 @@
- 收款编号: {{itemData.contractNumber}} + 付款编号: {{itemData.vendorPaymentNo}}
- 申请人:{{itemData.contractName}} + 申请人:{{itemData.createName}}
- 申请部门:{{itemData.supplierName}} + 申请部门:{{itemData.deptName}}
- 项目名称:{{itemData.signatoryName}} + 项目名称:{{itemData.projectName}}
- 项目负责人:{{itemData.amount}} + 项目负责人:{{itemData.projectManager}}
- 账户类型:{{itemData.amount}} + 付款类型:{{getDictDataLabel(DICT_TYPE.BS_BANK_TYPE,itemData.receiptType) || ''}}
- 收款金额:{{itemData.amount}} + 付款金额:{{itemData.amount}}
- 审批节点:{{itemData.amount}} + 审批节点: + {{ items }}
- 审批状态:{{itemData.amount}} -
-
- 创建时间:{{itemData.amount}} -
-
-
{{getDictDataLabel(DICT_TYPE.SR_CT_TYPE,itemData.contractType) || '未知'}}
+ 创建时间:{{ dayjs(itemData.createTime).format('YYYY/MM/DD')}}
- - - + + +
@@ -59,7 +54,7 @@ diff --git a/src/views/contract/receipts/index.vue b/src/views/contract/receipts/index.vue index 4748b68..feedb0d 100644 --- a/src/views/contract/receipts/index.vue +++ b/src/views/contract/receipts/index.vue @@ -13,10 +13,10 @@ - + - + @@ -142,7 +142,9 @@ export default { }).catch((err) => { this.$loading(false, 'form') if (err && err.length > 0 && err[0].name) { - this.$fm(err[0].message) + if (err[0].name === 'amount') { + this.$fm(err[0].message) + } const fieldElement = this.$refs.form.$el.querySelector(`[name="${err[0].name}"]`); const fieldHeight = fieldElement.offsetHeight; const scrollHeight = fieldHeight + 50; // 假设添加了 50px 的额外高度