diff --git a/src/api/application.js b/src/api/application.js index 4f16079..6d90106 100644 --- a/src/api/application.js +++ b/src/api/application.js @@ -109,3 +109,18 @@ export function recordList(params) { params }); } + +/** + * 存酒统计 + * @returns + */ +export function countRecord(data) { + return request({ + url: "/api/storage/countRecord", + method: "post", + data: { + shopId: localStorage.getItem("shopId"), + ...data + } + }); +} diff --git a/src/api/shop.js b/src/api/shop.js index 9b150c4..5891ae2 100644 --- a/src/api/shop.js +++ b/src/api/shop.js @@ -455,3 +455,28 @@ export function upProSort(data) { data }); } + +/** + * 修改分组排序 + * @returns + */ +export function upGroupSort(data) { + return request({ + url: `/api/tbProductGroup/upGroupSort`, + method: "post", + data + }); +} + +/** + * 修改分类排序 + * @returns + */ +export function upCategorySort(data) { + return request({ + url: `/api/tbShopCategory/upCategorySort`, + method: "post", + data + }); +} + diff --git a/src/views/application/components/wine/record.vue b/src/views/application/components/wine/record.vue index 0a06027..7e4ada5 100644 --- a/src/views/application/components/wine/record.vue +++ b/src/views/application/components/wine/record.vue @@ -19,7 +19,12 @@ @@ -40,7 +45,7 @@ @@ -30,10 +31,12 @@