From dbde5be773aafa565d3257f9ca81e6956a541ee6 Mon Sep 17 00:00:00 2001 From: e <2432808546@qq.com> Date: Mon, 22 Nov 2021 20:09:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E6=8F=90=E4=BA=A4=E4=B8=8D?= =?UTF-8?q?=E4=BA=86=E6=8F=90=E7=A4=BA=E6=9C=89=E7=A9=BA=E7=9A=84bug=20?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=92=B1=E7=AE=B1=E5=92=8C=E5=88=B7=E5=8D=A1?= =?UTF-8?q?=E5=99=A8=E5=86=B2=E7=AA=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/case/index.vue | 12 +- src/pages/counter/list/index.vue | 114 +++++++----------- .../personal/currentAccount/openAccount.vue | 3 + 3 files changed, 55 insertions(+), 74 deletions(-) diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 15a7df1..2900678 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -410,6 +410,10 @@ export default { let params = { "projectId":this.projectId, } + let formList = [] + sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) + sessionStorage.setItem('accountVoucher', JSON.stringify(formList)) + sessionStorage.setItem('accountPasswordAll', '') sessionStorage.setItem('projectId', this.projectId) getProjectDetail(params).then((data)=>{ if(data.status == 200){ @@ -474,8 +478,8 @@ export default { let datas= data.data.retMap.scoreInfo; let formList = [] sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) - sessionStorage.setItem('formDataAccountVoucher', JSON.stringify(formList)) - sessionStorage.setItem('formDataAccountPassword', '') + sessionStorage.setItem('accountVoucher', JSON.stringify(formList)) + sessionStorage.setItem('accountPasswordAll', '') let list = this.requires this.grade = data.data.retMap.totalScore for (var j=0;j { + if (data.data.status == 200) { + var list = data.data.judgmentRuleReqs + for(var j=0;j{ + }) }else{ let dataList = JSON.parse(sessionStorage.getItem('dataList')); if (dataList){ @@ -363,7 +385,6 @@ export default { this.passwordForm.password = accountPasswordAll this.passwordForm.passwordAgain = accountPasswordAll } - // this.passwordForm.passwordAgain = accountPasswordAll } if(!this.showGoods) this.showGoods = this.$store.state.system.showPop if(!this.showGoods) this.checkList = [] @@ -421,6 +442,9 @@ export default { let ifElse = 0; for(var i=0;i { - if (data.data.status == 200) { - var list = data.data.judgmentRuleReqs - for(var j=0;j{ - }) }else if(type == '身份证扫描仪' || type == '验钞机' || type == '资料' || type == '重要空白凭证箱'){ this.goodsShelfTotalData = this.auditGoodsShelf let parentId = '' @@ -520,21 +526,6 @@ export default { let param= { parentId: parentId } - getOperation(param).then((data)=> { - if (data.data.status == 200) { - var list = data.data.judgmentRuleReqs - for(var j=0;j{ - }) }else if(type == '打印机' || type == '客户签字' || type == '印章盒'){ this.goodsShelfTotalData = this.printoutGoodsShelf let parentId = '' @@ -547,24 +538,6 @@ export default { if(type == '印章盒'){ parentId = '0,8' } - let param= { - parentId: parentId - } - getOperation(param).then((data)=> { - if (data.data.status == 200) { - var list = data.data.judgmentRuleReqs - for(var j=0;j{ - }) }else if(type == '钱箱'){ this.goodsShelfTotalData = this.cashboxGoodsShelf; let param= { @@ -684,41 +657,38 @@ export default { this.$store.commit('system/changeGoods',{push:arr}) clickList.length = 0 }else{ - if (this.id == '62,1'){ + if (this.$store.state.system.id == '62,1'){ + this.nbm = 62 this.goodsShelfTotalData = this.auditGoodsShelf - let accountVoucher = []; - let accountPassword = ''; - if (this.receptionList.length){ - accountVoucher = this.receptionList - sessionStorage.setItem('accountVoucher', JSON.stringify(accountVoucher)) + if (this.receptionList.length >0){ + sessionStorage.setItem('accountVoucher', JSON.stringify(this.receptionList)) } if (this.passwordForm.passwordAgain){ + let accountPassword = ''; accountPassword = this.passwordForm.passwordAgain sessionStorage.setItem('accountPassword', accountPassword) } } - if (this.id == '62,2'){ + if (this.$store.state.system.id == '62,2'){ + this.nbm = 62 this.goodsShelfTotalData = this.auditGoodsShelf - let accountVoucherTwo = [] - let accountPasswordTwo = '' - if (this.receptionList.length){ - accountVoucherTwo = this.receptionList - sessionStorage.setItem('accountVoucherTwo', JSON.stringify(accountVoucherTwo)) + if (this.receptionList.length >0){ + sessionStorage.setItem('accountVoucherTwo', JSON.stringify(this.receptionList)) } if (this.passwordForm.passwordAgain){ + let accountPasswordTwo = '' accountPasswordTwo = this.passwordForm.passwordAgain sessionStorage.setItem('accountPasswordTwo', accountPasswordTwo) } } - if (this.id == '62,3'){ + if (this.$store.state.system.id == '62,3'){ + this.nbm = 62 this.goodsShelfTotalData = this.auditGoodsShelf - let accountVoucherThree = [] - let accountPasswordThree = '' - if (this.receptionList.length){ - accountVoucherThree = this.receptionList - sessionStorage.setItem('accountVoucherThree', JSON.stringify(accountVoucherThree)) + if (this.receptionList.length >0){ + sessionStorage.setItem('accountVoucherThree', JSON.stringify(this.receptionList)) } if (this.passwordForm.passwordAgain){ + let accountPasswordThree = '' accountPasswordThree = this.passwordForm.passwordAgain sessionStorage.setItem('accountPasswordThree', accountPasswordThree) } diff --git a/src/pages/manage/list/personal/currentAccount/openAccount.vue b/src/pages/manage/list/personal/currentAccount/openAccount.vue index 60f8605..cf98806 100644 --- a/src/pages/manage/list/personal/currentAccount/openAccount.vue +++ b/src/pages/manage/list/personal/currentAccount/openAccount.vue @@ -341,6 +341,7 @@ export default { let startTime = sessionStorage.getItem('startTime') let accountVoucher = sessionStorage.getItem('accountVoucher') let formExternalDataList = JSON.parse(accountVoucher); + console.log(accountVoucher) if (formExternalDataList){ voucherNumber = formExternalDataList }else{ @@ -435,6 +436,8 @@ export default { }).catch((error)=>{ }) }else{ + console.log(voucherNumber) + console.log(paymentCode) this.$message.error('有必填项未填哦~'); } },