|
|
|
@ -277,33 +277,38 @@ export default { |
|
|
|
|
}else{ |
|
|
|
|
formList = [] |
|
|
|
|
} |
|
|
|
|
let formExternalData = sessionStorage.getItem('formExternalData') |
|
|
|
|
let formExternalDataList = JSON.parse(formExternalData); |
|
|
|
|
let voucherNumber = [] |
|
|
|
|
let paymentCode = ''; |
|
|
|
|
if (formExternalDataList){ |
|
|
|
|
voucherNumber = formExternalDataList.openAccount.voucherNumber |
|
|
|
|
paymentCode = formExternalDataList.openAccount.paymentCode |
|
|
|
|
} |
|
|
|
|
if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType && voucherNumber.length && paymentCode || |
|
|
|
|
(this.formTwo == true && this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo) || |
|
|
|
|
(this.formThree == true && this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree)){ |
|
|
|
|
let formDataAccountVoucher = sessionStorage.getItem('formDataAccountVoucher') |
|
|
|
|
let formDataAccountPassword = sessionStorage.getItem('formDataAccountPassword') |
|
|
|
|
let formExternalDataList = JSON.parse(formDataAccountVoucher); |
|
|
|
|
console.log(formExternalDataList) |
|
|
|
|
console.log(formDataAccountPassword) |
|
|
|
|
let voucherNumber = formExternalDataList |
|
|
|
|
let paymentCode = formDataAccountPassword; |
|
|
|
|
if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType && voucherNumber.length && paymentCode){ |
|
|
|
|
for (var i=0;i<voucherNumber.length;i++){ |
|
|
|
|
formList.push({"emptyOne": "", "emptyTwo": "", "operationIds": "0,5,26,57,62,75,"+voucherNumber[i].id,"type": ""}) |
|
|
|
|
} |
|
|
|
|
formList.push( |
|
|
|
|
{"emptyOne": "17", "emptyTwo": paymentCode, "operationIds": "0,5,26,57,62,77", "type": "3"},//支取密码 |
|
|
|
|
) |
|
|
|
|
if(this.formTwo == false || this.formTwo == true && (this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo)){ |
|
|
|
|
if (this.form.accountTypesTwo){formList.push({"emptyOne": "12", "emptyTwo": this.form.accountTypesTwo, "operationIds": "0,5,26,57,62,272", "type": "1"})}//账户类型2 |
|
|
|
|
if (this.form.drawWaysTwo){formList.push({"emptyOne": "13", "emptyTwo": this.form.drawWaysTwo, "operationIds": "0,5,26,57,62,274", "type": "1"})} //支取方式2 |
|
|
|
|
if (this.form.voucherTypesTwo){formList.push({"emptyOne": "11", "emptyTwo": this.form.voucherTypesTwo, "operationIds": "0,5,26,57,62,271", "type": "1"})} //凭证类型2 |
|
|
|
|
}else{ |
|
|
|
|
this.$message.error('有必填项未填哦~'); |
|
|
|
|
} |
|
|
|
|
if(this.formThree == false || this.formThree == true && (this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree)){ |
|
|
|
|
if (this.form.accountTypesThree){formList.push({"emptyOne": "12", "emptyTwo": this.form.accountTypesThree, "operationIds": "0,5,26,57,62,278", "type": "1"})}//账户类型3 |
|
|
|
|
if (this.form.drawWaysThree){formList.push({"emptyOne": "13", "emptyTwo": this.form.drawWaysThree, "operationIds": "0,5,26,57,62,280", "type": "1"})}//支取方式3 |
|
|
|
|
if (this.form.voucherTypesThree){formList.push({"emptyOne": "11", "emptyTwo": this.form.voucherTypesThree, "operationIds": "0,5,26,57,62,277", "type": "1"})}//凭证类型3 |
|
|
|
|
}else{ |
|
|
|
|
this.$message.error('有必填项未填哦~'); |
|
|
|
|
} |
|
|
|
|
if (this.form.userNumber){formList.push({"emptyOne": "6", "emptyTwo": this.form.userNumber, "operationIds": "0,5,26,57,62,68","type": "3"})}//客户号 |
|
|
|
|
if (this.form.accountQuality){formList.push({"emptyOne": "10", "emptyTwo": this.form.accountQuality, "operationIds": "0,5,26,57,62,72", "type": "1"})}//账户性质1 |
|
|
|
|
if (this.form.accountQualitysTwo){formList.push({"emptyOne": "10", "emptyTwo": this.form.accountQualitysTwo, "operationIds": "0,5,26,57,62,270", "type": "1"})}//账户性质2 |
|
|
|
|
if (this.form.accountTypesTwo){formList.push({"emptyOne": "12", "emptyTwo": this.form.accountTypesTwo, "operationIds": "0,5,26,57,62,272", "type": "1"})}//账户类型2 |
|
|
|
|
if (this.form.drawWaysTwo){formList.push({"emptyOne": "13", "emptyTwo": this.form.drawWaysTwo, "operationIds": "0,5,26,57,62,274", "type": "1"})} //支取方式2 |
|
|
|
|
if (this.form.voucherTypesTwo){formList.push({"emptyOne": "11", "emptyTwo": this.form.voucherTypesTwo, "operationIds": "0,5,26,57,62,271", "type": "1"})} //凭证类型2 |
|
|
|
|
if (this.form.accountQualitysThree){formList.push({"emptyOne": "10", "emptyTwo": this.form.accountQualitysThree, "operationIds": "0,5,26,57,62,276", "type": "1"})}//账户性质3 |
|
|
|
|
if (this.form.accountTypesThree){formList.push({"emptyOne": "12", "emptyTwo": this.form.accountTypesThree, "operationIds": "0,5,26,57,62,278", "type": "1"})}//账户类型3 |
|
|
|
|
if (this.form.drawWaysThree){formList.push({"emptyOne": "13", "emptyTwo": this.form.drawWaysThree, "operationIds": "0,5,26,57,62,280", "type": "1"})}//支取方式3 |
|
|
|
|
if (this.form.voucherTypesThree){formList.push({"emptyOne": "11", "emptyTwo": this.form.voucherTypesThree, "operationIds": "0,5,26,57,62,277", "type": "1"})}//凭证类型3 |
|
|
|
|
formList.push( |
|
|
|
|
{"emptyOne": "7", "emptyTwo": this.form.userName, "operationIds": "0,5,26,57,62,69", "type": "3"},//用户名称 |
|
|
|
|
{"emptyOne": "8", "emptyTwo": this.form.currency, "operationIds": "0,5,26,57,62,70", "type": "1"},//币种 |
|
|
|
|