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