批量入库

This commit is contained in:
2023-08-01 16:16:43 +08:00
parent 7be2ddee5d
commit af20b732c3
4 changed files with 197 additions and 189 deletions

View File

@@ -408,3 +408,43 @@ export const operation = (id, method) => post('api/task/operation', {
task_id: id,
method_name: method
})
/**
* 批量入库
*/
// 1.2仓库列表
export const finishproductStor = () => post('api/pda/finishproduct/stor', {})
// export const finishproductStor = () => {
// let res = {
// code: 200,
// content: [{stor_code: '1', stor_name: '1'}, {stor_code: '11', stor_name: '11'}]
// }
// return res
// }
// 1.1批量入库列表
export const finishproductBucket = (code, stor, sale) => post('api/pda/finishproduct/bucket', {
storagevehicle_code: code,
stor_code: stor,
sale_code: sale
})
// export const finishproductBucket = () => {
// let res = {
// code: 200,
// content: [{sqe_on: '1', storagevehicle_code: '1'}, {sqe_on: '11', storagevehicle_code: '11'}]
// }
// return res
// }
// 1.2确认入库
export const finishproductBatchin = (arr) => post('api/pda/finishproduct/batchin', arr)
// 1.1托盘明细
export const finishproductBucket2 = (code, stor) => post('api/pda/finishproduct/bucket', {
storagevehicle_code: code,
stor_code: stor
})
// export const finishproductBucket2 = () => {
// let res = {
// code: 200,
// content: [{sqe_on: '1', storagevehicle_code: '1'}, {sqe_on: '11', storagevehicle_code: '11'}]
// }
// return res
// }