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 * @param {*} itemCode
* * /wms/balance/summary
*/ */
export function getBalanceByCodeGroup(params) { export function getBalanceSummary(params) {
return request({ return request({
url: baseApi + "/wms/balance/page", url: baseApi + "/wms/balance/summary",
method: "get", method: "get",
data: params, data: params,
}); });

4
pages/query/item.vue

@ -39,7 +39,7 @@
getExpectinByItemcode, getExpectinByItemcode,
getBalanceByItemCode, getBalanceByItemCode,
getBasicItemByCode, getBasicItemByCode,
getBalanceByCodeGroup getBalanceSummary
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome goHome
@ -130,7 +130,7 @@
pageSize: pageSize pageSize: pageSize
} }
console.log("getSummary", pageNo) console.log("getSummary", pageNo)
getBalanceByCodeGroup(params).then(res => { getBalanceSummary(params).then(res => {
uni.hideLoading(); uni.hideLoading();
if (res.data.list.length > 0) { if (res.data.list.length > 0) {
this.$refs.paging.complete(res.data.list); this.$refs.paging.complete(res.data.list);

Loading…
Cancel
Save