Browse Source

修改零件汇总

wms3.0_pda
niexiting 10 months ago
parent
commit
3319c7a85b
  1. 6
      api/request2.js
  2. 4
      pages/query/item.vue

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

4
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);

Loading…
Cancel
Save