From 5783172c381a4fe6e7c769f3f1d78bd6bdf4c0e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Fri, 24 Sep 2021 18:24:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../collectionAccount/collectionAdd.vue | 158 ++++++++-------- .../collectionAccount/collectionModify.vue | 152 ++++++++-------- .../paymentAccount/paymentAccountAdd.vue | 168 +++++++++--------- .../paymentAccount/paymentAccountList.vue | 2 +- .../paymentAccount/paymentAccountModify.vue | 138 +++++++------- .../paymentApproval/approvalProcess.vue | 10 +- 6 files changed, 330 insertions(+), 298 deletions(-) diff --git a/src/views/onlineHome/bankAgriculture/collectionAccount/collectionAdd.vue b/src/views/onlineHome/bankAgriculture/collectionAccount/collectionAdd.vue index 2af6e33e..73645f2e 100644 --- a/src/views/onlineHome/bankAgriculture/collectionAccount/collectionAdd.vue +++ b/src/views/onlineHome/bankAgriculture/collectionAccount/collectionAdd.vue @@ -10,81 +10,88 @@

添加支付收款账户

-

基础信息

-
- - - - - +

基础信息

+
+ + + - - -
+ + + + +
-
- -
+
+ +
-
- - - - - - + + + + - - - - -
-
- - - - - -
-
+ + + + + + + +
+ + + + + +
+
+ @@ -96,7 +103,10 @@ return { showBankType:false, showPayeeType:false, - form:{}, + form:{ + accountType:'1', + status:'0' + }, bankType:'', payeeType:'', @@ -137,6 +147,10 @@ }); }, + getError(e){ + console.log(e) + this.$notify({ type: 'danger', message: e.errors[0].message }); + }, onConfirmBankType(data){ this.bankType = data.text; this.form.bankType = data.value; diff --git a/src/views/onlineHome/bankAgriculture/collectionAccount/collectionModify.vue b/src/views/onlineHome/bankAgriculture/collectionAccount/collectionModify.vue index 1043969b..adc8bf2a 100644 --- a/src/views/onlineHome/bankAgriculture/collectionAccount/collectionModify.vue +++ b/src/views/onlineHome/bankAgriculture/collectionAccount/collectionModify.vue @@ -10,81 +10,87 @@

修改支付收款账户

-

基础信息

-
- - - - - +

基础信息

+
+ + + - - -
+ + + + +
-
- -
+
+ +
-
- - - - - - + + + + - - - - -
-
- - - - - -
-
+ + + + + + + +
+ + + + + +
+
+ @@ -128,6 +134,10 @@ }); }, + getError(e){ + console.log(e) + this.$notify({ type: 'danger', message: e.errors[0].message }); + }, onConfirmBankType(data){ this.bankType = data.text; this.form.bankType = data.value; diff --git a/src/views/onlineHome/bankAgriculture/paymentAccount/paymentAccountAdd.vue b/src/views/onlineHome/bankAgriculture/paymentAccount/paymentAccountAdd.vue index 6e69bbe8..ca0f6f61 100644 --- a/src/views/onlineHome/bankAgriculture/paymentAccount/paymentAccountAdd.vue +++ b/src/views/onlineHome/bankAgriculture/paymentAccount/paymentAccountAdd.vue @@ -10,72 +10,76 @@

添加出纳账户设置

-

基础信息

-
- - - +

基础信息

+
+ - - - - - + + + + - - - - - - - - - - - - -
-
- - - - - -
-
+ + + + + + + + + + + + + + +
+
+ + + + + +
+
+ @@ -101,7 +105,7 @@ jglxDictionaries:[], subjectDictionaries:[], typeDictionaries:[], - subjectDeatil:[], + subjectDeatil:'', form:{} }; @@ -111,27 +115,21 @@ }, methods: { getDetail(){ - // 账户类型 - this.houseGetDicts("account_type_cashier").then((res) => { - for (var i = 0; i < res.data.length; i++) { - this.typeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); - } - }); - getSubjectDetail().then((res) => { - for (var i = 0; i < res.rows.length; i++) { - this.subjectDictionaries.push({text: res.rows[i].subjectNameAll, value: res.rows[i].subjectId}); - } - }); - }, - selectSubject(datas, value) { - var actions = []; - Object.keys(datas).some((key) => { - if (datas[key].subjectId == ('' + value)) { - actions.push(datas[key].subjectNameAll); - return true; + // 账户类型 + this.houseGetDicts("account_type_cashier").then((res) => { + for (var i = 0; i < res.data.length; i++) { + this.typeDictionaries.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); + } + }); + getSubjectDetail().then((res) => { + for (var i = 0; i < res.rows.length; i++) { + this.subjectDictionaries.push({text: res.rows[i].subjectNameAll, value: res.rows[i].subjectId}); } - }) - return actions.join(''); + }); + }, + getError(e){ + console.log(e) + this.$notify({ type: 'danger', message: e.errors[0].message }); }, onConfirmSubject(data){ this.subjectDeatil = data.text; diff --git a/src/views/onlineHome/bankAgriculture/paymentAccount/paymentAccountList.vue b/src/views/onlineHome/bankAgriculture/paymentAccount/paymentAccountList.vue index e4bb6290..39796022 100644 --- a/src/views/onlineHome/bankAgriculture/paymentAccount/paymentAccountList.vue +++ b/src/views/onlineHome/bankAgriculture/paymentAccount/paymentAccountList.vue @@ -30,7 +30,7 @@

{{item.balance}}

@@ -128,6 +132,10 @@ this.form = response.data; }); }, + getError(e){ + console.log(e) + this.$notify({ type: 'danger', message: e.errors[0].message }); + }, selectSubject(datas, value) { var actions = []; Object.keys(datas).some((key) => { diff --git a/src/views/onlineHome/bankAgriculture/paymentApproval/approvalProcess.vue b/src/views/onlineHome/bankAgriculture/paymentApproval/approvalProcess.vue index 8388e943..3bb2f6bd 100644 --- a/src/views/onlineHome/bankAgriculture/paymentApproval/approvalProcess.vue +++ b/src/views/onlineHome/bankAgriculture/paymentApproval/approvalProcess.vue @@ -19,8 +19,10 @@

已申请 - {{processList.申请人}} - {{processList.申请时间}} + {{processList.申请人}} + + + {{processList.申请时间}} @@ -35,14 +37,14 @@

乡镇审批

乡镇审批

- +

审批人:{{processList.乡镇审批人}}

审批人:{{processList.乡镇审批人}}

审批人:{{processList.乡镇审批人}}

- +

审批时间:{{processList.乡镇审批时间}}

审批时间:{{processList.乡镇审批时间}}

审批时间:{{processList.乡镇审批时间}}