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' ? '启用' : '停用' }}