From 217b5047cd531186cfc6adbb80b8690788e34f4c Mon Sep 17 00:00:00 2001 From: weiwei Date: Thu, 18 Sep 2025 15:08:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=9C=A8=E7=BA=BF=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=8F=AF=E4=B8=8B=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/supermarket/shopSpu/form.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/supermarket/shopSpu/form.vue b/src/views/supermarket/shopSpu/form.vue index c111228..1b09dbb 100644 --- a/src/views/supermarket/shopSpu/form.vue +++ b/src/views/supermarket/shopSpu/form.vue @@ -33,11 +33,18 @@ - + + + + + {{ item.label }} + + + @@ -192,7 +199,7 @@ const dataFormRef = ref() const visible = ref(false) const loading = ref(false) // 定义字典 -const { supermarket_nature, spu_status } = useDict("supermarket_nature", "spu_status") +const { supermarket_nature, status } = useDict("supermarket_nature", "status") // 提交表单数据 const form = reactive({ id: "", @@ -204,7 +211,7 @@ const form = reactive({ picUrl: "", sliderPicUrls: "", sort: 0, - status: "", + status: "0", stock: 0, giveIntegral: "", merchantRelationId: "",