Commit d26931ca authored by 黄奎's avatar 黄奎

页面修改

parent f9fd6f5c
...@@ -603,6 +603,7 @@ ...@@ -603,6 +603,7 @@
export default { export default {
data() { data() {
return { return {
LineId: 0,
EditBtn: false, //房餐景点修改权限 EditBtn: false, //房餐景点修改权限
defaultSelectValue: 0, defaultSelectValue: 0,
list: [], list: [],
...@@ -1016,25 +1017,27 @@ ...@@ -1016,25 +1017,27 @@
}) })
totalPrice += obj.ParkFee + obj.CityTax + obj.InTangTax; totalPrice += obj.ParkFee + obj.CityTax + obj.InTangTax;
obj.TotalPrice = totalPrice.toFixed(2); obj.TotalPrice = totalPrice.toFixed(2);
if (currentObj && currentObj.ID > 0) { if (this.LineId == 14) {
//人民币 if (currentObj && currentObj.ID > 0) {
if (currentObj.ID == 1) { //人民币
obj.NewTotalPrice = currentObj.Name + ":" + (totalPrice * jpaObj.PayRate).toFixed(2); if (currentObj.ID == 1) {
} obj.NewTotalPrice = currentObj.Name + ":" + (totalPrice * jpaObj.PayRate).toFixed(2);
//日元 }
else if (currentObj.ID == 3) { //日元
obj.NewTotalPrice = ""; else if (currentObj.ID == 3) {
} else { obj.NewTotalPrice = "";
if (currentObj.CurrentRate > 1) {
obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice * jpaObj.PayRate) / currentObj.CurrentRate)
.toFixed(2);
} else { } else {
obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice * jpaObj.PayRate) * currentObj.CurrentRate) if (currentObj.CurrentRate > 1) {
.toFixed(2); obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice * jpaObj.PayRate) / currentObj.CurrentRate)
.toFixed(2);
} else {
obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice * jpaObj.PayRate) * currentObj.CurrentRate)
.toFixed(2);
}
} }
} else {
obj.NewTotalPrice = "";
} }
} else {
obj.NewTotalPrice = "";
} }
this.$forceUpdate(); this.$forceUpdate();
}, },
...@@ -1090,10 +1093,7 @@ ...@@ -1090,10 +1093,7 @@
} }
}); });
}) })
// if(!isUpload){
// this.Error(str);
// return;
// }
this.loading = true; this.loading = true;
this.apipost('dmcstatistics_get_SetHotelOrder', this.list, res => { this.apipost('dmcstatistics_get_SetHotelOrder', this.list, res => {
this.loading = false; this.loading = false;
...@@ -1146,10 +1146,6 @@ ...@@ -1146,10 +1146,6 @@
} }
}); });
}) })
// if(!isUpload){
// this.Error(str);
// return;
// }
let mag = { let mag = {
TotalList: this.list, TotalList: this.list,
SingleItem: item SingleItem: item
...@@ -1204,6 +1200,9 @@ ...@@ -1204,6 +1200,9 @@
}, },
}, },
mounted() { mounted() {
if (this.$route.query.LineId) {
this.LineId = this.$route.query.LineId;
}
this.GetAuth(); this.GetAuth();
this.getAllCurrency(); this.getAllCurrency();
this.LeaderName = this.$route.query.LeaderName; this.LeaderName = this.$route.query.LeaderName;
......
...@@ -260,6 +260,7 @@ ...@@ -260,6 +260,7 @@
allCurrencyList: [], allCurrencyList: [],
findex: 0, findex: 0,
childIndex: 0, childIndex: 0,
LineId: 0,
}; };
}, },
components: { components: {
...@@ -388,25 +389,28 @@ ...@@ -388,25 +389,28 @@
totalPrice += tempPrice; totalPrice += tempPrice;
}) })
obj.TotalPrice = totalPrice.toFixed(2); obj.TotalPrice = totalPrice.toFixed(2);
if (currentObj && currentObj.ID > 0) { if (this.LineId == 14) {
//人民币 if (currentObj && currentObj.ID > 0) {
if (currentObj.ID == 1) { //人民币
obj.NewTotalPrice = currentObj.Name + ":" + (totalPrice * jpaObj.PayRate).toFixed(2); if (currentObj.ID == 1) {
}
//日元 obj.NewTotalPrice = currentObj.Name + ":" + (totalPrice * jpaObj.PayRate).toFixed(2);
else if (currentObj.ID == 3) { }
obj.NewTotalPrice = ""; //日元
} else { else if (currentObj.ID == 3) {
if (currentObj.CurrentRate > 1) { obj.NewTotalPrice = "";
obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice * jpaObj.PayRate) / currentObj.CurrentRate)
.toFixed(2);
} else { } else {
obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice * jpaObj.PayRate) * currentObj.CurrentRate) if (currentObj.CurrentRate > 1) {
.toFixed(2); obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice * jpaObj.PayRate) / currentObj.CurrentRate)
.toFixed(2);
} else {
obj.NewTotalPrice = currentObj.Name + ":" + ((totalPrice * jpaObj.PayRate) * currentObj.CurrentRate)
.toFixed(2);
}
} }
} else {
obj.NewTotalPrice = "";
} }
} else {
obj.NewTotalPrice = "";
} }
this.$forceUpdate(); this.$forceUpdate();
}, },
...@@ -499,6 +503,9 @@ ...@@ -499,6 +503,9 @@
this.GetAuth(); this.GetAuth();
this.TCNUM = this.$route.query.TCNUM; this.TCNUM = this.$route.query.TCNUM;
this.GuestNum = this.$route.query.GuestNum; this.GuestNum = this.$route.query.GuestNum;
if (this.$route.query.LineId) {
this.LineId = this.$route.query.LineId;
}
this.getList(); this.getList();
this.apipost("financeinfo_post_GetList", {}, res => { this.apipost("financeinfo_post_GetList", {}, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
......
...@@ -283,7 +283,6 @@ ...@@ -283,7 +283,6 @@
</div> </div>
</td> </td>
<td> <td>
<!--"goUrlT('TravelPassengerList2',item.TCID,'旅客名单') @click="goRoomTip()" -->
<div class="fz16 fbold linkspan"> <div class="fz16 fbold linkspan">
<span style="color: #4BCA81;" v-if="item.HouseResult==1"></span> <span style="color: #4BCA81;" v-if="item.HouseResult==1"></span>
<span class="colorE95252" v-else>{{item.HouseResult=='-1'?"x":"O"}}</span> <span class="colorE95252" v-else>{{item.HouseResult=='-1'?"x":"O"}}</span>
...@@ -682,7 +681,6 @@ ...@@ -682,7 +681,6 @@
}, },
methods: { methods: {
goDinnerUrl(obj, outItem) { goDinnerUrl(obj, outItem) {
// if (this.IsEditDinner == 1) {
this.$router.push({ this.$router.push({
name: 'bookDinnerStatisticsDetails', name: 'bookDinnerStatisticsDetails',
query: { query: {
...@@ -695,13 +693,11 @@ ...@@ -695,13 +693,11 @@
'GuideName': obj.GuideName, 'GuideName': obj.GuideName,
'IsCombine': outItem.PriceCommonList.length > 1, 'IsCombine': outItem.PriceCommonList.length > 1,
'NewTCIDs': outItem.TCIDS, 'NewTCIDs': outItem.TCIDS,
'LineId':obj.LineId,
blank: 'y', blank: 'y',
tab: "餐厅详情" tab: "餐厅详情"
} }
}) })
// } else {
// this.Error("请联系地接部操作!");
// }
}, },
getLeaderTypeStr: function (clas) { getLeaderTypeStr: function (clas) {
if (clas == 1) { if (clas == 1) {
...@@ -908,6 +904,7 @@ ...@@ -908,6 +904,7 @@
'GuideName': obj.GuideName, 'GuideName': obj.GuideName,
'IsCombine': outItem.PriceCommonList.length > 1, 'IsCombine': outItem.PriceCommonList.length > 1,
'NewTCIDs': outItem.TCIDS, 'NewTCIDs': outItem.TCIDS,
LineId:obj.LineId,
blank: 'y', blank: 'y',
tab: title tab: title
} }
......
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