|
|
|
@ -19,16 +19,18 @@ |
|
|
|
|
<el-form-item label="客户姓名" prop="userName"> |
|
|
|
|
<el-input :value="form.userName" disabled @input="(val) => checkName(val, form, 'userName')" ref="userName"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<!-- <el-form-item label="钞汇标识" prop="goldLogo" disabled> |
|
|
|
|
<el-form-item label="钞汇标识" prop="goldLogo"> |
|
|
|
|
<el-select v-model="form.goldLogo" @focus="getSubjectInfoData('9')" placeholder="请选择" ref="goldLogo"> |
|
|
|
|
<el-option v-for="item in goldLogoSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
<el-form-item label="钞汇标识" prop="goldLogo" disabled> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<!-- <el-form-item label="钞汇标识" prop="goldLogo" disabled> |
|
|
|
|
<el-select v-model="form.goldLogo" disabled placeholder="请选择" ref="goldLogo"> |
|
|
|
|
<el-option label="钞户" value="钞户"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
</el-form> |
|
|
|
|
</el-row> |
|
|
|
@ -37,13 +39,13 @@ |
|
|
|
|
<el-form ref="form1" :model="form" label-width="120px"> |
|
|
|
|
<el-col :span="10" :offset="2"> |
|
|
|
|
<el-form-item label="账户性质"> |
|
|
|
|
<el-select v-model="form.accountQuality" @focus="getSubjectInfoData('10')" placeholder="请选择" ref="accountQuality" disabled> |
|
|
|
|
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option> |
|
|
|
|
<el-select v-model="form.accountQuality" @focus="getSubjectInfoData('10')" placeholder="请选择" ref="accountQuality"> |
|
|
|
|
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="账户类型" prop="accountType"> |
|
|
|
|
<el-select v-model="form.accountType" @focus="getSubjectInfoData('12')" placeholder="请选择" ref="accountType"> |
|
|
|
|
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option> |
|
|
|
|
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="支取方式" prop="drawWay"> |
|
|
|
@ -55,8 +57,8 @@ |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item label="凭证类型" prop="voucherType" disabled> |
|
|
|
|
<el-select v-model="form.voucherType" @focus="getSubjectInfoData('11')" placeholder="请选择" ref="voucherType" disabled> |
|
|
|
|
<el-form-item label="凭证类型" prop="voucherType"> |
|
|
|
|
<el-select v-model="form.voucherType" @focus="getSubjectInfoData('11')" placeholder="请选择" ref="voucherType"> |
|
|
|
|
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option> |
|
|
|
|
|
|
|
|
|
</el-select> |
|
|
|
@ -241,19 +243,19 @@ export default { |
|
|
|
|
userNumber: '', // 客户号 |
|
|
|
|
currency: 'CNY人民币', // 币种 |
|
|
|
|
userName: '', // 客户姓名 |
|
|
|
|
goldLogo: '钞户', // 钞汇标识 |
|
|
|
|
accountQuality: '个人结算户', // 账户性质 |
|
|
|
|
goldLogo: '', // 钞汇标识 |
|
|
|
|
accountQuality: '', // 账户性质 |
|
|
|
|
accountType: '', // 账户类型 |
|
|
|
|
drawWay: '', // 支取方式 |
|
|
|
|
voucherType: 'IC卡', // 凭证类型 |
|
|
|
|
accountQualitysTwo: '个人结算户', // 账户性质2 |
|
|
|
|
voucherType: '', // 凭证类型 |
|
|
|
|
accountQualitysTwo: '', // 账户性质2 |
|
|
|
|
accountTypesTwo: '', // 账户类型2 |
|
|
|
|
drawWaysTwo: '', // 支取方式2 |
|
|
|
|
voucherTypesTwo: 'IC卡', // 凭证类型2 |
|
|
|
|
accountQualitysThree: '个人结算户', // 账户性质3 |
|
|
|
|
voucherTypesTwo: '', // 凭证类型2 |
|
|
|
|
accountQualitysThree: '', // 账户性质3 |
|
|
|
|
accountTypesThree: '', // 账户类型3 |
|
|
|
|
drawWaysThree: '', // 支取方式3 |
|
|
|
|
voucherTypesThree: 'IC卡', // 凭证类型3 |
|
|
|
|
voucherTypesThree: '', // 凭证类型3 |
|
|
|
|
}, |
|
|
|
|
formName:{ |
|
|
|
|
cardNumber: '卡号', // |
|
|
|
@ -309,6 +311,20 @@ export default { |
|
|
|
|
trigger: 'blur' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
voucherTypesTwo: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
|
message: '请输入凭证类型2', |
|
|
|
|
trigger: 'blur' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
voucherTypesThree: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
|
message: '请输入凭证类型3', |
|
|
|
|
trigger: 'blur' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
drawWay: [ |
|
|
|
|
{ |
|
|
|
|
required: true, |
|
|
|
@ -363,8 +379,6 @@ export default { |
|
|
|
|
// 无缓存的话密码出不来 |
|
|
|
|
if(sessionStorage.getItem('accountPassword')) { |
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('accountPassword') |
|
|
|
|
console.log('drawPassword') |
|
|
|
|
console.log(this.form.drawPassword) |
|
|
|
|
} |
|
|
|
|
if(sessionStorage.getItem('accountPasswordTwo')) { |
|
|
|
|
this.form.drawPassword2 = sessionStorage.getItem('accountPasswordTwo') |
|
|
|
@ -374,6 +388,7 @@ export default { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.getOptionsList() |
|
|
|
|
|
|
|
|
|
}else { |
|
|
|
|
this.isNeedBefore = true |
|
|
|
|
this.needBefore = this.needsModule(moduleName) |
|
|
|
@ -405,38 +420,37 @@ export default { |
|
|
|
|
if(data.status == 200) { |
|
|
|
|
var list = data.data.judgmentRuleReqs |
|
|
|
|
for (var i = 0; i < list.length; i++) { |
|
|
|
|
console.log('kao?' + i) |
|
|
|
|
if (list[i].answerId == '68') {this.form.userNumber = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '69') {this.form.userName = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '70') {this.form.currency = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '71') {this.form.goldLogo = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '72') {this.form.accountQuality = list[i].emptyTwo} |
|
|
|
|
// else if (list[i].answerId == '73') {this.form.voucherType = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '73') {this.form.voucherType = 'IC卡'} |
|
|
|
|
else if (list[i].answerId == '74') {this.form.accountType = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '71') { |
|
|
|
|
this.form.goldLogo = +list[i].emptyTwo |
|
|
|
|
} |
|
|
|
|
else if (list[i].answerId == '72') {this.form.accountQuality = +list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '73') {this.form.voucherType = +list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '74') {this.form.accountType = +list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '75') { |
|
|
|
|
this.form.cardNumber = list[i].emptyTwo |
|
|
|
|
this.cardNumberJudge = true |
|
|
|
|
} |
|
|
|
|
else if (list[i].answerId == '76') {this.form.drawWay = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '76') {this.form.drawWay = +list[i].emptyTwo} |
|
|
|
|
// else if (list[i].answerId == '77') {sessionStorage.setItem('accountPasswordAll', list[i].emptyTwo)} |
|
|
|
|
else if (list[i].answerId == '77') { |
|
|
|
|
this.form.drawPassword = list[i].emptyTwo |
|
|
|
|
} |
|
|
|
|
else if (list[i].answerId == '270') {this.form.accountQualitysTwo = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '271') {this.form.voucherTypesTwo = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '272') {this.form.accountTypesTwo = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '274') {this.form.drawWaysTwo = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '276') {this.form.accountQualitysThree = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '277') {this.form.voucherTypesThree = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '278') {this.form.accountTypesThree = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '280') {this.form.drawWaysThree = list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '270') { |
|
|
|
|
this.form.accountQualitysTwo = +list[i].emptyTwo |
|
|
|
|
} |
|
|
|
|
else if (list[i].answerId == '271') {this.form.voucherTypesTwo = +list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '272') {this.form.accountTypesTwo = +list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '274') {this.form.drawWaysTwo = +list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '276') {this.form.accountQualitysThree = +list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '277') {this.form.voucherTypesThree = +list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '278') {this.form.accountTypesThree = +list[i].emptyTwo} |
|
|
|
|
else if (list[i].answerId == '280') {this.form.drawWaysThree = +list[i].emptyTwo} |
|
|
|
|
} |
|
|
|
|
console.log('kao?') |
|
|
|
|
if(sessionStorage.getItem('accountPassword')) { |
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('accountPassword') |
|
|
|
|
console.log('drawPassword') |
|
|
|
|
console.log(this.form.drawPassword) |
|
|
|
|
} |
|
|
|
|
if(sessionStorage.getItem('accountPasswordTwo')) { |
|
|
|
|
this.form.drawPassword2 = sessionStorage.getItem('accountPasswordTwo') |
|
|
|
@ -470,8 +484,6 @@ export default { |
|
|
|
|
|
|
|
|
|
if(sessionStorage.getItem('accountPassword')) { |
|
|
|
|
this.form.drawPassword = sessionStorage.getItem('accountPassword') |
|
|
|
|
console.log('drawPassword') |
|
|
|
|
console.log(this.form.drawPassword) |
|
|
|
|
} |
|
|
|
|
if(sessionStorage.getItem('accountPasswordTwo')) { |
|
|
|
|
this.form.drawPassword2 = sessionStorage.getItem('accountPasswordTwo') |
|
|
|
@ -514,7 +526,9 @@ export default { |
|
|
|
|
} |
|
|
|
|
getSubjectInfo(params).then((data)=>{ |
|
|
|
|
if(data.status == 200){ |
|
|
|
|
data.data.items; |
|
|
|
|
console.log('dataA ') |
|
|
|
|
console.log(data) |
|
|
|
|
// data.data.items; |
|
|
|
|
this.num = this.num+1 |
|
|
|
|
if(this.num == 6){ |
|
|
|
|
this.getOperationData() |
|
|
|
@ -524,18 +538,18 @@ export default { |
|
|
|
|
if (item == '8'){ |
|
|
|
|
this.currencySelectList = data.data.items; |
|
|
|
|
}else if (item == '9'){ |
|
|
|
|
// this.goldLogoSelectList = data.data.items; |
|
|
|
|
// this.form.goldLogo = this.goldLogoSelectList[0].itemId |
|
|
|
|
this.form.goldLogo = '钞户' |
|
|
|
|
this.goldLogoSelectList = data.data.items; |
|
|
|
|
this.form.goldLogo = +this.goldLogoSelectList[0].itemId |
|
|
|
|
}else if (item == '10'){ |
|
|
|
|
// this.accountQualitySelectList = data.data.items; |
|
|
|
|
// console.log(this.accountQualitySelectList) |
|
|
|
|
// this.form.accountQuality = this.accountQualitySelectList[0].itemId |
|
|
|
|
this.form.accountQuality = '个人接算户'; |
|
|
|
|
this.accountQualitySelectList = data.data.items; |
|
|
|
|
if(this.accountQualitySelectList.length > 0){ |
|
|
|
|
console.log(this.accountQualitySelectList[0].itemId) |
|
|
|
|
this.form.accountQuality = this.accountQualitySelectList[0].itemId |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}else if (item == '11'){ |
|
|
|
|
// this.voucherTypeSelectList = data.data.items; |
|
|
|
|
// this.form.voucherType = this.voucherTypeSelectList[0].itemId |
|
|
|
|
this.form.voucherType = 'IC卡' |
|
|
|
|
this.voucherTypeSelectList = data.data.items; |
|
|
|
|
this.form.voucherType = +this.voucherTypeSelectList[0].itemId |
|
|
|
|
}else if (item == '12'){ |
|
|
|
|
this.accountTypeSelectList = data.data.items; |
|
|
|
|
}else if (item == '13'){ |
|
|
|
@ -799,7 +813,7 @@ export default { |
|
|
|
|
idCardNumber: 'system/idCardNumber', |
|
|
|
|
inMyWork: 'system/inMyWork' |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
</script> |
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|