Commit 130c718f authored by 黄奎's avatar 黄奎

页面修改

parent 3550912f
...@@ -3,8 +3,14 @@ ...@@ -3,8 +3,14 @@
<div class="query-box" style="border-bottom: none;"> <div class="query-box" style="border-bottom: none;">
<ul> <ul>
<li> <li>
<template v-if="IsOperation != 1">
<input v-if="IsOperation != 1" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" /> <input v-if="IsOperation != 1" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" />
<input v-if="IsOperation != 1" type="button" class="fr normalBtn mb30" value="保存草稿" @click="saveList(0)" /> <input v-if="IsOperation != 1" type="button" class="fr normalBtn mb30" value="保存草稿" @click="saveList(0)" />
</template>
<template v-else>
<span v-if="IsOperation==1" style="color:red;font-size:14px;">已制单,不能在修改!</span>
</template>
<input type="button" class="fr normalBtn mb30" style="display:none;" value="保存" @click="saveList(1)" />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -185,7 +191,7 @@ ...@@ -185,7 +191,7 @@
flightTotal: 0, flightTotal: 0,
GuestNum: 0, GuestNum: 0,
loading: false, loading: false,
IsOperation:'', IsOperation: '',
}; };
}, },
methods: { methods: {
...@@ -245,10 +251,9 @@ ...@@ -245,10 +251,9 @@
item.DiningSummaryList.forEach(x => { item.DiningSummaryList.forEach(x => {
x.DiningReserveType = x.DiningReserveType.toString(); x.DiningReserveType = x.DiningReserveType.toString();
this.calculationPrice(x); this.calculationPrice(x);
var str=x.NewDiningName; var str = x.NewDiningName;
if(x.RealName) if (x.RealName) {
{ str = x.RealName;
str=x.RealName;
} }
item.DinnerList.push({ item.DinnerList.push({
RealName: str, RealName: str,
...@@ -331,8 +336,8 @@ ...@@ -331,8 +336,8 @@
if (subItem.NewDiningID == x.ID) { if (subItem.NewDiningID == x.ID) {
subItem.Address = x.Address; subItem.Address = x.Address;
subItem.Tel = x.Tel; subItem.Tel = x.Tel;
subItem.PayStyle=x.PayStyle; subItem.PayStyle = x.PayStyle;
subItem.PayStyleExt=x.PayStyle; subItem.PayStyleExt = x.PayStyle;
} }
}) })
}, },
......
...@@ -989,7 +989,7 @@ ...@@ -989,7 +989,7 @@
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.TeamHotelList = res.data.data; this.TeamHotelList = res.data.data;
console.log("TeamHotelList", this.TeamHotelList); //console.log("TeamHotelList", this.TeamHotelList);
} 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