库存不足营业时间完善
This commit is contained in:
@@ -197,10 +197,14 @@
|
||||
<text class="t">下单时间:</text>
|
||||
<text class="info">{{$u.timeFormat(listinfo.updateTime, 'yyyy-mm-dd hh:MM:ss')}}</text>
|
||||
</view>
|
||||
<!-- <view class="row">
|
||||
<view class="row" v-if="listinfo.tableName">
|
||||
<text class="t">下单台桌:</text>
|
||||
<text class="info">{{listinfo.tableName}}</text>
|
||||
</view>
|
||||
<view class="row" v-if="orderVIP.shopName">
|
||||
<text class="t">下单门店:</text>
|
||||
<text class="info">{{listinfo.name}}</text>
|
||||
</view> -->
|
||||
<text class="info">{{orderVIP.shopName}}</text>
|
||||
</view>
|
||||
<view class="row" v-if="listinfo.dineMod">
|
||||
<text class="t">用餐模式:</text>
|
||||
<text class="info" v-if="listinfo.dineMod == 'dine-in'">堂食</text>
|
||||
|
||||
@@ -225,9 +225,9 @@
|
||||
.coupondiscountAmount || 0) - (listinfo.pointsDiscountAmount || 0);
|
||||
listinfo.totalCost = Math.round(sums * 100) / 100;
|
||||
// 总价格
|
||||
console.log(listinfo.combinedArray, listinfo.packFeess, listinfo.totalPrices, listinfo
|
||||
.Seatcharge, listinfo.Productroll, listinfo.coupondiscountAmount, sums) // 霸王餐
|
||||
console.log(orderVIP.value.freeDineConfig.enable, changeFreeenable.value)
|
||||
// console.log(listinfo.combinedArray, listinfo.packFeess, listinfo.totalPrices, listinfo
|
||||
// .Seatcharge, listinfo.Productroll, listinfo.coupondiscountAmount, sums) // 霸王餐
|
||||
// console.log(orderVIP.value.freeDineConfig.enable, changeFreeenable.value)
|
||||
if (orderVIP.value.freeDineConfig.enable && changeFreeenable.value) {
|
||||
listinfo.totalCost = (parseFloat(listinfo.totalCost) * parseFloat(orderVIP.value
|
||||
.freeDineConfig.rechargeTimes)).toFixed(2)
|
||||
|
||||
@@ -71,11 +71,11 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="shop-amount">
|
||||
<text class="orderAmount">¥{{item.status == 'unpaid'?item.originAmount:item.orderAmount}}</text>
|
||||
<text
|
||||
class="orderAmount">¥{{item.status == 'unpaid'?item.originAmount:item.orderAmount}}</text>
|
||||
<text class="totalNumber">共{{item.goods.length}}件</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<!-- <view class="footer-wrap">
|
||||
<view class="btn" @click.stop="$u.debounce(isRemoveOrder(item,index),1000)"
|
||||
@@ -85,11 +85,18 @@
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="orderForm.list.length <= 0" style="text-align: center;">
|
||||
<view class="flex-colum" v-if="orderForm.list.length <= 0">
|
||||
<image style="width: 402rpx;height: 442rpx;margin:240rpx auto 32rpx;"
|
||||
src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/nomore.png" mode="aspectFill"></image>
|
||||
<text
|
||||
style="font-weight: bold;font-size: 32rpx;color: #FFFFFF;text-align: center;width: 426rpx;line-height: 84rpx; height: 84rpx;background: #E8AD7B;border-radius: 49rpx 49rpx 49rpx 49rpx;"
|
||||
@click="scanCodehandle">
|
||||
去点餐
|
||||
</text>
|
||||
</view>
|
||||
<view style="padding-bottom: 30rpx;">
|
||||
<up-loadmore :status="orderForm.form.status" fontSize="14" color="#999" iconSize="14" />
|
||||
</view>
|
||||
<up-loadmore :status="orderForm.form.status" fontSize="14" color="#999" iconSize="14" />
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -136,6 +143,10 @@
|
||||
},
|
||||
]
|
||||
|
||||
import {
|
||||
productStore
|
||||
} from '@/stores/user.js';
|
||||
|
||||
// 初始化是单店还是团购店
|
||||
const navtabindex = ref('2')
|
||||
// 总数据列表
|
||||
@@ -152,6 +163,12 @@
|
||||
}
|
||||
})
|
||||
|
||||
// 点击扫码
|
||||
const scanCodehandle = async (i) => {
|
||||
const store = productStore();
|
||||
await store.scanCodeactions()
|
||||
}
|
||||
|
||||
// 单店团购
|
||||
const userorderList = async () => {
|
||||
let res = await APIuserorder({
|
||||
|
||||
Reference in New Issue
Block a user