Commit b6ddd8cb authored by youjie's avatar youjie

优化酒店下单服务人员选项

parent 558f3ccf
......@@ -141,7 +141,7 @@
const diff = x.orderTime + 5 * 60 * 1000 - now; // 5分钟倒计时
let remainingSeconds = Math.max(diff, 0); // 确保不出现负数
x.remainingSeconds = Math.floor(remainingSeconds/1000)
console.log("=========3333",x.remainingSeconds)
// console.log("支付倒计时",x.remainingSeconds)
if(x.remainingSeconds) this.initCountdown(x)
}
});
......
......@@ -27,10 +27,10 @@
联系电话:
<text>
{{dataList.telephone}}
<img
</text>
<img v-if="dataList.telephone&&dataList.telephone.length<12"
class="hotelInforPhone"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Upload/Goods/638763341462574374.png"/>
</text>
</view>
<view class="row hotelInforCAddress">
<view>详细地址:</view>
......
......@@ -130,6 +130,28 @@
</view>
</view>
</view>
<!-- #ifdef MP-AG -->
<view class="line-flex row-sbas-n col" style="padding: 30rpx; background: #fff;margin-top: 20rpx;border-radius: 18rpx;"
v-if="createBy==0&&SaleList&&SaleList.length>1"
@click="showSalePreviwe=true,showSaleType=1">
<text style="font-size: 28rpx; color: #111; font-weight: 500">服务人员</text>
<text style="
font-size: 22rpx;
color: #999;
margin-left: 30rpx;
flex: 1;
"></text>
<view class="SaleNameTetx row">
<view>
<text v-if="msg.SaleName">{{ msg.SaleName }}</text>
<text v-else style="color: #999">
请选择
</text>
</view>
<u-icon name="arrow-down" size="24"></u-icon>
</view>
</view>
<!-- #endif -->
</view>
<u-popup v-model="showSalePreviwe" mode="bottom" border-radius="50" length="60%" :safe-area-inset-bottom="true">
<orderService :msg="msg" :list="SaleList" @goReserce="goReserce"></orderService>
......@@ -171,6 +193,7 @@
createBy: 0,
showSalePreviwe: false,
subItem: null,
showSaleType: 0,
};
},
watch: {
......@@ -264,7 +287,7 @@
setTimeout(() => {
this.showSalePreviwe = false
}, 500)
this.goUrl()
if(!this.showSaleType) this.goUrl()
},
getSale() {
if (!this.b2bUser.customerId) return
......@@ -374,6 +397,7 @@
return mealtypeName;
},
setOrder(subItem) {
this.showSaleType = 0
this.subItem = subItem
// #ifdef MP-AG
if (this.SaleList && this.SaleList.length > 1 && this.msg.SaleId == 0 && this.createBy == 0) {
......
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