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