20240205
luoJunYong.123 3 years ago
parent 50aeeb1548
commit 4cc36ccba3
  1. 2
      src/pages/manage/list/client/consumerClient.vue
  2. 114
      src/pages/manage/list/personal/currentAccount/openAccount.vue
  3. 47533
      src/pages/manage/list/personal/usefulPhrases/openAccount.vue

@ -413,7 +413,7 @@ export default {
needsModule: 'system/needsModule', needsModule: 'system/needsModule',
popId: 'system/popId' popId: 'system/popId'
}) })
}, }
}; };
</script> </script>

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

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save