From d33855f05bcc26c28809cc0164961ed3d8d50600 Mon Sep 17 00:00:00 2001 From: skjia <106962133@qq.com> Date: Mon, 9 Jun 2025 08:52:52 +0800 Subject: [PATCH] =?UTF-8?q?jsk=20=20=E5=95=86=E8=B6=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/superStore/super.js | 14 +- src/views/superstore/shopMaterial/index.vue | 106 +-- src/views/superstore/super/index.vue | 732 ++++++++++++++++---- 3 files changed, 680 insertions(+), 172 deletions(-) diff --git a/src/api/superStore/super.js b/src/api/superStore/super.js index 74ca7048..49315e2f 100644 --- a/src/api/superStore/super.js +++ b/src/api/superStore/super.js @@ -57,7 +57,7 @@ export function deleteSupermarketApi(data) { } }) } - + // 通过角色查人员 export function userListByRoleApi(data) { return request({ @@ -69,6 +69,17 @@ export function deleteSupermarketApi(data) { data: data }) } +// 商品列表 +export function shopPageListApi(data) { + return request({ + url: '/smart-canteen/supermarket_product/list', + method: 'get', + headers: { + "merchant-id":"378915229716713472", + }, + params: data + }) + } @@ -79,4 +90,3 @@ export function deleteSupermarketApi(data) { - diff --git a/src/views/superstore/shopMaterial/index.vue b/src/views/superstore/shopMaterial/index.vue index 3bb573f2..1bd42789 100644 --- a/src/views/superstore/shopMaterial/index.vue +++ b/src/views/superstore/shopMaterial/index.vue @@ -78,11 +78,11 @@ :inline="true" v-show="showSearch" label-width="68px" - > + > - + 批量删除 - + @@ -189,22 +189,22 @@ {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}} - - - - - - + + + + + + + - + - + + - + - + - + - + @@ -101,13 +105,13 @@ - + - + - + - + - + - + - - - - - + - + - - + + - + - + - - + + - + - + - + - - - - + + + + - + - + - + - + @@ -663,4 +1162,3 @@ } } - \ No newline at end of file