From c887e8836b26db6e806e273a9a14f19285de03cc Mon Sep 17 00:00:00 2001 From: yangfuda <945208611@qq.com> Date: Thu, 10 Aug 2023 15:37:12 +0800 Subject: [PATCH] =?UTF-8?q?=E9=93=B6=E5=86=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../paymentApproval/approvalDetail.vue | 23 ++++---- .../paymentApproval/approvalList.vue | 52 ++++++++++++++++++- 2 files changed, 64 insertions(+), 11 deletions(-) diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail.vue index 2ad1b61b..fae6f78d 100644 --- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail.vue +++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalDetail.vue @@ -71,6 +71,8 @@ + +

查看更多

收起列表

@@ -131,6 +133,7 @@ bankTypeDictionaries:[], projectList:[], projectFundTypeOptions:[], + transferStatusOptions:[], projectFundTypeDictionaries:[], projectList:[], @@ -175,6 +178,12 @@ } this.projectFundTypeDictionaries = response.data; }); + this.getDicts("transfer_status").then((response) => { + this.transferStatusOptions = response.data; + }); + this.getDicts("bank_type_all").then(response => { + this.bankTypeDictionaries = response.data; + }); this.getDictionaries(); this.getFileList(); this.getTemplateList(); @@ -235,15 +244,11 @@ this.form = response.data; }); queryTransferDetail(this.$route.query.id).then((response) => { - this.getDicts("bank_type_all").then(res => { - for (var i = 0; i < res.data.length; i++) { - this.bankTypeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); - } - for (var j = 0 ; j < response.rows.length ; j++){ - response.rows[j].bankTypeText = this.selectDictLabel(res.data, response.rows[j].bankType); - } - this.chargeItme = response.rows; - }); + for (var j = 0 ; j < response.rows.length ; j++){ + response.rows[j].bankTypeText = this.selectDictLabel(this.bankTypeDictionaries, response.rows[j].bankType); + response.rows[j].transferStatus = this.selectDictLabel(this.transferStatusOptions, response.rows[j].transferStatus); + } + this.chargeItme = response.rows; this.getPayeeList(); }); }, diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalList.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalList.vue index 4c95e27b..3d624609 100644 --- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalList.vue +++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalList.vue @@ -21,7 +21,7 @@ finished-text="没有更多了" @load="getList"> - + @@ -30,6 +30,11 @@ @@ -54,13 +65,14 @@