From c046422fb9ffefbc8081ee173c3da209c7434eb6 Mon Sep 17 00:00:00 2001
From: zjf <1799650030@qq.com>
Date: Mon, 8 Sep 2025 16:20:08 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=9E=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/supermarket/mallProduct/form.vue | 14 +++++++-------
src/views/supermarket/mallProduct/index.vue | 8 ++++----
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/views/supermarket/mallProduct/form.vue b/src/views/supermarket/mallProduct/form.vue
index a279f2b..dce031b 100644
--- a/src/views/supermarket/mallProduct/form.vue
+++ b/src/views/supermarket/mallProduct/form.vue
@@ -56,8 +56,8 @@
- 上架
- 下架
+ 上架
+ 下架
@@ -223,8 +223,8 @@
- 启用
- 停用
+ 启用
+ 停用
@@ -317,7 +317,7 @@ const form = reactive({
spuPrice: 0,
originalPrice: 0,
unit: '',
- status: '1', // 默认上架
+ status: '0', // 默认上架
saleStartTime: '',
saleEndTime: '',
description: '',
@@ -363,7 +363,7 @@ const addSku = () => {
stock: 0,
barcode: '',
weightG: 0,
- status: '1'
+ status: '0'
});
};
@@ -421,7 +421,7 @@ const openDialog = (id: string) => {
spuPrice: 0,
originalPrice: 0,
unit: '',
- status: '1',
+ status: '0',
saleStartTime: '',
saleEndTime: '',
description: '',
diff --git a/src/views/supermarket/mallProduct/index.vue b/src/views/supermarket/mallProduct/index.vue
index 782be57..861f4d1 100644
--- a/src/views/supermarket/mallProduct/index.vue
+++ b/src/views/supermarket/mallProduct/index.vue
@@ -99,8 +99,8 @@
-
- {{ scope.row.status === '1' ? '上架' : '下架' }}
+
+ {{ scope.row.status === '0' ? '上架' : '下架' }}
@@ -158,8 +158,8 @@
-
- {{ scope.row.status === '1' ? '启用' : '停用' }}
+
+ {{ scope.row.status === '0' ? '启用' : '停用' }}