From 243becd5a86e1cc4657fea5d2bf4e49d3c3a1e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Tue, 9 Aug 2022 16:49:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 +- src/router/index.js | 20 ++ .../paymentAccount/paymentAccountAdd.vue | 3 + .../paymentAccount/paymentAccountModify.vue | 3 + .../paymentApproval/approvalAdd.vue | 77 ++++- .../paymentApproval/collectionAdd.vue | 274 ++++++++++++++++++ .../paymentApproval/collectionAdd2.vue | 274 ++++++++++++++++++ 7 files changed, 643 insertions(+), 12 deletions(-) create mode 100644 src/views/yinnong/bankAgriculture/paymentApproval/collectionAdd.vue create mode 100644 src/views/yinnong/bankAgriculture/paymentApproval/collectionAdd2.vue diff --git a/config/index.js b/config/index.js index 7e58e1c7..eebba6a7 100644 --- a/config/index.js +++ b/config/index.js @@ -12,8 +12,8 @@ module.exports = { proxyTable: { "/api": { // 请求的目标主机 - //target: 'http://116.255.135.38:8081/nsgk_test/', - target: 'http://localhost:8080/', + target: 'http://116.255.223.226:8081/nsgk_test/', + //target: 'http://localhost:8080/', changeOrigin: true, pathRewrite: { '^/api': '' diff --git a/src/router/index.js b/src/router/index.js index 27542f2e..c8b3bfac 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1795,6 +1795,7 @@ export const constantRoutes = [ meta: { title: '添加银行卡转账申请', hidden: true, + keepAlive: true }, component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalAdd'], resolve) }, @@ -1804,6 +1805,7 @@ export const constantRoutes = [ meta: { title: '添加信用卡还款申请', hidden: true, + keepAlive: true }, component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalAdd2'], resolve) }, @@ -1861,6 +1863,24 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalAdd12'], resolve) }, + { + path: '/yinnong/approval/collectionAdd', + name: 'approvalCollectionAdd', + meta: { + title: '添加收款账户信息', + hidden: true, + }, + component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/collectionAdd'], resolve) + }, + { + path: '/yinnong/approval/collectionAdd2', + name: 'approvalCollectionAdd2', + meta: { + title: '添加收款账户信息', + hidden: true, + }, + component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/collectionAdd2'], resolve) + }, { path: '/yinnong/approvalApproval', name: 'approvalApproval', diff --git a/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountAdd.vue b/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountAdd.vue index 2829ba19..8c40e4be 100644 --- a/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountAdd.vue +++ b/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountAdd.vue @@ -407,7 +407,10 @@ onConfirmTaccountId(val){ this.showTaccountId = false this.taccountId = val.text + console.log(val) this.$set(this.form, "taccountId", val.value); + this.$set(this.form, "cifNo", val.cifNo); + this.$set(this.form, "accountNo", val.accountNo); this.taccountIdOptions.map(res => { if(res.id==val.value){ if(this.form.villageAccountType === '3'){ diff --git a/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountModify.vue b/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountModify.vue index 5a34aa2f..c3a647f6 100644 --- a/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountModify.vue +++ b/src/views/yinnong/bankAgriculture/paymentAccount/paymentAccountModify.vue @@ -463,7 +463,10 @@ onConfirmTaccountId(val){ this.showTaccountId = false this.taccountId = val.text + console.log(val) this.$set(this.form, "taccountId", val.value); + this.$set(this.form, "cifNo", val.cifNo); + this.$set(this.form, "accountNo", val.accountNo); this.taccountIdOptions.map(res => { if(res.id==val.value){ if(this.form.villageAccountType === '3'){ diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue index 5d290836..ab3b01df 100644 --- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue +++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalAdd.vue @@ -4,7 +4,7 @@ left-arrow fixed placeholder - @click-left="$router.back(-1)" + @click-left="goBack" >