From 2d9d60cd0a6e17881d39543ffaa87bf69e5151aa Mon Sep 17 00:00:00 2001 From: zjf <1799650030@qq.com> Date: Wed, 3 Sep 2025 19:21:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B1=E5=AF=8C=E5=95=86=E5=9F=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/supermarket/mallMerchant.ts | 11 + src/views/supermarket/mallMerchant/form.vue | 22 +- src/views/supermarket/mallMerchant/index.vue | 11 +- src/views/supermarket/mallProduct/form.vue | 812 +++++++++++++++--- src/views/supermarket/mallProduct/index.vue | 291 ++++++- src/views/supermarket/mallProductSku/form.vue | 167 ---- .../supermarket/mallProductSku/index.vue | 123 --- 7 files changed, 962 insertions(+), 475 deletions(-) delete mode 100644 src/views/supermarket/mallProductSku/form.vue delete mode 100644 src/views/supermarket/mallProductSku/index.vue diff --git a/src/api/supermarket/mallMerchant.ts b/src/api/supermarket/mallMerchant.ts index bdc615d..54f5cbb 100644 --- a/src/api/supermarket/mallMerchant.ts +++ b/src/api/supermarket/mallMerchant.ts @@ -39,3 +39,14 @@ export function putObj(obj?: Object) { }) } + +/** + * 商户下拉 + */ +export function selectOption(query?: Object) { + return request({ + url: '/supermarket/selectOption/merchant', + method: 'get', + params: query + }) +} diff --git a/src/views/supermarket/mallMerchant/form.vue b/src/views/supermarket/mallMerchant/form.vue index a863f61..d23cd53 100644 --- a/src/views/supermarket/mallMerchant/form.vue +++ b/src/views/supermarket/mallMerchant/form.vue @@ -27,14 +27,14 @@ - - - - - + + + + + - + {{ item.label }} @@ -55,7 +55,7 @@ - + @@ -64,12 +64,6 @@ - - - - - - @@ -171,4 +165,4 @@ const getmallMerchantData = (id: string) => { defineExpose({ openDialog }); - \ No newline at end of file + diff --git a/src/views/supermarket/mallMerchant/index.vue b/src/views/supermarket/mallMerchant/index.vue index 6952b88..fe5e35a 100644 --- a/src/views/supermarket/mallMerchant/index.vue +++ b/src/views/supermarket/mallMerchant/index.vue @@ -35,7 +35,7 @@ @queryTable="getDataList"> - @@ -45,17 +45,16 @@ - - + + - + -