Commit 35442a1f authored by Mac's avatar Mac

新增财务单据的判断

parent 57a99726
...@@ -198,6 +198,10 @@ ...@@ -198,6 +198,10 @@
<el-select v-if='msg.TemplateId===90||msg.TemplateId===91' filterable v-model='msg.IsPublic' placeholder="付款类型" @change="IsPublicChange" class="w135 _border_b_1"> <el-select v-if='msg.TemplateId===90||msg.TemplateId===91' filterable v-model='msg.IsPublic' placeholder="付款类型" @change="IsPublicChange" class="w135 _border_b_1">
<el-option label="虚拟账户" :value='10' :key='10' v-if='msg.TemplateId===90||msg.TemplateId===91'></el-option> <el-option label="虚拟账户" :value='10' :key='10' v-if='msg.TemplateId===90||msg.TemplateId===91'></el-option>
</el-select>
<el-select v-else-if='msg.TemplateId===193' filterable v-model='msg.IsPublic' placeholder="付款类型" @change="IsPublicChange" class="w135 _border_b_1">
<el-option label="地接虚拟账户" :value='6' :key='6' v-if='msg.TemplateId===193'></el-option>
</el-select> </el-select>
<el-select v-else filterable v-model='msg.IsPublic' placeholder="付款类型" @change="IsPublicChange" class="w135 _border_b_1"> <el-select v-else filterable v-model='msg.IsPublic' placeholder="付款类型" @change="IsPublicChange" class="w135 _border_b_1">
<el-option :label="$t('fnc.gongzhang')" :value='1' :key='1' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option> <el-option :label="$t('fnc.gongzhang')" :value='1' :key='1' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
......
...@@ -1107,11 +1107,26 @@ ...@@ -1107,11 +1107,26 @@
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
data.forEach(x => { let list= []
if(this.$route.query.id==192){//如果流程等于192 只显示地接部专户 10月8号新增
data.forEach(x=>{
if(x.Alias=='国内地接专户'){
x.allName = x.BackNo + "(" + x.Alias + ")"; x.allName = x.BackNo + "(" + x.Alias + ")";
x.Name = x.Alias; x.Name = x.Alias;
list.push(x)
}
}) })
this.accountList = data; }else{//如果不是192的情况不显示 国内地接专户
console.log(data)
data.forEach(x=>{
if(x.Alias!='国内地接专户'){
x.allName = x.BackNo + "(" + x.Alias + ")";
x.Name = x.Alias;
list.push(x)
}
})
}
this.accountList = list;
if (this.$route.query.edit) { if (this.$route.query.edit) {
this.getAccName(this.msg.BankList[0].AccountId) this.getAccName(this.msg.BankList[0].AccountId)
} }
...@@ -1234,6 +1249,14 @@ ...@@ -1234,6 +1249,14 @@
}) })
} }
}) })
if(this.$route.query.id==192){//如果流程等于192 只显示地接部专户 10月8号新增
newAccList=[]
AccList.forEach(y => {
if ( y.Name == '地接部专户' ) {
newAccList.push(y)
}
})
}
this.AccList = newAccList; this.AccList = newAccList;
} else { } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
......
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