fix: 修复称重商品切换就餐模式时打包数量展示不对问题
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
包
|
||||
<span class="number">{{ item.product_type == "weight" ? 1 : item.num * 1 }}</span>
|
||||
</span>
|
||||
<span class="pack" v-if="dinerType == 0 && item.pack_number * 1 > 0">
|
||||
包
|
||||
<span class="number">{{ item.product_type == "weight" ? 1 : item.num * 1 }}</span>
|
||||
</span>
|
||||
</template>
|
||||
<template v-else>
|
||||
<span class="pack" v-if="item.pack_number * 1 > 0">
|
||||
|
||||
@@ -474,6 +474,7 @@ function returnPayParams() {
|
||||
fullCouponDiscountAmount: fullCouponDiscountAmount.value * 1,
|
||||
couponList: quansSelArr.value.map((v) => v.id),
|
||||
userId: props.user.userId || "",
|
||||
allPack: carts.dinnerType == "take-out" ? 1 : 0,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user