From a7cb1b29092042713a30f42ae86195212d7a6601 Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Wed, 5 Jan 2022 17:28:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=81=E7=A7=8D=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/counter/list/index.vue | 94 ++++++++++++++----- .../manage/list/acceptanceDraft/invoice.vue | 8 +- src/pages/manage/list/business/deposit.vue | 4 +- .../manage/list/business/openAccount.vue | 4 +- src/pages/manage/list/business/transfer.vue | 4 +- src/pages/manage/list/cityWide/cityWideIn.vue | 6 +- .../manage/list/cityWide/cityWideOut.vue | 6 +- .../list/personal/currentAccount/deposit.vue | 6 +- .../personal/currentAccount/openAccount.vue | 8 +- .../list/personal/currentAccount/settle.vue | 6 +- .../currentAccount/transferAccounts.vue | 6 +- .../personal/currentAccount/withdrawal.vue | 6 +- .../list/personal/timeDeposit/deposit.vue | 4 +- .../list/personal/timeDeposit/openAccount.vue | 4 +- .../list/personal/timeDeposit/withdrawal.vue | 4 +- .../personal/usefulPhrases/accountClosed.vue | 4 +- .../usefulPhrases/continueDeposit.vue | 4 +- .../personal/usefulPhrases/openAccount.vue | 4 +- src/store/modules/system.js | 47 +++++++++- 19 files changed, 176 insertions(+), 53 deletions(-) diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 3f07d2c..1215110 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -173,7 +173,7 @@
-
+

{{item.name}}

@@ -205,7 +205,7 @@
请选择系统
-

python程序设计 | 请选择您要做的项目实验

+

请选择您要办理的业务

- - + + + CYC人民币 + diff --git a/src/pages/manage/list/personal/currentAccount/openAccount.vue b/src/pages/manage/list/personal/currentAccount/openAccount.vue index 8612e3d..db244ee 100644 --- a/src/pages/manage/list/personal/currentAccount/openAccount.vue +++ b/src/pages/manage/list/personal/currentAccount/openAccount.vue @@ -9,9 +9,11 @@ - - - + + + CYC人民币 + + diff --git a/src/pages/manage/list/personal/currentAccount/settle.vue b/src/pages/manage/list/personal/currentAccount/settle.vue index e896e5e..3750c32 100644 --- a/src/pages/manage/list/personal/currentAccount/settle.vue +++ b/src/pages/manage/list/personal/currentAccount/settle.vue @@ -9,8 +9,10 @@

请刷卡

- - + + + CYC人民币 + diff --git a/src/pages/manage/list/personal/currentAccount/transferAccounts.vue b/src/pages/manage/list/personal/currentAccount/transferAccounts.vue index 7cd2a5d..fccddb1 100644 --- a/src/pages/manage/list/personal/currentAccount/transferAccounts.vue +++ b/src/pages/manage/list/personal/currentAccount/transferAccounts.vue @@ -9,8 +9,10 @@

请刷卡

- - + + + CYC人民币 + diff --git a/src/pages/manage/list/personal/currentAccount/withdrawal.vue b/src/pages/manage/list/personal/currentAccount/withdrawal.vue index 7d644a9..b562d54 100644 --- a/src/pages/manage/list/personal/currentAccount/withdrawal.vue +++ b/src/pages/manage/list/personal/currentAccount/withdrawal.vue @@ -9,8 +9,10 @@

请刷卡

- - + + + CYC人民币 + diff --git a/src/pages/manage/list/personal/timeDeposit/deposit.vue b/src/pages/manage/list/personal/timeDeposit/deposit.vue index 272774f..fdebe80 100644 --- a/src/pages/manage/list/personal/timeDeposit/deposit.vue +++ b/src/pages/manage/list/personal/timeDeposit/deposit.vue @@ -10,7 +10,9 @@ - + + CYC人民币 + diff --git a/src/pages/manage/list/personal/timeDeposit/openAccount.vue b/src/pages/manage/list/personal/timeDeposit/openAccount.vue index 9770f7f..298f33c 100644 --- a/src/pages/manage/list/personal/timeDeposit/openAccount.vue +++ b/src/pages/manage/list/personal/timeDeposit/openAccount.vue @@ -13,7 +13,9 @@ - + + CYC人民币 + diff --git a/src/pages/manage/list/personal/timeDeposit/withdrawal.vue b/src/pages/manage/list/personal/timeDeposit/withdrawal.vue index fc707b9..f68ce33 100644 --- a/src/pages/manage/list/personal/timeDeposit/withdrawal.vue +++ b/src/pages/manage/list/personal/timeDeposit/withdrawal.vue @@ -10,7 +10,9 @@ - + + CYC人民币 + diff --git a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue index 0a130ba..8f1e5fa 100644 --- a/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue +++ b/src/pages/manage/list/personal/usefulPhrases/accountClosed.vue @@ -15,7 +15,9 @@ - + + CYC人民币 + diff --git a/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue b/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue index 0d41e2a..3457e18 100644 --- a/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue +++ b/src/pages/manage/list/personal/usefulPhrases/continueDeposit.vue @@ -26,7 +26,9 @@ - + + CYC人民币 + diff --git a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue index 2eddd2f..af9e311 100644 --- a/src/pages/manage/list/personal/usefulPhrases/openAccount.vue +++ b/src/pages/manage/list/personal/usefulPhrases/openAccount.vue @@ -13,7 +13,9 @@ - + + CYC人民币 + diff --git a/src/store/modules/system.js b/src/store/modules/system.js index 20fe0fd..67e775b 100644 --- a/src/store/modules/system.js +++ b/src/store/modules/system.js @@ -18,8 +18,16 @@ const allGoods = { 14: {name:'开户申请书',src:require('@/assets/img/goods/khsqs.png'),id:14}, 15: {name:'现金',src:require('@/assets/img/goods/cash-sm.png'),id:15}, 17: {name:'存款凭条',src:require('@/assets/img/goods/ckpt.png'),id:17}, + + // 以下是我自己加的id 本来没有的 业务需要 + 141: {name:'开户申请书凭证联',src:require('@/assets/img/goods/khsqs.png'),id:141}, + 142: {name:'开户申请书回单',src:require('@/assets/img/goods/khsqs.png'),id:142}, + 171: {name:'存款凭条凭证联',src:require('@/assets/img/goods/ckpt.png'),id:171}, + 172: {name:'存款凭条回单',src:require('@/assets/img/goods/ckpt.png'),id:172}, } + + export default { namespaced: true, state: {/* 管理柜台状态 */ @@ -37,7 +45,11 @@ export default { }, '项目一': { data: [15, 13, 23, 14], - needs: [16, 17] + needs: [16, 17], + isStamp: { + '业务专用章': [14, 17], + '附件章': [23] + } }, }, goods:[// 物品栏的物品 @@ -80,6 +92,39 @@ export default { ], }, mutations: { + payMoney(state) { + const index = state.businessSelect[state.businessKey].data.findIndex(item => item === 15) + if(index !== -1) { + state.businessSelect[state.businessKey].data.splice(index, 1) + } + }, + stampJudge(state, { sealArr, id }) { + const needStamp = state.businessSelect[state.businessKey].isStamp + for(let seal in needStamp) { + for(let i=0; i item === id) + console.log(index) + if(seal === '业务专用章') { + if(id === 14) { + state.businessSelect[state.businessKey].data.splice(index, 1, 141) + state.businessSelect[state.businessKey].data.push(142) + } + if(id === 17) { + state.businessSelect[state.businessKey].data.splice(index, 1, 171) + state.businessSelect[state.businessKey].data.push(172) + } + } + }, setBusinessKey: (state, val) => { // 这个是容错的 后面可以删掉 if(!state.businessSelect[val]) {