@ -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,
});
@ -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);