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