Commit 6693cdaa authored by 吴春's avatar 吴春

餐厅修改

parent 66e13e59
......@@ -44,15 +44,8 @@
<th width="120">{{$t('pub.date')}}</th>
<th width="150">餐厅名称</th>
<th width="150">更换餐厅</th>
<th width="120">餐厅状态</th>
<th width="120">{{$t('salesModule.DJstatus')}}</th>
<th width="150" v-if="showHotelObj.showPrice">
{{$t('restaurant.res_Number')}}<br />{{$t('Operation.Op_price')}}</th>
<th width="150" v-if="showHotelObj.showPrice">
<el-tooltip class="item" effect="dark" content="(用餐人数-免人数)× 价格" placement="top">
<span>总价</span>
</el-tooltip>
</th>
<th width="150" v-if="showHotelObj.showPrice"> 餐标</th>
<th width="100" v-if="showHotelObj.showZhan">预约时间</th>
<th width="100" v-if="showHotelObj.showZhan">操作人</th>
<th width="100" v-if="showHotelObj.showZhan">确认时间</th>
......@@ -73,13 +66,7 @@
<td style="text-align:left;padding-left:3px;color:red">
{{hotelSubItem.DinnerName!=hotelSubItem.NewDinnerName?""+hotelSubItem.NewDinnerName:""}}
</td>
<td>
<span>
<template v-if="hotelSubItem.DiningChangeState==1">
<a style="color:green">待审核</a>
</template>
</span>
</td>
<td>
<span>
<template v-if="hotelSubItem.OrderState==1">
......@@ -93,28 +80,15 @@
</template>
</span>
</td>
<td v-if="showHotelObj.showPrice&&hotelSubItem.PriceList&&hotelSubItem.PriceList.length>0">
<div v-for="(priceSubItem,priceSubIndex) in hotelSubItem.PriceList" :key="`din`+priceSubIndex"
style="text-align:left;padding-left:2px;">
<template v-if="priceSubItem.DiningNum>0&&priceSubItem.UnitPrice>0">
{{priceSubItem.GuestType==1?"大人:":(priceSubItem.GuestType==2?"中人:":(priceSubItem.GuestType==3?"小人:":""))}}
<template v-if="priceSubItem.DiningDiscount>0">
({{priceSubItem.DiningNum}}-{{priceSubItem.DiningDiscount}})
×{{priceSubItem.UnitPrice>0?(priceSubItem.UnitPrice):""}}
</template>
<template v-else>
{{priceSubItem.DiningNum}} ×{{priceSubItem.UnitPrice>0?(priceSubItem.UnitPrice):""}}
</template>
<td >
<template v-if="showHotelObj.showPrice&&hotelSubItem.PriceList&&hotelSubItem.PriceList.length>0">
<span v-for="(priceSubItem,priceSubIndex) in hotelSubItem.PriceList" :key="`din`+priceSubIndex" >
<template v-if="priceSubItem.GuestType==1">
{{priceSubItem.UnitPrice}}
</template>
<template
v-if="priceSubItem.DiningNum>0&&priceSubItem.UnitPrice>0&&priceSubIndex!=hotelSubItem.PriceList.length-1">
<br />
</template>
</div>
</td>
<td>
<template v-if="hotelSubItem.TotalMoney>0">{{ hotelSubItem.TotalMoney }}
{{hotelSubItem.CurrencyName}}</template>
</span>
</template>
</td>
<td>
{{hotelSubItem.DiningTypeName}} <br /> {{hotelSubItem.BookTime}}
......
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