diff --git a/src/pages/manage/list/personal/currentAccount/openAccount.vue b/src/pages/manage/list/personal/currentAccount/openAccount.vue
index e79386a..61d9f80 100644
--- a/src/pages/manage/list/personal/currentAccount/openAccount.vue
+++ b/src/pages/manage/list/personal/currentAccount/openAccount.vue
@@ -50,16 +50,15 @@
-
-
-
+
+
-
+
@@ -526,9 +525,6 @@ export default {
}
getSubjectInfo(params).then((data)=>{
if(data.status == 200){
- console.log('dataA ')
- console.log(data)
- // data.data.items;
this.num = this.num+1
if(this.num == 6){
this.getOperationData()
@@ -542,18 +538,18 @@ export default {
this.form.goldLogo = +this.goldLogoSelectList[0].itemId
}else if (item == '10'){
this.accountQualitySelectList = data.data.items;
- if(this.accountQualitySelectList.length > 0){
- console.log(this.accountQualitySelectList[0].itemId)
- this.form.accountQuality = 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
}else if (item == '12'){
this.accountTypeSelectList = data.data.items;
+ this.form.accountType = this.accountTypeSelectList[0].itemId
}else if (item == '13'){
this.drawWaySelectList = data.data.items;
+ this.form.drawWay = this.drawWaySelectList[0].itemId
}
}
}).catch((error)=>{
diff --git a/src/store/modules/system.js b/src/store/modules/system.js
index f07bc68..8aa596a 100644
--- a/src/store/modules/system.js
+++ b/src/store/modules/system.js
@@ -995,7 +995,7 @@ const sealArray = [/* 印章盒物品默认排序 */
]
import { Message } from 'element-ui';
-import { addOperation } from '@/api/http';
+import { addOperation, getSubjectInfo } from '@/api/http';
export default {
namespaced: true,
state: {/* 管理柜台状态 */
@@ -1943,6 +1943,39 @@ export default {
],
},
mutations: {
+ getOptionsList(){
+ for(var item=8;item<14;item++){
+ let params= {
+ subject_id:item
+ }
+ getSubjectInfo(params).then((data)=>{
+ if(data.status == 200){
+ this.selectList = data.data.items;
+ if (item == '8'){
+ this.currencySelectList = data.data.items;
+ }else if (item == '9'){
+ this.goldLogoSelectList = data.data.items;
+ this.form.goldLogo = +this.goldLogoSelectList[0].itemId
+ }else if (item == '10'){
+ this.accountQualitySelectList = data.data.items;
+ this.form.accountQuality = this.accountQualitySelectList[0].itemId
+
+ }else if (item == '11'){
+ this.voucherTypeSelectList = data.data.items;
+ this.form.voucherType = +this.voucherTypeSelectList[0].itemId
+ }else if (item == '12'){
+ this.accountTypeSelectList = data.data.items;
+ this.form.accountType = this.accountTypeSelectList[0].itemId
+ }else if (item == '13'){
+ this.drawWaySelectList = data.data.items;
+ this.form.drawWay = this.drawWaySelectList[0].itemId
+ }
+ }
+ }).catch((error)=>{
+ })
+ this.getSubjectInfoData(i)
+ }
+ },
setPopId(state, id) {
state.id = id
},