From 2552723bfd6f1e32bf11f665630b7113601d6c33 Mon Sep 17 00:00:00 2001 From: cun-nan <19819293608@163.com> Date: Sat, 2 Mar 2024 17:58:59 +0800 Subject: [PATCH] bug --- .../src/views/convenienceStore/goodsFile.vue | 1 + .../service/impl/LJGoodsServiceImpl.java | 3 +- .../views/cashier/NewComponents/homeindex.vue | 230 +++++++++--------- 3 files changed, 119 insertions(+), 115 deletions(-) diff --git a/fuintAdmin/src/views/convenienceStore/goodsFile.vue b/fuintAdmin/src/views/convenienceStore/goodsFile.vue index bbbd5cf19..4854ff744 100644 --- a/fuintAdmin/src/views/convenienceStore/goodsFile.vue +++ b/fuintAdmin/src/views/convenienceStore/goodsFile.vue @@ -100,6 +100,7 @@ type="primary" @click="batchGrounding('jy')" >商品下架 +
注:库存为0或未设置零售价和会员价的商品不可上架
impl for (String s : split) { LJGoods ljGoods = this.selectLJGoodsById(Integer.parseInt(s)); if (ObjectUtil.isNotEmpty(ljGoods)){ - if (status.equals("qy") && ljGoods.getStock()==0){ + if (status.equals("qy") && ljGoods.getStock()==0 || + status.equals("qy") && ljGoods.getRetailPrice()==0 && ljGoods.getMemberPrice()==0){ ljGoods.setStatus("jy"); }else { ljGoods.setStatus(status); diff --git a/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue b/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue index 529fd8d6a..7a25f5244 100644 --- a/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue +++ b/fuintCashierWeb/src/views/cashier/NewComponents/homeindex.vue @@ -53,130 +53,131 @@
商品:¥{{ goodsAmount.toFixed(2) }}
合计: ¥{{ (oilAmount + goodsAmount).toFixed(2) }}
-
-
- -
-
- - -
-
{{ getName(oilNameList,item.oilName) }}_{{getName1(gunList,item.gunName)}}
-
-
-¥{{ item.discount }}
-
满减优惠
-
折扣优惠
+
+
+
+ +
+
+ + +
+
{{ getName(oilNameList,item.oilName) }}_{{getName1(gunList,item.gunName)}}
+
+
-¥{{ item.discount }}
+
满减优惠
+
折扣优惠
+
+
+
+
+
+ 暂无满减油品信息 +
+
+
+ + + 活动优惠 +
+
+
+
-¥{{ fullReduction.toFixed(2) }}
+
+
+
+ +
+ + +
+
{{ getName(oilNameList,item.oilName) }}_{{getName1(gunList,item.gunName)}}
+
+
-¥{{ item.discount }}
+ +
+
-
- 暂无满减油品信息 +
+ + + 等级优惠
-
-
- - - 活动优惠 -
-
-
-
-¥{{ fullReduction.toFixed(2) }}
-
-
-
- -
- - -
-
{{ getName(oilNameList,item.oilName) }}_{{getName1(gunList,item.gunName)}}
-
-
-¥{{ item.discount }}
- - -
-
-
-
-
-
- - - 等级优惠 -
-
-
-
-¥{{ oilDiscount.toFixed(2) }}
-
-
-
- - - 囤油卡 -
- ({{ item.type }}卡 - - 余额:{{ item.refuelMoney ? item.refuelMoney : 0.00 }}L) +
+
-¥{{ oilDiscount.toFixed(2) }}
-
- {{ consumeRefuelMoney.toFixed(2) }}L
-
-
-
- - - 储值卡 - (账户余额:{{ balance }}元) -
-
-¥{{ consumeAmount.toFixed(2) }}
-
-
-
- - - - - - - - - - - - - - - -
- - - 优惠券 +
+
+ + + 囤油卡 +
+ ({{ item.type }}卡 + + 余额:{{ item.refuelMoney ? item.refuelMoney : 0.00 }}L)
- +
+
- {{ consumeRefuelMoney.toFixed(2) }}L
-
-¥{{ couponAmount.toFixed(2) }}
-
-
+
+
+ + + 储值卡 + (账户余额:{{ balance }}元) +
+
-¥{{ consumeAmount.toFixed(2) }}
+
+
+
+ + + + + + + + + + + + + + + +
+ + + 优惠券 +
+
+
+
-¥{{ couponAmount.toFixed(2) }}
+
+
扫码支付
{{ ((+oilActualPay) + (+goodsActualPay)).toFixed(2) }}
@@ -190,6 +191,7 @@
{{ staff.realName }}
+