|
|
@ -140,14 +140,14 @@ export const getBalancesAsync = (params) => promise( |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
//根据零件、箱码、托码、批次、库位类型、库存状态查询库存
|
|
|
|
//根据物料、箱码、托码、批次、库位类型、库存状态查询库存
|
|
|
|
export const getBalancesByFilter = (params) => request( |
|
|
|
devUrl + "/api/pda/inventory/balances/by-balances-request-many-parameter", { |
|
|
|
method: 'post', |
|
|
|
data: params |
|
|
|
}); |
|
|
|
|
|
|
|
//根据零件、箱码、托码、批次、库位类型、库存状态查询库存
|
|
|
|
//根据物料、箱码、托码、批次、库位类型、库存状态查询库存
|
|
|
|
export const getBalancesByFilterAsync = (params) => promise( |
|
|
|
devUrl + "/api/pda/inventory/balances/by-balances-request-many-parameter", { |
|
|
|
method: 'post', |
|
|
@ -170,7 +170,7 @@ export const getBalancesByStatus = (params) => request( |
|
|
|
data: params |
|
|
|
}); |
|
|
|
|
|
|
|
//根据库位和零件号查询库存
|
|
|
|
//根据库位和物料号查询库存
|
|
|
|
export const getBalancesByLocationAndItem = (params) => request( |
|
|
|
devUrl + "/api/pda/inventory/balances/get-by-location-and-item?locationCode=" + params.locationCode + |
|
|
|
"&itemCode=" + params.itemCode, { |
|
|
@ -179,7 +179,7 @@ export const getBalancesByLocationAndItem = (params) => request( |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
//根据库位和零件号查询库存
|
|
|
|
//根据库位和物料号查询库存
|
|
|
|
export const getBalancesByLocationAndItemAsync = (params) => promise( |
|
|
|
devUrl + "/api/pda/inventory/balances/get-by-location-and-item?locationCode=" + params.locationCode + |
|
|
|
"&itemCode=" + params.itemCode, { |
|
|
@ -203,15 +203,15 @@ export const summary = (params) => request( |
|
|
|
data: params |
|
|
|
}); |
|
|
|
|
|
|
|
//零件
|
|
|
|
//查询零件信息
|
|
|
|
//物料
|
|
|
|
//查询物料信息
|
|
|
|
export const getitems = (code) => request( |
|
|
|
devUrl + "/api/pda/item/" + code, { |
|
|
|
method: 'get', |
|
|
|
data: code |
|
|
|
}); |
|
|
|
|
|
|
|
//根据库位查询零件
|
|
|
|
//根据库位查询物料
|
|
|
|
export const getItemsByLocation = (params) => promise( |
|
|
|
devUrl + "/api/pda/inventory/balances/get-item-by-location", { |
|
|
|
method: 'get', |
|
|
@ -427,7 +427,7 @@ export const locationByType = (type) => request( |
|
|
|
data: type |
|
|
|
}); |
|
|
|
|
|
|
|
//根据库位查询零件
|
|
|
|
//根据库位查询物料
|
|
|
|
export const getLocationByItem = (params) => promise( |
|
|
|
devUrl + "/api/pda/inventory/balances/get-location-by-item", { |
|
|
|
method: 'get', |
|
|
|