库存不足营业时间完善
This commit is contained in:
@@ -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