From 32b29f45e7bda7fdbb1801a70fcdb951a74e5286 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=A6=E4=B9=A0=E5=BE=88=E5=B7=AE=E5=95=A6?=
<17633066053@163.com>
Date: Tue, 21 Feb 2023 14:25:32 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=B4=E6=92=AD=E4=BB=B7?=
=?UTF-8?q?=E6=A0=BC=E5=B1=95=E7=A4=BA=E4=BF=A1=E6=81=AF=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
seller/src/views/promotion/live/addLive.vue | 7 ++++---
seller/src/views/promotion/live/liveGoods.vue | 4 ++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/seller/src/views/promotion/live/addLive.vue b/seller/src/views/promotion/live/addLive.vue
index 4c4be551..7e5e893f 100644
--- a/seller/src/views/promotion/live/addLive.vue
+++ b/seller/src/views/promotion/live/addLive.vue
@@ -200,8 +200,8 @@
{{ row.price | unitPrice("¥") }}至{{ row.price2 | unitPrice("¥") }}
- {{ row.price | unitPrice("¥")
- }}{{ row.price2 | unitPrice("¥") }}
+ {{ row.price2 | unitPrice("¥")
+ }}{{ row.price | unitPrice("¥") }}
@@ -345,6 +345,7 @@ export default {
};
},
mounted() {
+
/**
* 如果query.id有值说明是查看详情
* liveStatus 可以判断当前直播状态 从而区分数据 是否是未开始、已开启、已关闭、
@@ -610,7 +611,7 @@ export default {
if (res.success) {
this.$Message.success("添加成功!");
- this.$router.push({ path: "/promotion/live" });
+ this.$router.push({ path: "/live" });
}
this.spinShow = false;
});
diff --git a/seller/src/views/promotion/live/liveGoods.vue b/seller/src/views/promotion/live/liveGoods.vue
index e1cf7fc5..d23c7eda 100644
--- a/seller/src/views/promotion/live/liveGoods.vue
+++ b/seller/src/views/promotion/live/liveGoods.vue
@@ -55,7 +55,7 @@
{{row.price | unitPrice('¥')}}
{{row.price | unitPrice('¥')}}至{{row.price2 | unitPrice('¥')}}
-
{{row.price | unitPrice('¥')}}{{row.price2 | unitPrice('¥')}}
+
{{row.price2 | unitPrice('¥')}}{{row.price | unitPrice('¥')}}
@@ -264,7 +264,7 @@ export default {
async saveLiveGoods() {
this.saveGoodsLoading = true;
let submit = this.liveGoodsData.map((element) => {
- console.log(element);
+
return {
goodsId: element.goodsId, //商品id
goodsImage: element.small, //商品图片 最大为 300 * 300