From 4db91b7f627b097fceb7d28d932411a86375ff64 Mon Sep 17 00:00:00 2001 From: weiwei Date: Fri, 28 Mar 2025 21:40:02 +0800 Subject: [PATCH] 1 --- src/views/mch/mch-manage/form.vue | 27 ++++++++++++++------------- src/views/mch/mch-manage/index.vue | 1 - 2 files changed, 14 insertions(+), 14 deletions(-) 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 @@ - - - 总店 - 分店 + + + {{ 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"