diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 0c96534..a19014c 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -140,7 +140,7 @@

请选择你将进行的操作

再试一次 - 其他业务 + @@ -370,7 +370,7 @@ export default { }, closePane(judge = false){ this.closePaneJudge = false - this.lockIt = false + // this.lockIt = false this.reload() if(judge) { this.toggleCase() @@ -748,6 +748,7 @@ export default { } }, reload() { + this.lockIt = false this.clearStore() let token = sessionStorage.getItem('token') let cid = sessionStorage.getItem('cid') diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 75bf4ac..f251cdc 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -1646,7 +1646,7 @@ export default { this.nbm = 33 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) + sessionStorage.setItem('nomClientIdentity', JSON.stringify("getIt")) } this.showManage() }else if (this.$store.state.system.id == '34' && this.popText === '身份证扫描仪' ){ @@ -1654,7 +1654,7 @@ export default { this.nbm = 34 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) + sessionStorage.setItem('firmClientIdentity', JSON.stringify("getIt")) } this.showManage() }else if (this.$store.state.system.id == '63' && this.popText === '刷卡器'){ @@ -1662,14 +1662,14 @@ export default { this.nbm = 63 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify(this.receptionList)) + sessionStorage.setItem('nomBusinessDepositCard', JSON.stringify("getIt")) } this.showManage() }else if (this.$store.state.system.id == '64' && this.popText === '刷卡器'){ this.nbm = 64 if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify(this.receptionList)) + sessionStorage.setItem('nomCurrentWithdrawalCard', JSON.stringify("getIt")) } this.showManage() }else if (this.$store.state.system.id == '64,2' && this.popText === '密码器'){ @@ -1686,7 +1686,7 @@ export default { this.nbm = 65 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify(this.receptionList)) + sessionStorage.setItem('nomCurrentTransferCard', JSON.stringify("getIt")) } this.showManage() // if (this.passwordForm.passwordAgain){ @@ -1699,7 +1699,7 @@ export default { this.nbm = 66 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify(this.receptionList)) + sessionStorage.setItem('nomCurrentSettleCard', JSON.stringify("getIt")) } this.showManage() // if (this.passwordForm.passwordAgain){ @@ -1720,28 +1720,28 @@ export default { this.nbm = 67 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify(this.receptionList)) + sessionStorage.setItem('nomCurrentCancellCard1', JSON.stringify("getIt")) } this.showManage() }else if (this.$store.state.system.id == '67,2' && this.popText === '身份证扫描仪'){ this.nbm = 67 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify(this.receptionList)) + sessionStorage.setItem('nomCurrentCancellCard2', JSON.stringify("getIt")) } this.showManage() }else if (this.$store.state.system.id == '33'){ this.nbm = 33 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('nomClientIdentity', JSON.stringify(this.receptionList)) + sessionStorage.setItem('nomClientIdentity', JSON.stringify("getIt")) } this.showManage() }else if (this.$store.state.system.id == '34'){ this.nbm = 34 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('firmClientIdentity', JSON.stringify(this.receptionList)) + sessionStorage.setItem('firmClientIdentity', JSON.stringify("getIt")) } this.showManage() }else if (myConfig[this.$store.state.system.id]){ // myConfig[this.$store.state.system.id] @@ -1750,7 +1750,7 @@ export default { this.nbm = nbm if(!isPassword) { if (this.receptionList.length >0 && machine === this.popText){ - sessionStorage.setItem(name, JSON.stringify(this.receptionList)) + sessionStorage.setItem(name, JSON.stringify("getIt")) } }else { if (this.passwordForm.passwordAgain){ @@ -1772,7 +1772,7 @@ export default { }else if (this.$store.state.system.id == '62,1' && this.popText === '刷卡器'){ this.nbm = 62 if (this.receptionList.length >0){ - sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) + sessionStorage.setItem('accountVoucher', JSON.stringify("getIt")) } this.showManage() }else if (this.$store.state.system.id == '62,1' && this.popText === '密码器'){ @@ -1788,7 +1788,7 @@ export default { // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) + sessionStorage.setItem('accountVoucherTwo', JSON.stringify("getIt")) } this.showManage() }else if (this.$store.state.system.id == '62,2' && this.popText === '密码器'){ @@ -1803,7 +1803,7 @@ export default { this.nbm = 62 // this.goodsShelfTotalData = this.auditGoodsShelf if (this.receptionList.length >0){ - sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) + sessionStorage.setItem('accountVoucherThree', JSON.stringify("getIt")) } this.showManage() }else if (this.$store.state.system.id == '62,3' && this.popText === '密码器'){ diff --git a/src/pages/manage/list/personal/currentAccount/settle.vue b/src/pages/manage/list/personal/currentAccount/settle.vue index 3a36dc1..01b0a9d 100644 --- a/src/pages/manage/list/personal/currentAccount/settle.vue +++ b/src/pages/manage/list/personal/currentAccount/settle.vue @@ -251,9 +251,9 @@ export default{ }, submitForm2() { let nomCurrentSettleCard = sessionStorage.getItem('nomCurrentSettleCard') - let nomCurrentSettleCards = JSON.parse(nomCurrentSettleCard); + // let nomCurrentSettleCards = JSON.parse(nomCurrentSettleCard); let nomCurrentSettlePassword = sessionStorage.getItem('nomCurrentSettlePassword') - let nomCurrentSettlePasswords = JSON.parse(nomCurrentSettlePassword); + // let nomCurrentSettlePasswords = JSON.parse(nomCurrentSettlePassword); const cards = [ // { // 103: nomCurrentSettleCard diff --git a/src/pages/manage/list/personal/currentAccount/transferAccounts.vue b/src/pages/manage/list/personal/currentAccount/transferAccounts.vue index a8111e1..83bd09d 100644 --- a/src/pages/manage/list/personal/currentAccount/transferAccounts.vue +++ b/src/pages/manage/list/personal/currentAccount/transferAccounts.vue @@ -192,18 +192,20 @@ export default{ if(sessionStorage.getItem('nomCurrentTransferPassword')) { this.form.drawPassword = sessionStorage.getItem('nomCurrentTransferPassword') } - if(this.isNeedBefore) { - if(sessionStorage.getItem('nomCurrentTransferCard')) { - this.cardNumberJudge = true - this.form.cardNumber = this.dataFlow.voucherNumber || '159753' + // if(this.isNeedBefore) { + // if(sessionStorage.getItem('nomCurrentTransferCard')) { + // this.cardNumberJudge = true + // this.form.cardNumber = this.dataFlow.voucherNumber || '159753' - } - return - } + // } + // return + // } if(sessionStorage.getItem('nomCurrentTransferCard')) { const { currency, userName, goldLogo, voucherNumber } = this.dataFlow + this.cardNumberJudge = true this.form.cardNumber = voucherNumber + console.log(this.form.cardNumber) this.form.currency = currency this.form.userName = userName this.form.goldLogo = goldLogo diff --git a/src/pages/manage/list/personal/currentAccount/withdrawal.vue b/src/pages/manage/list/personal/currentAccount/withdrawal.vue index 5603f38..889a75a 100644 --- a/src/pages/manage/list/personal/currentAccount/withdrawal.vue +++ b/src/pages/manage/list/personal/currentAccount/withdrawal.vue @@ -87,13 +87,13 @@ export default{ if(sessionStorage.getItem('nomCurrentWithdrawalPassword')) { this.form.drawPassword = sessionStorage.getItem('nomCurrentWithdrawalPassword') } - if(this.isNeedBefore) { - if(sessionStorage.getItem('nomCurrentWithdrawalCard')) { - this.cardNumberJudge = true - this.form.cardNumber = this.dataFlow.voucherNumber || '159753' - } - return - } + // if(this.isNeedBefore) { + // if(sessionStorage.getItem('nomCurrentWithdrawalCard')) { + // this.cardNumberJudge = true + // this.form.cardNumber = this.dataFlow.voucherNumber || '159753' + // } + // return + // } if(sessionStorage.getItem('nomCurrentWithdrawalCard')) { this.cardNumberJudge = true const { currency, userName, goldLogo, serviceCharge, drawWay, voucherNumber } = this.dataFlow diff --git a/src/store/modules/system.js b/src/store/modules/system.js index 2ef347b..f6c23ad 100644 --- a/src/store/modules/system.js +++ b/src/store/modules/system.js @@ -91,7 +91,17 @@ const birthday = '1996-11-03' const userName = '小白' const capital = 100 const peopleNumber = '111222' -const voucherNumber = '159753' +const voucherNumber = (() => { + const $chars = '1234567890'; + const maxPos = $chars.length; + let str = ''; + for (let i = 0; i < 8; i++) { + str += $chars.charAt(Math.floor(Math.random() * maxPos)); + } + return '6227' + str; +})() +// const voucherNumber = '622766985213' +console.log(voucherNumber) const sex = 1 // 1为男,2为女。 /* @@ -109,12 +119,12 @@ const myInitState = { data: [15, 13, 23, 14], needs: [16, 17], isStamp: { - '业务专用章': [14,17], + '业务专用章': [14,428], '附件章': [23], // '收讫章': [ 17 ] }, backPeople: [], - // backPeople: [21, 13, 22, 16], + // backPeople: [21, 13, 22, 16], // 返还资料 cultureArr: [23, 24, 269], // 各种物品信息 moneyBox: [], // 钱箱 @@ -177,9 +187,9 @@ const myInitState = { // 以下为数据流: needsModule: { - 'consumerClient': false, - 'currentAccount/withdrawal': false, - 'currentAccount/transferAccounts': false, + // 'consumerClient': false, + // 'currentAccount/withdrawal': false, + // 'currentAccount/transferAccounts': false, 'currentAccount/settle': false, 'currentAccount/Cancell': false }, @@ -1236,9 +1246,9 @@ export default { // 以下为数据流: needsModule: { - 'consumerClient': false, - 'currentAccount/withdrawal': false, - 'currentAccount/transferAccounts': false, + // 'consumerClient': false, + // 'currentAccount/withdrawal': false, + // 'currentAccount/transferAccounts': false, 'currentAccount/settle': false, 'currentAccount/Cancell': false }, @@ -1262,7 +1272,7 @@ export default { drawWay:18, interest: '0.1', balance: 666, - totalMoney: 9999999999, + totalMoney: '', } }, '业务三': {