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>
<input v-if="IsOperation != 1" type="button" class="fr normalBtn mb30" value="保存" @click="saveList(1)" /> <template v-if="IsOperation != 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(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> </li>
</ul> </ul>
</div> </div>
...@@ -130,7 +136,7 @@ ...@@ -130,7 +136,7 @@
<el-option label='公司合团支付' :value='6'></el-option> <el-option label='公司合团支付' :value='6'></el-option>
</el-select> </el-select>
</td> </td>
</tr> </tr>
<tr> <tr>
<td width="60" style="text-align:right;"> <td width="60" style="text-align:right;">
...@@ -158,7 +164,7 @@ ...@@ -158,7 +164,7 @@
订团号: 订团号:
</td> </td>
<td style="text-align:left;"> <td style="text-align:left;">
<el-input class='w135 tcenter' v-model='subItem.ReserveNo'></el-input> <el-input class='w135 tcenter' v-model='subItem.ReserveNo'></el-input>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -185,7 +191,7 @@ ...@@ -185,7 +191,7 @@
flightTotal: 0, flightTotal: 0,
GuestNum: 0, GuestNum: 0,
loading: false, loading: false,
IsOperation:'', IsOperation: '',
}; };
}, },
methods: { methods: {
...@@ -222,7 +228,7 @@ ...@@ -222,7 +228,7 @@
}); });
}, },
personStrToWord(str) { personStrToWord(str) {
if (str == 1) if (str == 1)
return '大人' return '大人'
if (str == 2) if (str == 2)
return '中人' return '中人'
...@@ -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