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 @@ - - + + - + -