From 58eeed4bbd72f65f694b4fd8fe67d439be384c72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Tue, 31 May 2022 11:17:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=95=86=E5=93=81?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E6=8E=A7=E4=BB=B6-=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=93=81=E7=A7=8D=E5=90=8E=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/lili-dialog/index.vue | 3 +++ manager/src/views/lili-floor-renovation/wap/decorate.vue | 1 + 2 files changed, 4 insertions(+) diff --git a/manager/src/views/lili-dialog/index.vue b/manager/src/views/lili-dialog/index.vue index 85e8c7f0..b2f4ef69 100644 --- a/manager/src/views/lili-dialog/index.vue +++ b/manager/src/views/lili-dialog/index.vue @@ -24,6 +24,9 @@ export default { }; }, methods: { + clearGoodsSelected(){ + this.goodsData = [] + }, // 关闭弹窗 clickClose() { this.$emit("closeFlag", false); diff --git a/manager/src/views/lili-floor-renovation/wap/decorate.vue b/manager/src/views/lili-floor-renovation/wap/decorate.vue index 78d50203..9356dec5 100644 --- a/manager/src/views/lili-floor-renovation/wap/decorate.vue +++ b/manager/src/views/lili-floor-renovation/wap/decorate.vue @@ -455,6 +455,7 @@ export default { }, // 打开图片选择器 liliDialogFlag(flag) { + this.$refs.liliDialog.clearGoodsSelected() this.$refs.liliDialog.goodsFlag = flag; this.$refs.liliDialog.flag = true; }, From bb40364aedd3b0d1b323684ac1c34def501e4ff0 Mon Sep 17 00:00:00 2001 From: paulGao Date: Wed, 1 Jun 2022 09:04:36 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=AB=AF=E5=95=86?= =?UTF-8?q?=E5=93=81=E8=AF=A6=E6=83=85=E5=A2=9E=E5=8A=A0=E6=89=B9=E5=8F=91?= =?UTF-8?q?=E5=95=86=E5=93=81=E4=BF=A1=E6=81=AF=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/goods/goods-info/goodsDetail.vue | 196 ++++++++++++------ 1 file changed, 135 insertions(+), 61 deletions(-) diff --git a/manager/src/views/goods/goods-info/goodsDetail.vue b/manager/src/views/goods/goods-info/goodsDetail.vue index 538c24f0..da21cc4b 100644 --- a/manager/src/views/goods/goods-info/goodsDetail.vue +++ b/manager/src/views/goods/goods-info/goodsDetail.vue @@ -6,7 +6,10 @@

基本信息

- {{ item }} > + + {{ item }} + > + {{ goods.goodsName }} @@ -20,16 +23,30 @@
{{ goods.goodsUnit }} - {{ goods.salesModel === 'RETAIL' ? '零售型' : '批发型' }} + {{ goods.salesModel === "RETAIL" ? "零售型" : "批发型" }} + + + +

商品规格及图片

{{ goods.id }} - ¥{{ goods.price | unitPrice }} + + ¥{{ goods.price | unitPrice }} + -
- +
+
+ + +
@@ -62,9 +112,7 @@
- +
@@ -74,74 +122,101 @@