diff --git a/src/api/supermarket/shopCategory.ts b/src/api/supermarket/shopCategory.ts
index 098cdcb..c262f87 100644
--- a/src/api/supermarket/shopCategory.ts
+++ b/src/api/supermarket/shopCategory.ts
@@ -39,3 +39,10 @@ export function putObj(obj?: Object) {
})
}
+export function tree(obj?: Object) {
+ return request({
+ url: '/supermarket/shopCategory/tree',
+ method: 'get',
+ data: obj
+ })
+}
diff --git a/src/views/supermarket/shopCategory/form.vue b/src/views/supermarket/shopCategory/form.vue
index d9dffd6..bde8925 100644
--- a/src/views/supermarket/shopCategory/form.vue
+++ b/src/views/supermarket/shopCategory/form.vue
@@ -4,8 +4,15 @@
-
-
+
+
+
+
@@ -15,12 +22,6 @@
-
-
-
-
-
-
@@ -42,12 +43,6 @@
-
-
-
-
-
-
@@ -62,8 +57,9 @@
\ No newline at end of file
diff --git a/src/views/supermarket/shopSpu/form.vue b/src/views/supermarket/shopSpu/form.vue
index 3c78ae1..13546ef 100644
--- a/src/views/supermarket/shopSpu/form.vue
+++ b/src/views/supermarket/shopSpu/form.vue
@@ -1,118 +1,102 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
- 0
-
-
-
+
+
+
+ 0
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
+
+