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',
popId: 'system/popId'
})
},
}
};
</script>

@ -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>

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