diff --git a/src/views/mch/mch-manage/form.vue b/src/views/mch/mch-manage/form.vue
index 17a3c68..e27f288 100644
--- a/src/views/mch/mch-manage/form.vue
+++ b/src/views/mch/mch-manage/form.vue
@@ -29,20 +29,21 @@
-
- form.merchantBranch = value">
- 总店
- 分店
+
+ form.supType = value">
+ {{ item.label }}
-
+
-
+
+ {{ item.label }}
+
-
-
+
+
-
+
-
+
@@ -149,7 +150,7 @@ const visible = ref(false)
const loading = ref(false)
// 定义字典
-const { merchant_type } = useDict("merchant_type")
+const { merchant_type, wallet_mch_sup_type, yes_no_type } = useDict("merchant_type", "wallet_mch_sup_type", "yes_no_type")
// 提交表单数据
const form = reactive({
@@ -166,8 +167,8 @@ const form = reactive({
businessTime: "",
addressDes: "",
sort: 0,
- merchantBranch: 1,
- cooperationStatus: "0",
+ supType: 1,
+ cooperationStatus: "1",
parentId: "",
discountsPrice: null,
})
diff --git a/src/views/mch/mch-manage/index.vue b/src/views/mch/mch-manage/index.vue
index 44e3dcb..c9c95d4 100644
--- a/src/views/mch/mch-manage/index.vue
+++ b/src/views/mch/mch-manage/index.vue
@@ -56,7 +56,6 @@
:header-cell-style="tableStyle.headerCellStyle"
@selection-change="selectionChangHandle"
@sort-change="sortChangeHandle"
- lazy
:tree-props="{ children: 'children', hasChildren: 'hasChildren' }"
:indent="20"
:default-expand-all="false"