From e45e05fe99fa3420876da6ef6a20bb7fedba063b Mon Sep 17 00:00:00 2001 From: lihaoyuan <18278596806@163.com> Date: Tue, 28 Oct 2025 18:38:44 +0800 Subject: [PATCH] =?UTF-8?q?update:=E5=95=86=E5=93=81=E6=98=A0=E5=B0=84?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=B0=E5=A2=9E=E5=95=86=E5=93=81=E8=B4=A7?= =?UTF-8?q?=E5=8F=B7=E6=8F=90=E4=BA=A4=E5=AD=97=E6=AE=B5=20=E5=B9=B6?= =?UTF-8?q?=E4=B8=94=E6=8F=90=E4=BA=A4=E5=90=8E=E8=8E=B7=E5=8F=96=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E8=A1=A8=E5=8D=95=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/goodsTool/GoodsItem.vue | 2 ++ src/views/product/goodsTool/index.vue | 1 + 2 files changed, 3 insertions(+) diff --git a/src/views/product/goodsTool/GoodsItem.vue b/src/views/product/goodsTool/GoodsItem.vue index 8e1f146..c4a875a 100644 --- a/src/views/product/goodsTool/GoodsItem.vue +++ b/src/views/product/goodsTool/GoodsItem.vue @@ -310,6 +310,7 @@ specUnit: item.specUnit, description: item.description, sortOrder: item.sortOrder, + productNumber:item.productNumber })) // 过滤掉空项(新增模式下) @@ -343,6 +344,7 @@ if (res.status === 200) { this.$message.success('操作成功'); + this.$emit('refresh'); //刷新 this.drawerVisible = false; // 关闭抽屉 } else { this.$message.error('操作失败: ' + res.msg); diff --git a/src/views/product/goodsTool/index.vue b/src/views/product/goodsTool/index.vue index a7bf8cc..0de20f6 100644 --- a/src/views/product/goodsTool/index.vue +++ b/src/views/product/goodsTool/index.vue @@ -156,6 +156,7 @@ :mode="formMode" :shop-list-data="shopList" @success="handleSuccess" + @refresh="getGoodsList" />