Commit a5b86ff0 authored by 黄媛媛's avatar 黄媛媛

update

parent a0338912
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
<el-select v-model='addMsg.AccountClassify' :placeholder="$t('pub.pleaseSel')" @change='changeTitle'> <el-select v-model='addMsg.AccountClassify' :placeholder="$t('pub.pleaseSel')" @change='changeTitle'>
<el-option :label='$t("fnc.yinhang")' value='2' key='2'></el-option> <el-option :label='$t("fnc.yinhang")' value='2' key='2'></el-option>
<el-option :label='$t("ground.xunizhanghu")' value='3' key='3'></el-option> <el-option :label='$t("ground.xunizhanghu")' value='3' key='3'></el-option>
<el-option label='微信支付宝' value='4' key='4'></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
...@@ -38,12 +39,12 @@ ...@@ -38,12 +39,12 @@
<el-input type="text" v-model="addMsg.BankName" :placeholder="$t('ground.liruicbc')"></el-input> <el-input type="text" v-model="addMsg.BankName" :placeholder="$t('ground.liruicbc')"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" v-if='addMsg.AccountClassify!=3' :gutter="35"> <el-col :span="4" v-if='addMsg.AccountClassify!=3 && addMsg.AccountClassify!=4' :gutter="35">
<el-form-item :label="nameA" prop="OpenBankName"> <el-form-item :label="nameA" prop="OpenBankName">
<el-input type="text" v-model="addMsg.OpenBankName" :placeholder="$t('ground.liruzhihang')"></el-input> <el-input type="text" v-model="addMsg.OpenBankName" :placeholder="$t('ground.liruzhihang')"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4" v-if='addMsg.AccountClassify!=3' :gutter="35"> <el-col :span="4" v-if='addMsg.AccountClassify!=3 && addMsg.AccountClassify!=4' :gutter="35">
<el-form-item :label="nameB" prop="AccountHolder"> <el-form-item :label="nameB" prop="AccountHolder">
<el-input type="text" v-model="addMsg.AccountHolder"></el-input> <el-input type="text" v-model="addMsg.AccountHolder"></el-input>
</el-form-item> </el-form-item>
...@@ -83,7 +84,12 @@ ...@@ -83,7 +84,12 @@
<tr v-for="(item,index) in list"> <tr v-for="(item,index) in list">
<td>{{item.OpenBankName}}</td> <td>{{item.OpenBankName}}</td>
<td>{{item.AccountAlias}}</td> <td>{{item.AccountAlias}}</td>
<td>{{item.AccountClassify==1? $t('fnc.a_ptzhanghu') : $t('fnc.a_yhzhanghu')}}</td> <td>
<span v-if="item.AccountClassify==1">{{$t('fnc.a_ptzhanghu')}}</span>
<span v-if="item.AccountClassify==2">银行账户</span>
<span v-if="item.AccountClassify==3">虚拟账户</span>
<span v-if="item.AccountClassify==4">微信支付宝</span>
</td>
<td>{{item.BankName}}</td> <td>{{item.BankName}}</td>
<td>{{item.CardNum}} <td>{{item.CardNum}}
<br/>{{item.AccountHolder}}</td> <br/>{{item.AccountHolder}}</td>
...@@ -199,11 +205,16 @@ ...@@ -199,11 +205,16 @@
this.nameB= this.$t("fnc.khuren") this.nameB= this.$t("fnc.khuren")
this.nameC= this.$t("ground.kahao") this.nameC= this.$t("ground.kahao")
this.nameD= this.$t("fnc.accBming") this.nameD= this.$t("fnc.accBming")
}else{ }else if(this.addMsg.AccountClassify==3){
this.nameA= this.$t("ground.pingtaimingcheng") this.nameA= this.$t("ground.pingtaimingcheng")
this.nameB= this.$t("ground.yonghumingcheng") this.nameB= this.$t("ground.yonghumingcheng")
this.nameC= this.$t("fnc.ptAcc") this.nameC= this.$t("fnc.ptAcc")
this.nameD= this.$t("fnc.accBming") this.nameD= this.$t("fnc.accBming")
}else if(this.addMsg.AccountClassify==4){
this.nameA= this.$t("ground.pingtaimingcheng")
this.nameB= this.$t("ground.yonghumingcheng")
this.nameC= "账号"
this.nameD= "名称"
} }
}, },
getList() { //获取列表数据 getList() { //获取列表数据
...@@ -230,7 +241,7 @@ ...@@ -230,7 +241,7 @@
}, },
addData(){ //添加角色 addData(){ //添加角色
this.addMsg.ObjID=this.$route.query.id; this.addMsg.ObjID=this.$route.query.id;
if(this.addMsg.AccountClassify!='3'){ if(this.addMsg.AccountClassify!='3' && this.addMsg.AccountClassify!='4'){
if(this.addMsg.OpenBankName==''){ if(this.addMsg.OpenBankName==''){
this.$message.error(this.$t('visaT.Pleasefillin')+this.nameA) this.$message.error(this.$t('visaT.Pleasefillin')+this.nameA)
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment