From ad05dec9b4e79d131621aa9b4debd5715bea1ca5 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Wed, 5 Jun 2024 17:37:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../contract/components/addContractLedger.vue | 2 +- .../contract/components/contractSign.vue | 19 ++++++++++++----- .../contract/components/editorContract.vue | 4 ++-- .../contract/components/printRegistration.vue | 2 +- src/views/contract/contractEdit.vue | 8 +++++-- src/views/contract/contractLedger.vue | 4 ++-- src/views/contract/contractList.vue | 21 +++++++++++++------ 7 files changed, 41 insertions(+), 19 deletions(-) diff --git a/src/views/contract/components/addContractLedger.vue b/src/views/contract/components/addContractLedger.vue index 1cc6852..97cc171 100644 --- a/src/views/contract/components/addContractLedger.vue +++ b/src/views/contract/components/addContractLedger.vue @@ -53,7 +53,7 @@
- +
diff --git a/src/views/contract/components/contractSign.vue b/src/views/contract/components/contractSign.vue index 002a518..2ba1fd7 100644 --- a/src/views/contract/components/contractSign.vue +++ b/src/views/contract/components/contractSign.vue @@ -315,13 +315,13 @@ contractId: null, contract: {}, signList: [], - signTable: [{ - prop: 'created_at', - label: '日期', + signTable: [ + { + prop: "date", + label: "计划日期", width: 170, - sortable: false, formatter: (v1, v2, value) => { - return parseTime(new Date(value)) + return this.$moment(new Date(value)).format("YYYY-MM-DD") } }, { @@ -347,6 +347,15 @@ minWidth: 180, align: 'left', sortable: false, + }, + { + prop: 'created_at', + label: '日期', + width: 170, + sortable: false, + formatter: (v1, v2, value) => { + return this.$moment(new Date(value)).format("YYYY-MM-DD HH:mm:ss") + } } ], diff --git a/src/views/contract/components/editorContract.vue b/src/views/contract/components/editorContract.vue index 81b2bd1..8bddba8 100644 --- a/src/views/contract/components/editorContract.vue +++ b/src/views/contract/components/editorContract.vue @@ -50,10 +50,10 @@ diff --git a/src/views/contract/components/printRegistration.vue b/src/views/contract/components/printRegistration.vue index 0c06836..43ba2fc 100644 --- a/src/views/contract/components/printRegistration.vue +++ b/src/views/contract/components/printRegistration.vue @@ -12,7 +12,7 @@
本次为第 {{payIndex}} 次付款
{{registration.remark}}
-