From 3319c7a85b284da411f4aa716f7bc487150b701a Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Fri, 5 Jan 2024 15:56:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=9B=B6=E4=BB=B6=E6=B1=87?= =?UTF-8?q?=E6=80=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/request2.js | 6 +++--- pages/query/item.vue | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api/request2.js b/api/request2.js index f481334a..e3886e99 100644 --- a/api/request2.js +++ b/api/request2.js @@ -428,11 +428,11 @@ export function getBasicItemByCode(itemCode) { /** * 按物品查询库存汇总 * @param {*} itemCode - * + * /wms/balance/summary */ -export function getBalanceByCodeGroup(params) { +export function getBalanceSummary(params) { return request({ - url: baseApi + "/wms/balance/page", + url: baseApi + "/wms/balance/summary", method: "get", data: params, }); diff --git a/pages/query/item.vue b/pages/query/item.vue index 3d6a24b2..1f12e20b 100644 --- a/pages/query/item.vue +++ b/pages/query/item.vue @@ -39,7 +39,7 @@ getExpectinByItemcode, getBalanceByItemCode, getBasicItemByCode, - getBalanceByCodeGroup + getBalanceSummary } from '@/api/request2.js'; import { goHome @@ -130,7 +130,7 @@ pageSize: pageSize } console.log("getSummary", pageNo) - getBalanceByCodeGroup(params).then(res => { + getBalanceSummary(params).then(res => { uni.hideLoading(); if (res.data.list.length > 0) { this.$refs.paging.complete(res.data.list);