Commit 9311ac0c authored by huangyuanyuan's avatar huangyuanyuan

新增付款单据原路退款

parent f875a2b0
...@@ -207,19 +207,19 @@ ...@@ -207,19 +207,19 @@
<el-option label="原路退款" :value='8' :key='8' v-if='msg.TemplateId===2 || msg.TemplateId===12'></el-option> <el-option label="原路退款" :value='8' :key='8' v-if='msg.TemplateId===2 || msg.TemplateId===12'></el-option>
</el-select> </el-select>
<el-select filterable v-model='msg.ClientType' :placeholder="$t('fnc.khleixing')" @change="financeinfo_post_GetClientAccountList(msg.ClientType)" class="w135 _border_b_1"> <el-select v-if="!showDisable" filterable v-model='msg.ClientType' :placeholder="$t('fnc.khleixing')" @change="financeinfo_post_GetClientAccountList(msg.ClientType)" class="w135 _border_b_1">
<el-option v-for='item in ClientTypeList' <el-option v-for='item in ClientTypeList'
:label='item.Name' :label='item.Name'
:value='item.ID' :value='item.ID'
:key='item.ID'> :key='item.ID'>
</el-option> </el-option>
</el-select> </el-select>
<el-select filterable v-if="msg.ClientType==7" v-model='msg.IsLeader' :placeholder="$t('fnc.khmingcheng')" class="w135 _border_b_1"> <el-select filterable v-if="msg.ClientType==7&&!showDisable" v-model='msg.IsLeader' :placeholder="$t('fnc.khmingcheng')" class="w135 _border_b_1">
<el-option :label='$t("fnc.zslingdui")' :value='1' :key='1'> </el-option> <el-option :label='$t("fnc.zslingdui")' :value='1' :key='1'> </el-option>
<el-option :label='$t("fnc.lslingdui")' :value='0' :key='0'> </el-option> <el-option :label='$t("fnc.lslingdui")' :value='0' :key='0'> </el-option>
</el-select> </el-select>
<template v-if="msg.ClientType==7&&msg.IsPublic!=2&&msg.IsPublic!=3"> <template v-if="msg.ClientType==7&&msg.IsPublic!=2&&msg.IsPublic!=3&&!showDisable">
<el-select v-if="msg.IsLeader==1" filterable v-model='msg.ClientID' :placeholder="$t('fnc.khmingcheng')" @change="GetClientAccountList(msg.ClientID)" class="w135 _border_b_1"> <el-select v-if="msg.IsLeader==1" filterable v-model='msg.ClientID' :placeholder="$t('fnc.khmingcheng')" @change="GetClientAccountList(msg.ClientID)" class="w135 _border_b_1">
<el-option v-for='item in ClientAccountList' <el-option v-for='item in ClientAccountList'
:label='item.Name' :label='item.Name'
:value='item.ID' :value='item.ID'
...@@ -227,8 +227,8 @@ ...@@ -227,8 +227,8 @@
</el-option> </el-option>
</el-select> </el-select>
</template> </template>
<template v-if="msg.ClientType!=7&&msg.IsPublic!=2&&msg.IsPublic!=3"> <template v-if="msg.ClientType!=7&&msg.IsPublic!=2&&msg.IsPublic!=3&&!showDisable">
<el-select filterable v-model='msg.ClientID' :placeholder="$t('fnc.khmingcheng')" @change="GetClientAccountList(msg.ClientID)" class="w135 _border_b_1"> <el-select filterable v-model='msg.ClientID' :placeholder="$t('fnc.khmingcheng')" @change="GetClientAccountList(msg.ClientID)" class="w135 _border_b_1">
<el-option v-for='item in ClientAccountList' <el-option v-for='item in ClientAccountList'
:label='item.Name' :label='item.Name'
:value='item.ID' :value='item.ID'
...@@ -423,7 +423,7 @@ ...@@ -423,7 +423,7 @@
</table> </table>
<div class="rb_top_row _r_mt10"> <div class="rb_top_row _r_mt10">
<template v-for="(item,index) in newAuditList"> <template v-for="(item,index) in newAuditList">
<p> <p :key="index">
{{item.AuditDescription}}:<span class="_r_name" ></span> {{item.AuditDescription}}:<span class="_r_name" ></span>
</p> </p>
</template> </template>
...@@ -673,6 +673,7 @@ export default { ...@@ -673,6 +673,7 @@ export default {
EmployeeId:0, EmployeeId:0,
describeList:[], describeList:[],
isFrompassenger:false, isFrompassenger:false,
showDisable:false,
} }
}, },
methods:{ methods:{
...@@ -682,13 +683,16 @@ export default { ...@@ -682,13 +683,16 @@ export default {
this.msg.detailList.splice(i,1); this.msg.detailList.splice(i,1);
this.$forceUpdate(); this.$forceUpdate();
}, },
IsPublicChange(){ IsPublicChange(val){
// if(this.msg.IsPublic==2||this.msg.IsPublic==3){ this.showDisable=false;
// this.msg.AccountNumber = '';
// }
this.msg.ClientType = ''; this.msg.ClientType = '';
this.msg.ClientID = ''; this.msg.ClientID = '';
this.msg.AccountNumber = ''; this.msg.AccountNumber = '';
this.ClientAccountListS=[];
if(val==8){
this.showDisable=true;
}
}, },
jumpPage(path,obj,type){ //生成单据时连带信息跳转 jumpPage(path,obj,type){ //生成单据时连带信息跳转
if(type==1){ if(type==1){
......
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