+
@@ -199,7 +201,8 @@ export default {
weight: sku.weight,
cost: sku.cost,
price:sku.price,
- image: sku.thumbnail,
+ image: sku.goodsGalleryList,
+ quantity:sku.quantity
});
});
if (res.result.salesModel === "WHOLESALE" && res.result.wholesaleList) {
@@ -222,9 +225,12 @@ export default {
{
title: "价格",
key: "price",
- render: (h, params) => {
- return h("priceColorScheme", {props:{value:params.row.price,color:this.$mainColor}} );
+ render: (h, params) => {v
+ return h("priceColorScheme", {props:{alue:params.row.price,color:this.$mainColor}} );
},
+ },{
+ title: "库存",
+ key: "quantity",
}
);
}
From e13fc57ae7fd5f325919482441cbb2e5bfa3dda1 Mon Sep 17 00:00:00 2001
From: Yer <17633066053@163.com>
Date: Tue, 19 Sep 2023 09:25:57 +0800
Subject: [PATCH 5/5] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E5=B7=B2?=
=?UTF-8?q?=E7=9F=A5=E7=9A=84bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manager/src/views/order/after-order/orderComplaintDetail.vue | 2 +-
manager/src/views/promotions/coupon/coupon-publish.vue | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/manager/src/views/order/after-order/orderComplaintDetail.vue b/manager/src/views/order/after-order/orderComplaintDetail.vue
index 46160963..dc868ce7 100644
--- a/manager/src/views/order/after-order/orderComplaintDetail.vue
+++ b/manager/src/views/order/after-order/orderComplaintDetail.vue
@@ -151,7 +151,7 @@
- {{complaintInfo.goodsName}}
+ {{complaintInfo.goodsName}}
¥{{complaintInfo.goodsPrice}} * {{complaintInfo.num}}(数量)
diff --git a/manager/src/views/promotions/coupon/coupon-publish.vue b/manager/src/views/promotions/coupon/coupon-publish.vue
index 5f1a0df2..4bc3d80d 100644
--- a/manager/src/views/promotions/coupon/coupon-publish.vue
+++ b/manager/src/views/promotions/coupon/coupon-publish.vue
@@ -566,10 +566,11 @@ export default {
onOk: () => {
let ids = [];
this.selectedGoods.forEach(function (e) {
- ids.push(e.id);
+ ids.push(e.skuId);
});
+
this.form.promotionGoodsList = this.form.promotionGoodsList.filter((item) => {
- return !ids.includes(item.id);
+ return !ids.includes(item.skuId);
});
},
});