|
|
@ -63,15 +63,15 @@ |
|
|
|
<p>请刷卡</p> |
|
|
|
<p>请刷卡</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<div v-else> |
|
|
|
<el-input ref="cardNumber" :value="form.cardNumber" @input="(val) => inputListen(val, form, 'cardNumber')"></el-input> |
|
|
|
<el-input ref="cardNumber" :value="form.cardNumber" disabled @input="(val) => inputListen(val, form, 'cardNumber')"></el-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="支取密码" required> |
|
|
|
<el-form-item label="支取密码" required> |
|
|
|
<div v-if='!form.drawPassword' class="idCard" @click="popUps('密码器')"> |
|
|
|
<div v-if='!form.drawPassword' class="idCard" @click="popUps('密码器')"> |
|
|
|
<p>请输入密码</p> |
|
|
|
<p>请输入密码</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div v-else> |
|
|
|
<div v-else @click="popUps('密码器')"> |
|
|
|
<el-input :value="form.drawPassword" disabled ref="drawPassword" type="password"></el-input> |
|
|
|
<el-input :value="form.drawPassword" ref="drawPassword" type="password"></el-input> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
@ -215,16 +215,16 @@ export default { |
|
|
|
userName: '', // 客户姓名 |
|
|
|
userName: '', // 客户姓名 |
|
|
|
goldLogo: '', // 钞汇标识 |
|
|
|
goldLogo: '', // 钞汇标识 |
|
|
|
accountQuality: '', // 账户性质 |
|
|
|
accountQuality: '', // 账户性质 |
|
|
|
accountType: '一类账户', // 账户类型 |
|
|
|
accountType: '', // 账户类型 |
|
|
|
drawWay: '密码', // 支取方式 |
|
|
|
drawWay: '', // 支取方式 |
|
|
|
voucherType: '', // 凭证类型 |
|
|
|
voucherType: '', // 凭证类型 |
|
|
|
accountQualitysTwo: '', // 账户性质2 |
|
|
|
accountQualitysTwo: '', // 账户性质2 |
|
|
|
accountTypesTwo: '二类账户', // 账户类型2 |
|
|
|
accountTypesTwo: '', // 账户类型2 |
|
|
|
drawWaysTwo: '密码', // 支取方式2 |
|
|
|
drawWaysTwo: '', // 支取方式2 |
|
|
|
voucherTypesTwo: '', // 凭证类型2 |
|
|
|
voucherTypesTwo: '', // 凭证类型2 |
|
|
|
accountQualitysThree: '', // 账户性质3 |
|
|
|
accountQualitysThree: '', // 账户性质3 |
|
|
|
accountTypesThree: '三类账户', // 账户类型3 |
|
|
|
accountTypesThree: '', // 账户类型3 |
|
|
|
drawWaysThree: '密码', // 支取方式3 |
|
|
|
drawWaysThree: '', // 支取方式3 |
|
|
|
voucherTypesThree: '', // 凭证类型3 |
|
|
|
voucherTypesThree: '', // 凭证类型3 |
|
|
|
}, |
|
|
|
}, |
|
|
|
formName:{ |
|
|
|
formName:{ |
|
|
@ -339,35 +339,37 @@ export default { |
|
|
|
parentId: '285,287,5,26,57,62' |
|
|
|
parentId: '285,287,5,26,57,62' |
|
|
|
} |
|
|
|
} |
|
|
|
getOperation(param).then((data)=>{ |
|
|
|
getOperation(param).then((data)=>{ |
|
|
|
console.log('need') |
|
|
|
if(data.status == 200) { |
|
|
|
connsole.log(data) |
|
|
|
|
|
|
|
if(data.status.status == 200) { |
|
|
|
|
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
for (var i = 0; i < list.length; i++) { |
|
|
|
for (var i = 0; i < list.length; i++) { |
|
|
|
|
|
|
|
console.log(list[i].emptyTwo) |
|
|
|
if (list[i].answerId == '68') {this.form.userNumber = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '68') {this.form.userNumber = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '69') {this.form.userName = list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '69') {this.form.userName = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '70') {this.form.currency = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '70') {this.form.currency = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '71') {this.form.goldLogo = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '71') {this.form.goldLogo = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '72') {this.form.accountQuality = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '72') {this.form.accountQuality = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '73') {this.form.voucherType = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '73') {this.form.voucherType = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '74') {this.form.accountType = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '74') {this.form.accountType = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '75') { |
|
|
|
else if (list[i].answerId == '75') { |
|
|
|
this.form.cardNumber = list[i].emptyTwo |
|
|
|
this.form.cardNumber = list[i].emptyTwo |
|
|
|
this.cardNumberJudge = true |
|
|
|
this.cardNumberJudge = true |
|
|
|
} |
|
|
|
} |
|
|
|
if (list[i].answerId == '76') {this.form.drawWay = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '76') {this.form.drawWay = list[i].emptyTwo} |
|
|
|
// if (list[i].answerId == '77') {sessionStorage.setItem('accountPasswordAll', list[i].emptyTwo)} |
|
|
|
// else if (list[i].answerId == '77') {sessionStorage.setItem('accountPasswordAll', list[i].emptyTwo)} |
|
|
|
if (list[i].answerId == '77') { |
|
|
|
else if (list[i].answerId == '77') { |
|
|
|
this.form.drawPassword = list[i].emptyTwo |
|
|
|
this.form.drawPassword = list[i].emptyTwo |
|
|
|
|
|
|
|
sessionStorage.setItem('accountPassword', list[i].emptyTwo) |
|
|
|
|
|
|
|
console.log(sessionStorage.getItem('accountPassword')) |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
if (list[i].answerId == '270') {this.form.accountQualitysTwo = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '270') {this.form.accountQualitysTwo = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '271') {this.form.voucherTypesTwo = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '271') {this.form.voucherTypesTwo = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '272') {this.form.accountTypesTwo = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '272') {this.form.accountTypesTwo = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '274') {this.form.drawWaysTwo = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '274') {this.form.drawWaysTwo = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '276') {this.form.accountQualitysThree = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '276') {this.form.accountQualitysThree = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '277') {this.form.voucherTypesThree = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '277') {this.form.voucherTypesThree = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '278') {this.form.accountTypesThree = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '278') {this.form.accountTypesThree = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '280') {this.form.drawWaysThree = +list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '280') {this.form.drawWaysThree = list[i].emptyTwo} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
@ -381,13 +383,11 @@ export default { |
|
|
|
parentId: '285,287,5,25,33' |
|
|
|
parentId: '285,287,5,25,33' |
|
|
|
} |
|
|
|
} |
|
|
|
getOperation(param).then((data)=>{ |
|
|
|
getOperation(param).then((data)=>{ |
|
|
|
console.log(data) |
|
|
|
|
|
|
|
if(data.status == 200) { |
|
|
|
if(data.status == 200) { |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
for (var i = 0; i < list.length; i++) { |
|
|
|
for (var i = 0; i < list.length; i++) { |
|
|
|
if (list[i].answerId == '42') {this.form.userName = list[i].emptyTwo} |
|
|
|
if (list[i].answerId == '42') {this.form.userName = list[i].emptyTwo} |
|
|
|
else if (list[i].answerId == '75') { |
|
|
|
else if (list[i].answerId == '75') { |
|
|
|
console.log(list[i].emptyTwo) |
|
|
|
|
|
|
|
this.form.cardNumber = list[i].emptyTwo |
|
|
|
this.form.cardNumber = list[i].emptyTwo |
|
|
|
this.cardNumberJudge = true |
|
|
|
this.cardNumberJudge = true |
|
|
|
} |
|
|
|
} |
|
|
@ -405,17 +405,19 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
let dataList = []; |
|
|
|
let dataList = []; |
|
|
|
getOperation(param).then((data)=>{ |
|
|
|
getOperation(param).then((data)=>{ |
|
|
|
console.log('what>') |
|
|
|
|
|
|
|
console.log(data) |
|
|
|
|
|
|
|
if(data.status == 200){ |
|
|
|
if(data.status == 200){ |
|
|
|
let list = data.data.judgmentRuleReqs; |
|
|
|
let list = data.data.judgmentRuleReqs; |
|
|
|
for(var i=0;i<list.length;i++){ |
|
|
|
// for(var i=0;i<list.length;i++){ |
|
|
|
dataList.push(list[i]) |
|
|
|
// dataList.push(list[i]) |
|
|
|
|
|
|
|
// } |
|
|
|
|
|
|
|
if(list.length > 0) { |
|
|
|
|
|
|
|
this.cardNumberJudge = true; |
|
|
|
|
|
|
|
this.form.cardNumber = list[0].emptyTwo |
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
dataList = [] |
|
|
|
// dataList = [] |
|
|
|
} |
|
|
|
} |
|
|
|
sessionStorage.setItem('dataList',JSON.stringify(dataList)) |
|
|
|
// sessionStorage.setItem('dataList',JSON.stringify(dataList)) |
|
|
|
}).catch((error)=>{ |
|
|
|
}).catch((error)=>{ |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
@ -494,7 +496,21 @@ export default { |
|
|
|
// } |
|
|
|
// } |
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
this.$refs.form.validate(myValidate(() => { |
|
|
|
// 验证通过逻辑写在这 |
|
|
|
// 验证通过逻辑写在这 |
|
|
|
|
|
|
|
// 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 judgeVisible2 = true |
|
|
|
|
|
|
|
let judgeVisible3 = true |
|
|
|
|
|
|
|
if(this.formTwo) { |
|
|
|
|
|
|
|
judgeVisible2 = this.form.accountTypesTwo && this.form.drawWaysTwo && this.form.voucherTypesTwo |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(this.formThree) { |
|
|
|
|
|
|
|
judgeVisible3 = this.form.accountTypesThree && this.form.drawWaysThree && this.form.voucherTypesThree |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType && this.cardNumberJudge && this.form.drawPassword && judgeVisible2 && judgeVisible3) { |
|
|
|
this.visible = true |
|
|
|
this.visible = true |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
this.$message.error('有必填项未填哦~'); |
|
|
|
|
|
|
|
} |
|
|
|
}, this.$refs)); |
|
|
|
}, this.$refs)); |
|
|
|
}, |
|
|
|
}, |
|
|
|
//确认提交 |
|
|
|
//确认提交 |
|
|
|