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

页面修改

parent 3550912f
......@@ -3,8 +3,14 @@
<div class="query-box" style="border-bottom: none;">
<ul>
<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(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>
</ul>
</div>
......@@ -185,7 +191,7 @@
flightTotal: 0,
GuestNum: 0,
loading: false,
IsOperation:'',
IsOperation: '',
};
},
methods: {
......@@ -245,10 +251,9 @@
item.DiningSummaryList.forEach(x => {
x.DiningReserveType = x.DiningReserveType.toString();
this.calculationPrice(x);
var str=x.NewDiningName;
if(x.RealName)
{
str=x.RealName;
var str = x.NewDiningName;
if (x.RealName) {
str = x.RealName;
}
item.DinnerList.push({
RealName: str,
......@@ -331,8 +336,8 @@
if (subItem.NewDiningID == x.ID) {
subItem.Address = x.Address;
subItem.Tel = x.Tel;
subItem.PayStyle=x.PayStyle;
subItem.PayStyleExt=x.PayStyle;
subItem.PayStyle = x.PayStyle;
subItem.PayStyleExt = x.PayStyle;
}
})
},
......
......@@ -989,7 +989,7 @@
}, res => {
if (res.data.resultCode == 1) {
this.TeamHotelList = res.data.data;
console.log("TeamHotelList", this.TeamHotelList);
//console.log("TeamHotelList", this.TeamHotelList);
} else {
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