diff --git a/src/pages/manage/list/client/consumerClient.vue b/src/pages/manage/list/client/consumerClient.vue
index 67a4812..e8995b0 100644
--- a/src/pages/manage/list/client/consumerClient.vue
+++ b/src/pages/manage/list/client/consumerClient.vue
@@ -413,7 +413,7 @@ export default {
needsModule: 'system/needsModule',
popId: 'system/popId'
})
- },
+ }
};
diff --git a/src/pages/manage/list/personal/currentAccount/openAccount.vue b/src/pages/manage/list/personal/currentAccount/openAccount.vue
index dc1f154..e79386a 100644
--- a/src/pages/manage/list/personal/currentAccount/openAccount.vue
+++ b/src/pages/manage/list/personal/currentAccount/openAccount.vue
@@ -19,16 +19,18 @@
checkName(val, form, 'userName')" ref="userName">
-
-
+
+
+
+
@@ -37,13 +39,13 @@
-
-
+
+
-
+
@@ -55,8 +57,8 @@
-
-
+
+
@@ -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'
})
- }
+ },
};