diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 0adbb7a..ba53a39 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -855,9 +855,15 @@ export default { // location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId //测试服 - location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + if(process.env.NODE_ENV === 'development') { + location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId + }else { + location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + } + //本地 // location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId + console.log(process.env.NODE_ENV) }, checkVer() { diff --git a/src/pages/counter/list/index.vue b/src/pages/counter/list/index.vue index 555d723..c2b5c36 100644 --- a/src/pages/counter/list/index.vue +++ b/src/pages/counter/list/index.vue @@ -860,6 +860,8 @@ export default { // } }, created() { + console.log('---') + console.log(process.env.NODE_ENV) if(!sessionStorage.getItem('firstLoad')) { const loading = this.$loading({ lock: true, diff --git a/src/pages/manage/list/personal/timeDeposit/withdrawal.vue b/src/pages/manage/list/personal/timeDeposit/withdrawal.vue index 44a4945..2e88bba 100644 --- a/src/pages/manage/list/personal/timeDeposit/withdrawal.vue +++ b/src/pages/manage/list/personal/timeDeposit/withdrawal.vue @@ -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') }