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 的额外高度