From 0b6b040b7699061a28b4a0821cd3f40a3c6f0abe Mon Sep 17 00:00:00 2001 From: "luoJunYong.123" Date: Mon, 17 Jan 2022 18:30:20 +0800 Subject: [PATCH] update --- .../currentAccount/accountCancellation.vue | 3 +++ .../list/personal/currentAccount/deposit.vue | 2 +- .../list/personal/currentAccount/settle.vue | 3 +++ .../personal/currentAccount/withdrawal.vue | 19 ++++++++++--------- .../list/personal/timeDeposit/openAccount.vue | 3 +++ 5 files changed, 20 insertions(+), 10 deletions(-) diff --git a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue index 2510ed4..3c8943e 100644 --- a/src/pages/manage/list/personal/currentAccount/accountCancellation.vue +++ b/src/pages/manage/list/personal/currentAccount/accountCancellation.vue @@ -133,6 +133,9 @@ export default{ if(this.form.idNumber) { this.idNumberJudge = true } + if(this.form.drawPassword) { + sessionStorage.setItem('nomCurrentCancellPassword', this.form.drawPassword) + } } autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback) }, diff --git a/src/pages/manage/list/personal/currentAccount/deposit.vue b/src/pages/manage/list/personal/currentAccount/deposit.vue index 392cf36..1a1e331 100644 --- a/src/pages/manage/list/personal/currentAccount/deposit.vue +++ b/src/pages/manage/list/personal/currentAccount/deposit.vue @@ -169,7 +169,7 @@ export default{ let formList = []; let nomBusinessDepositCard = sessionStorage.getItem('nomBusinessDepositCard') let nomBusinessDepositCards = nomBusinessDepositCard // JSON.parse(nomBusinessDepositCard); - if (nomBusinessDepositCards && nomBusinessDepositCards.length > 0){ + if (this.cardNumberJudge){ // formList.push({"answerId":78,"emptyOne": "", "emptyTwo": nomBusinessDepositCards, "operationIds": "285,287,5,26,57,63,78","type": ""})// 卡号 formList.push({"answerId":78,"emptyOne": "", "emptyTwo": this.form.idCardNumber, "operationIds": "285,287,5,26,57,63,78","type": ""}) if(this.form.currency){ diff --git a/src/pages/manage/list/personal/currentAccount/settle.vue b/src/pages/manage/list/personal/currentAccount/settle.vue index fde07c7..0ece175 100644 --- a/src/pages/manage/list/personal/currentAccount/settle.vue +++ b/src/pages/manage/list/personal/currentAccount/settle.vue @@ -195,6 +195,9 @@ export default{ if(this.form.userName) { this.setDataFlow({ userName: this.form.userName }) } + if(this.form.drawPassword) { + sessionStorage.setItem('nomCurrentSettlePassword', this.form.drawPassword) + } } autoPlay2(parentId, this.form, this.myTable2, this.myTable, cardArr, callback) }, diff --git a/src/pages/manage/list/personal/currentAccount/withdrawal.vue b/src/pages/manage/list/personal/currentAccount/withdrawal.vue index 6b0314e..79ee071 100644 --- a/src/pages/manage/list/personal/currentAccount/withdrawal.vue +++ b/src/pages/manage/list/personal/currentAccount/withdrawal.vue @@ -169,17 +169,18 @@ export default{ this.cardNumberJudge = true // console.log(list[i].emptyTwo) } //卡号 - if (list[i].answerId == '86') {this.form.userName = list[i].emptyTwo} //客户姓名 - if (list[i].answerId == '87') {this.form.currency = list[i].emptyTwo} //币种 - if (list[i].answerId == '88') {this.form.goldLogo = list[i].emptyTwo} //钞汇标识 - if (list[i].answerId == '89') {this.form.money = list[i].emptyTwo} //金额 - if (list[i].answerId == '90') {this.form.chargeWay = list[i].emptyTwo} //支取方式 + else if (list[i].answerId == '86') {this.form.userName = list[i].emptyTwo} //客户姓名 + else if (list[i].answerId == '87') {this.form.currency = list[i].emptyTwo} //币种 + else if (list[i].answerId == '88') {this.form.goldLogo = list[i].emptyTwo} //钞汇标识 + else if (list[i].answerId == '89') {this.form.money = list[i].emptyTwo} //金额 + else if (list[i].answerId == '90') {this.form.chargeWay = list[i].emptyTwo} //支取方式 // if (list[i].answerId == '91') {sessionStorage.setItem('nomCurrentWithdrawalPassword', list[i].emptyTwo)} //支取密码 - if (list[i].answerId == '91') { + else if (list[i].answerId == '91') { this.form.drawPassword = list[i].emptyTwo + sessionStorage.setItem('nomCurrentWithdrawalPassword', list[i].emptyTwo) } - if (list[i].answerId == '92') {this.form.serviceCharge = list[i].emptyTwo} //手续费 - if (list[i].answerId == '93') {this.form.remark = list[i].emptyTwo} //摘要 + else if (list[i].answerId == '92') {this.form.serviceCharge = list[i].emptyTwo} //手续费 + else if (list[i].answerId == '93') {this.form.remark = list[i].emptyTwo} //摘要 } } }).catch((error)=>{ @@ -200,7 +201,7 @@ export default{ let formList = []; // 验证通过逻辑写在这 // if (nomCurrentWithdrawalCards && nomCurrentWithdrawalCards.length > 0 && nomCurrentWithdrawalPasswords){ - if (this.form.drawPassword && this.form.cardNumber){ + if (this.cardNumberJudge && this.form.cardNumber){ // formList.push({"answerId":85,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalCards, "operationIds": "285,287,5,26,57,64,85","type": ""})// 卡号 formList.push({"answerId":85,"emptyOne": "", "emptyTwo": this.form.cardNumber, "operationIds": "285,287,5,26,57,64,85","type": ""}) // formList.push({"answerId":91,"emptyOne": "", "emptyTwo": nomCurrentWithdrawalPassword, "operationIds": "285,287,5,26,57,64,91","type": ""}) diff --git a/src/pages/manage/list/personal/timeDeposit/openAccount.vue b/src/pages/manage/list/personal/timeDeposit/openAccount.vue index 5d9d61d..3f5a6a9 100644 --- a/src/pages/manage/list/personal/timeDeposit/openAccount.vue +++ b/src/pages/manage/list/personal/timeDeposit/openAccount.vue @@ -250,6 +250,9 @@ export default{ if(this.form.voucherNumber) { this.cardNumberJudge = true } + if(this.form.drawPassword) { + sessionStorage.setItem('nomtimeOpenAccountPassword', this.form.drawPassword) + } } autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)