Commit 12103a2d authored by qiaoyajun's avatar qiaoyajun

财务单据

parent cf3107cf
...@@ -584,7 +584,8 @@ export default { ...@@ -584,7 +584,8 @@ export default {
IsLeader:1, IsLeader:1,
PayDate:'', PayDate:'',
CallType:0, CallType:0,
Type:0 Type:0,
GuestInfoList:[]
}, },
detailList:{ detailList:{
ID:0, ID:0,
...@@ -869,9 +870,24 @@ export default { ...@@ -869,9 +870,24 @@ export default {
this.msg.detailList.forEach(x=>{ this.msg.detailList.forEach(x=>{
delete x.rate; delete x.rate;
}); });
//旅客名单数据组装
if(this.orderObj!=null&&this.orderObj.OrderSource===10){
console.log("getGuestInfo",this.$store.getters.getGuestInfo)
let guestInfo = this.$store.getters.getGuestInfo;
this.msg.GuestInfoList=[];
if(guestInfo!=null&&guestInfo.length>0){
guestInfo.forEach(t=>{
this.msg.GuestInfoList.push({GuestId:t.guestId,GuestName:t.guestName})
})
}
}
console.log("1234",this.msg);
return false;
this.loading = true; this.loading = true;
this.apipost('Financial_post_Set',this.msg,res=>{ this.apipost('Financial_post_Set',this.msg,res=>{
if(res.data.resultCode==1){ if(res.data.resultCode==1){
//清除旅客名单数据
this.$store.commit('saveGuestInfo',[])
this.$confirm(this.$t('tips.czcgsfjxzhidan'), this.$t('tips.tips'), { this.$confirm(this.$t('tips.czcgsfjxzhidan'), this.$t('tips.tips'), {
confirmButtonText: this.$t('fnc.jxzhidan'), confirmButtonText: this.$t('fnc.jxzhidan'),
cancelButtonText: this.$t('fnc.nothanks'), cancelButtonText: this.$t('fnc.nothanks'),
......
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