|
|
@ -227,15 +227,9 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
openAccount(){ |
|
|
|
openAccount(){ |
|
|
|
this.count = this.count+1; |
|
|
|
this.count = this.count+1; |
|
|
|
if (this.count > 2){ |
|
|
|
if (this.count > 2){this.count = 2} |
|
|
|
this.count = 2 |
|
|
|
if(this.count == 1){this.formTwo = true} |
|
|
|
} |
|
|
|
if (this.count == 2){this.formThree = true} |
|
|
|
if(this.count == 1){ |
|
|
|
|
|
|
|
this.formTwo = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.count == 2){ |
|
|
|
|
|
|
|
this.formThree = true |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// if(this.second.length){/* 检测已有二级卡是否填写完整 */ |
|
|
|
// if(this.second.length){/* 检测已有二级卡是否填写完整 */ |
|
|
|
// return this.$message('请把已有的二级卡填写完整再执行新增操作!') |
|
|
|
// return this.$message('请把已有的二级卡填写完整再执行新增操作!') |
|
|
|
// for (let i= 0; i< this.second.length; i++) { |
|
|
|
// for (let i= 0; i< this.second.length; i++) { |
|
|
@ -244,7 +238,6 @@ export default { |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
// } |
|
|
|
|
|
|
|
|
|
|
|
// let obj = {}/* 二级卡定义空属性 */ |
|
|
|
// let obj = {}/* 二级卡定义空属性 */ |
|
|
|
// this.second.push(obj)`` |
|
|
|
// this.second.push(obj)`` |
|
|
|
}, |
|
|
|
}, |
|
|
@ -255,7 +248,12 @@ export default { |
|
|
|
//确认提交 |
|
|
|
//确认提交 |
|
|
|
popSure(){ |
|
|
|
popSure(){ |
|
|
|
this.visible = false |
|
|
|
this.visible = false |
|
|
|
let formList = []; |
|
|
|
let ruleReqs = sessionStorage.getItem('ruleReqs') |
|
|
|
|
|
|
|
let formList = JSON.parse(ruleReqs); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let formExternalData = sessionStorage.getItem('formExternalData') |
|
|
|
|
|
|
|
let formExternalDataList = JSON.parse(formExternalData); |
|
|
|
|
|
|
|
console.log(formExternalDataList.openAccount.voucherNumber) |
|
|
|
if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType || |
|
|
|
if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType || |
|
|
|
(this.formTwo == true && this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo) || |
|
|
|
(this.formTwo == true && this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo) || |
|
|
|
(this.formThree == true && this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree)){ |
|
|
|
(this.formThree == true && this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree)){ |
|
|
@ -278,6 +276,10 @@ export default { |
|
|
|
{"emptyOne": "11", "emptyTwo": this.form.voucherType, "operationIds": "26,57,62,73", "type": "3"} //凭证类型 |
|
|
|
{"emptyOne": "11", "emptyTwo": this.form.voucherType, "operationIds": "26,57,62,73", "type": "3"} //凭证类型 |
|
|
|
) |
|
|
|
) |
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
sessionStorage.setItem('ruleReqs', JSON.stringify(formList)) |
|
|
|
|
|
|
|
this.$message({ |
|
|
|
|
|
|
|
message: '提交成功', |
|
|
|
|
|
|
|
type: '' |
|
|
|
|
|
|
|
}); |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
this.$message.error('有必填项未填哦~'); |
|
|
|
this.$message.error('有必填项未填哦~'); |
|
|
|
} |
|
|
|
} |
|
|
@ -305,10 +307,10 @@ export default { |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
popUp(){ |
|
|
|
popUp(){ |
|
|
|
this.$store.commit('system/changePop',{show:true,text:'刷卡器'}) |
|
|
|
this.$store.commit('system/changePop',{show:true,text:'刷卡器',id:'62'}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
popUps(){ |
|
|
|
popUps(){ |
|
|
|
this.$store.commit('system/changePop',{show:true,text:'密码器'}) |
|
|
|
this.$store.commit('system/changePop',{show:true,text:'密码器',id:'62'}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|