20240205
luoJunYong.123 3 years ago
parent 96565c4503
commit 299e56310f
  1. 35
      src/pages/manage/list/personal/currentAccount/openAccount.vue

@ -38,24 +38,24 @@
<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.itemId" :key="item.itemId"> </el-option>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.options" :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.itemId" :key="item.itemId"> </el-option>
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" prop="drawWay">
<el-select v-model="form.drawWay" @focus="getSubjectInfoData('13')" placeholder="请选择" ref="drawWay">
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
</el-select>
</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-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :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-form-item>
<el-form-item label="凭证号码" required>
@ -86,24 +86,24 @@
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQualitysTwo" @focus="getSubjectInfoData('10')" placeholder="请选择" disabled>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户类型" required>
<el-select v-model="form.accountTypesTwo" @focus="getSubjectInfoData('12')" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" required>
<el-select v-model="form.drawWaysTwo" @focus="getSubjectInfoData('13')" placeholder="请选择">
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" required>
<el-select v-model="form.voucherTypesTwo" @focus="getSubjectInfoData('11')" placeholder="请选择" disabled>
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :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-form-item>
<el-form-item label="凭证号码" required>
@ -127,24 +127,24 @@
<el-col :span="10" :offset="2">
<el-form-item label="账户性质">
<el-select v-model="form.accountQualitysThree" @focus="getSubjectInfoData('10')" placeholder="请选择" disabled>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-option v-for="item in accountQualitySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="账户类型" required>
<el-select v-model="form.accountTypesThree" @focus="getSubjectInfoData('12')" placeholder="请选择">
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-option v-for="item in accountTypeSelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="支取方式" required>
<el-select v-model="form.drawWaysThree" @focus="getSubjectInfoData('13')" placeholder="请选择">
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.itemId" :key="item.itemId"> </el-option>
<el-option v-for="item in drawWaySelectList" :label="item.options" :value="item.options" :key="item.itemId"> </el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="10" :offset="1">
<el-form-item label="凭证类型" @focus="getSubjectInfoData('11')" required>
<el-select v-model="form.voucherTypesThree" placeholder="请选择" disabled>
<el-option v-for="item in voucherTypeSelectList" :label="item.options" :value="item.itemId" :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-form-item>
<el-form-item label="凭证号码" required>
@ -360,7 +360,6 @@ export default {
this.form.drawPassword = list[i].emptyTwo
sessionStorage.setItem('accountPassword', list[i].emptyTwo)
console.log(sessionStorage.getItem('accountPassword'))
}
else if (list[i].answerId == '270') {this.form.accountQualitysTwo = list[i].emptyTwo}
else if (list[i].answerId == '271') {this.form.voucherTypesTwo = list[i].emptyTwo}
@ -443,6 +442,8 @@ export default {
this.form.goldLogo = '钞户'
}else if (item == '10'){
this.accountQualitySelectList = data.data.items;
console.log('暗中观察')
console.log(this.accountQualitySelectList)
this.form.accountQuality = this.accountQualitySelectList[0].itemId
}else if (item == '11'){
this.voucherTypeSelectList = data.data.items;
@ -553,11 +554,6 @@ export default {
let paymentCode = accountPassword;
let paymentCodeTwo = accountPasswordTwo;
let paymentCodeThree = accountPasswordThree;
if(this.form.userName && this.form.currency && this.form.goldLogo && this.form.accountType && this.form.drawWay && this.form.voucherType && voucherNumber.length && paymentCode){
// for (var i=0;i<voucherNumber.length;i++){
// formLists.push({"answerId":voucherNumber[i].id,"emptyOne": "", "emptyTwo": "", "operationIds": "285,287,5,26,57,62,75,"+voucherNumber[i].id,"type": ""})
// }
formLists.push({"answerId":75,"emptyOne": "", "emptyTwo": this.form.cardNumber, "operationIds": "285,287,5,26,57,62,75","type": "3"})
let param= {
parentId: '285,287,5,26,57,62,75',
@ -624,9 +620,6 @@ export default {
});
}).catch((error)=>{
})
}else{
this.$message.error('有必填项未填哦~');
}
},
deleteSecond(){
this.$confirm('此操作将删除该账户类型, 是否继续?', '提示', {

Loading…
Cancel
Save