Commit 95b6ebeb authored by liudong1993's avatar liudong1993

1 酒店制单控制

parent 407fccc7
...@@ -2197,18 +2197,18 @@ import SpecialList from '../SalesModule/SpecialList.vue'; ...@@ -2197,18 +2197,18 @@ import SpecialList from '../SalesModule/SpecialList.vue';
confirmMsg.push(this.$t('objFill.chongqizdssfblts')); confirmMsg.push(this.$t('objFill.chongqizdssfblts'));
} }
if (this.msg.HelpBranchId > -1) { // if (this.msg.HelpBranchId > -1) {
let that = this // let that = this
let brandName = this.$t('objFill.querenypu'); // let brandName = this.$t('objFill.querenypu');
this.companyList.forEach(item => { // this.companyList.forEach(item => {
if (item.Id == this.msg.HelpBranchId) { // if (item.Id == this.msg.HelpBranchId) {
brandName += item.BName; // brandName += item.BName;
} // }
}); // });
brandName += (this.$route.query.Type == 1 ? this.$t('objFill.daishou') : this.$t('objFill.daifu')) + this.$t( // brandName += (this.$route.query.Type == 1 ? this.$t('objFill.daishou') : this.$t('objFill.daifu')) + this.$t(
'objFill.cibikuanxianbmbh'); // 'objFill.cibikuanxianbmbh');
confirmMsg.push(brandName); // confirmMsg.push(brandName);
} // }
if (confirmMsg && confirmMsg.length > 0) { if (confirmMsg && confirmMsg.length > 0) {
let title = z ? this.$t('fnc.zancun') : this.$t('fnc.tijiao') let title = z ? this.$t('fnc.zancun') : this.$t('fnc.tijiao')
const h = this.$createElement const h = this.$createElement
...@@ -2256,16 +2256,6 @@ import SpecialList from '../SalesModule/SpecialList.vue'; ...@@ -2256,16 +2256,6 @@ import SpecialList from '../SalesModule/SpecialList.vue';
} }
}) })
}).catch(() => { }).catch(() => {
if (this.orderObj && (this.orderObj.EduCommissionEmp || this.orderObj.queryObj)) {
location.reload()
this.$router.push({
name: 'leaderReimbursement',
query: {
...this.orderObj.queryObj,
'blank': 'y',
}
});
} else {
this.$router.push({ this.$router.push({
name: 'FinancialDocuments', name: 'FinancialDocuments',
query: { query: {
...@@ -2273,7 +2263,6 @@ import SpecialList from '../SalesModule/SpecialList.vue'; ...@@ -2273,7 +2263,6 @@ import SpecialList from '../SalesModule/SpecialList.vue';
'InPay': this.$route.query.InPay 'InPay': this.$route.query.InPay
} }
}); });
}
}); });
} else { } else {
this.resultCode = res.data.resultCode; this.resultCode = res.data.resultCode;
...@@ -2740,7 +2729,10 @@ import SpecialList from '../SalesModule/SpecialList.vue'; ...@@ -2740,7 +2729,10 @@ import SpecialList from '../SalesModule/SpecialList.vue';
this.apipost('Financial_post_Get', { this.apipost('Financial_post_Get', {
ID: id, ID: id,
TempId: tempId, TempId: tempId,
TCIDList: (this.orderObj && this.orderObj.TCIDList) ? this.orderObj.TCIDList : [] TCIDList: (this.orderObj && this.orderObj.TCIDList) ? this.orderObj.TCIDList : [],
DMCOrderId: this.orderObj && this.orderObj.EduCommissionEmp ? this.orderObj.EduCommissionEmp :"",
OrderSource: this.orderObj && this.orderObj.OrderSource ? this.orderObj.OrderSource :0,
BranchId: this.$route.query.companyID
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
......
...@@ -291,8 +291,8 @@ ...@@ -291,8 +291,8 @@
@click="goUrl('roomSure',subItem,dayItem.DayStr,'订房管理')" @click="goUrl('roomSure',subItem,dayItem.DayStr,'订房管理')"
style="cursor:pointer;text-decoration:underline;" style="cursor:pointer;text-decoration:underline;"
:class="subItem.InventoryType==4 ? 'stock1' : 'stock2'">{{$t('hotel.hotel_roomUsed')}}: :class="subItem.InventoryType==4 ? 'stock1' : 'stock2'">{{$t('hotel.hotel_roomUsed')}}:
{{subItem.UseInventory}}</a> {{subItem.UseInventory}} {{(subItem.UseAmount>0?'['+$t('objFill.shanke')+']':'')}}</a>
<span v-else>{{$t('hotel.hotel_roomUsed')}}: {{subItem.UseInventory}}</span> <span v-else>{{$t('hotel.hotel_roomUsed')}}: {{subItem.UseInventory}} {{(subItem.UseAmount>0?'['+$t('objFill.shanke')+']':'')}}</span>
) )
</p> </p>
</div> </div>
......
...@@ -1405,6 +1405,7 @@ ...@@ -1405,6 +1405,7 @@
query: { query: {
"id": obj.TCIDS, "id": obj.TCIDS,
'TCNUM': obj.TCNUMS, 'TCNUM': obj.TCNUMS,
'OutBranchId': obj.OutBranchId,
'flightTotal': obj.TotalSeat, 'flightTotal': obj.TotalSeat,
'GuestNum': obj.OrderGuestNum, 'GuestNum': obj.OrderGuestNum,
'NewCombinationNum': outItem.NewCombinationNum, 'NewCombinationNum': outItem.NewCombinationNum,
......
...@@ -38,11 +38,12 @@ ...@@ -38,11 +38,12 @@
</table> </table>
<p class="teamRevenueExpenditureTitle"> <p class="teamRevenueExpenditureTitle">
{{$t('hotel.hotel')}} {{$t('hotel.hotel')}}
<span class="fr" style="margin-top: -8px;"> <span class="fr" style="margin-top: -8px;" v-if="IsJapanLine==false">
<input type="button" class="normalBtn" :value="$t('objFill.xingzengfk')" @click="goUrl(1,2)" /><input type="button" class="normalBtn" <input type="button" class="normalBtn" :value="$t('objFill.xingzengfk')" @click="goUrl(1,2)" /><input type="button" class="normalBtn"
:value="$t('objFill.xingzengshouk')" @click="goUrl(1,1)" /> :value="$t('objFill.xingzengshouk')" @click="goUrl(1,1)" />
<input type="button" class="normalBtn" :value="$t('objFill.precharge')" @click="isOffset(1,2)" /> <input type="button" class="normalBtn" :value="$t('objFill.precharge')" @click="isOffset(1,2)" />
</span> </span>
<span class="fr" style="margin-top: -8px;" v-else> *酒店请至地接总表订房管理制单</span>
</p> </p>
<table border="0" cellspacing="1" cellpadding="0" class="teamRevenueExpenditureTable"> <table border="0" cellspacing="1" cellpadding="0" class="teamRevenueExpenditureTable">
<tr> <tr>
...@@ -395,7 +396,8 @@ ...@@ -395,7 +396,8 @@
IsPrerealContrast: false, IsPrerealContrast: false,
PrerealContrastMsg:'', PrerealContrastMsg:'',
PrerealContrastOfferId:0, PrerealContrastOfferId:0,
roomZeroNum: 0 roomZeroNum: 0,
IsJapanLine: false
} }
}, },
methods: { methods: {
...@@ -728,6 +730,7 @@ ...@@ -728,6 +730,7 @@
this.getTuanMsg() this.getTuanMsg()
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
if(userInfo.RB_Group_id==2 && this.LineId==14){ if(userInfo.RB_Group_id==2 && this.LineId==14){
this.IsJapanLine=true;//日本线 酒店制单特殊处理
this.getTravelPrerealContrast(); this.getTravelPrerealContrast();
} }
} }
......
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