|
|
|
@ -90,12 +90,13 @@ export default{ |
|
|
|
|
MyDialog |
|
|
|
|
}, |
|
|
|
|
created() { |
|
|
|
|
if(this.form.depositNumber) { |
|
|
|
|
this.form.depositNumber = '0912' |
|
|
|
|
} |
|
|
|
|
if(sessionStorage.getItem('nomtimeDepositWithdrawalPassword')) { |
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('nomtimeDepositWithdrawalPassword') |
|
|
|
|
} |
|
|
|
|
const { withdrawWay } = this.dataFlow |
|
|
|
|
console.log('withdrawWay---') |
|
|
|
|
console.log(withdrawWay) |
|
|
|
|
if(withdrawWay === 126) { |
|
|
|
|
this.form.interest = 5.75 |
|
|
|
|
this.rules.withdrawAmount[0].required = false |
|
|
|
@ -132,6 +133,7 @@ export default{ |
|
|
|
|
// this.form.withdrawWay = withdrawWay |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.getFormData() |
|
|
|
|
}, |
|
|
|
|
data(){ |
|
|
|
@ -319,6 +321,9 @@ export default{ |
|
|
|
|
// 154: 'nomtimeDepositWithdrawalPassword' |
|
|
|
|
} |
|
|
|
|
const callback = () => { |
|
|
|
|
if(this.form.depositNumber) { |
|
|
|
|
this.form.depositNumber = '0912' |
|
|
|
|
} |
|
|
|
|
// if(this.form.voucherNumber) { |
|
|
|
|
// this.cardNumberJudge = true |
|
|
|
|
// } |
|
|
|
@ -427,10 +432,10 @@ export default{ |
|
|
|
|
this.$router.push('/counter/list/') |
|
|
|
|
}, |
|
|
|
|
submitIt() { |
|
|
|
|
if(!this.form.voucherNumber) { |
|
|
|
|
messageCard() |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
// if(!this.form.voucherNumber) { |
|
|
|
|
// messageCard() |
|
|
|
|
// return |
|
|
|
|
// } |
|
|
|
|
if(!this.form.drawPassword) { |
|
|
|
|
messagePassword() |
|
|
|
|
return |
|
|
|
@ -475,15 +480,15 @@ export default{ |
|
|
|
|
'form.withdrawWay': { |
|
|
|
|
handler(newVal) { |
|
|
|
|
// 这里的数据流withdrawWay纯粹用来判断,因为业务四和五就这个不一样 |
|
|
|
|
const { withdrawWay } = this.dataFlow |
|
|
|
|
if(withdrawWay === 126 && newVal === 126) { |
|
|
|
|
// const { withdrawWay } = this.dataFlow |
|
|
|
|
if(newVal === 126) { |
|
|
|
|
this.form.withdrawAmount = Number(this.form.interest) + Number(this.form.capital) |
|
|
|
|
this.capitalDisabled = true |
|
|
|
|
this.form.interest = 5.75 |
|
|
|
|
this.rules.newVoucherNumber = [] |
|
|
|
|
sessionStorage.setItem('newVoucherNumber', this.form.newVoucherNumber) |
|
|
|
|
this.form.newVoucherNumber = '' |
|
|
|
|
}else if(withdrawWay === 126 && newVal !== 126) { |
|
|
|
|
}else { |
|
|
|
|
if(sessionStorage.getItem('newVoucherNumber')) { |
|
|
|
|
this.form.newVoucherNumber = sessionStorage.getItem('newVoucherNumber') |
|
|
|
|
} |
|
|
|
|