diff --git a/src/views/supermarket/mallCategory/form.vue b/src/views/supermarket/mallCategory/form.vue
index cd73e38..6c5bb39 100644
--- a/src/views/supermarket/mallCategory/form.vue
+++ b/src/views/supermarket/mallCategory/form.vue
@@ -31,7 +31,7 @@
-
+
{{ item.label }}
diff --git a/src/views/supermarket/mallCategory/index.vue b/src/views/supermarket/mallCategory/index.vue
index 04eb2b2..5ac9729 100644
--- a/src/views/supermarket/mallCategory/index.vue
+++ b/src/views/supermarket/mallCategory/index.vue
@@ -1,84 +1,109 @@
-
-
-
-
-
-
-
-
-
- 查询
-
- 重置
-
-
-
-
-
-
- 新 增
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 编辑
- 删除
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+ 新 增
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 删除
+
+
+
+
+
-
-
-
-
+
+
+
diff --git a/src/views/supermarket/mallMerchant/form.vue b/src/views/supermarket/mallMerchant/form.vue
index 306e4cb..dadb6d3 100644
--- a/src/views/supermarket/mallMerchant/form.vue
+++ b/src/views/supermarket/mallMerchant/form.vue
@@ -75,7 +75,7 @@
-
+
diff --git a/src/views/supermarket/mallMerchant/index.vue b/src/views/supermarket/mallMerchant/index.vue
index cfe3c1d..ed29444 100644
--- a/src/views/supermarket/mallMerchant/index.vue
+++ b/src/views/supermarket/mallMerchant/index.vue
@@ -1,96 +1,125 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查询
-
- 重置
-
-
-
-
-
-
- 新 增
-
-
- 删除
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+ 新 增
+
+
+ 删 除
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 编辑
- 绑定用户
- 删除
-
-
-
-
-
+ @sort-change="sortChangeHandle"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 编辑
+ 绑定用户
+ 删除
+
+
+
+
+
-
-
+
+
-
-
-
-
+
+
+
diff --git a/src/views/supermarket/mallProduct/form.vue b/src/views/supermarket/mallProduct/form.vue
index 9d5d902..6a1c99a 100644
--- a/src/views/supermarket/mallProduct/form.vue
+++ b/src/views/supermarket/mallProduct/form.vue
@@ -1,590 +1,562 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
- 多SKU模式
- 单价SPU模式
-
-
-
+
+
+
+ 多SKU模式
+ 单价SPU模式
+
+
+
-
-
-
- 上架
- 下架
-
-
-
+
+
+
+ 上架
+ 下架
+
+
+
-
-
-
-
-
- 单位:元
-
-
+
+
+
+
+
+ 单位:元
+
+
-
-
-
- 单位:元
-
-
-
+
+
+
+ 单位:元
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
- * SKU编码
-
-
-
-
-
-
-
+
+ * SKU编码
+
+
+
+
+
+
-
-
- * SKU名称
-
-
-
-
-
-
-
+
+ * SKU名称
+
+
+
+
+
+
-
-
- * 售价(元)
-
-
-
-
-
-
-
+
+ * 售价(元)
+
+
+
+
+
+
-
-
- * 库存
-
-
-
-
-
-
-
+
+ * 库存
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
- 启用
- 停用
-
-
-
-
+
+
+
+
+ 启用
+ 停用
+
+
+
+
-
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
+
diff --git a/src/views/supermarket/shopCategory/form.vue b/src/views/supermarket/shopCategory/form.vue
index 3d170ae..fb9e8d2 100644
--- a/src/views/supermarket/shopCategory/form.vue
+++ b/src/views/supermarket/shopCategory/form.vue
@@ -23,9 +23,9 @@
-
+
- {{ item.label }}
+ {{ item.label }}
@@ -137,7 +137,7 @@ const getshopCategoryData = (id: string) => {
loading.value = true
getObj(id)
.then((res: any) => {
- Object.assign(form, res.data)
+ Object.assign(form, res.data, { status: res.data.status.toString() })
// 编辑时加载分类并排除自己
loadCategories()
})
diff --git a/src/views/supermarket/shopSku/index.vue b/src/views/supermarket/shopSku/index.vue
index a97505b..5d7112f 100644
--- a/src/views/supermarket/shopSku/index.vue
+++ b/src/views/supermarket/shopSku/index.vue
@@ -1,65 +1,99 @@
-
-
-
-
-
- 新 增
-
-
- 删除
-
-
-
-
-
+
+
+
+
+
+ 删 除
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 编辑
- 删除
-
-
-
-
-
+ @sort-change="sortChangeHandle"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ displayPrice(row.retailPrice, "") }}
+
+
+
+
+ {{ displayPrice(row.promotionPrice, "") }}
+
+
+
+
+
+
+
+ 编辑
+
+
+ 删除
+
+
+
+
+
+
-
-
-
-
+
+
+
\ No newline at end of file
+ try {
+ await delObjs(ids)
+ getDataList()
+ useMessage().success("删除成功")
+ } catch (err: any) {
+ useMessage().error(err.msg)
+ }
+}
+
diff --git a/src/views/supermarket/shopSpu/index.vue b/src/views/supermarket/shopSpu/index.vue
index 648e87f..436a844 100644
--- a/src/views/supermarket/shopSpu/index.vue
+++ b/src/views/supermarket/shopSpu/index.vue
@@ -60,7 +60,7 @@
-
+