From cb623fcefa72d5b54b1e536aa84c3f3851743975 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 20 十一月 2024 11:01:43 +0800
Subject: [PATCH] update 打印可能的空白(不能确定是不是纸张大小超出还是空数据的问题,已经提交了

---
 sub_pages/customer/shopping/shopping.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sub_pages/customer/shopping/shopping.vue b/sub_pages/customer/shopping/shopping.vue
index 5956672..fc4b6a7 100644
--- a/sub_pages/customer/shopping/shopping.vue
+++ b/sub_pages/customer/shopping/shopping.vue
@@ -46,7 +46,7 @@
 										<view class="desc  flex p-t-5" @click.stop="toDetail(dto)">
 											<view class="m-r-15">剩余:{{ dto.stock || 0 }}</view>
 											<view class="m-r-15">颜色:{{ dto.color || '-' }}</view>
-											<view class="m-r-15">限购数量:{{ dto.limited || '-' }}</view>
+											<view class="m-r-15" v-if="dto.limited && dto.limited>0" >限购数量:{{ dto.limited || '-' }}</view>
 										</view>
 										<view class="button-icons flex m-l-a m-r-0 m-t-8">
 											<uni-icons v-if="dto.num&&dto.num>=1" type="minus" size="32"
@@ -176,6 +176,7 @@
 
 			},
 			async submitPay() {
+				await this.$store.dispatch('cache_coupon_select_cancel', 0)
 				// order/confirm/info
 				var arr = []
 				for (var j = 0; j < this.list.length; j++) {

--
Gitblit v1.9.3