This commit is contained in:
2024-08-09 13:53:23 +08:00
parent 03e0d44dd6
commit 615af3a957
8 changed files with 502 additions and 107 deletions

View File

@@ -30,9 +30,9 @@ export const FormTypes = () => request({
url:'api/bmFormStruc/getTypes?type=pda'
})
// 单据数据
export const pmFormData = (page, size, sort, form_type) => request({
export const pmFormData = (page, size, form_type, code) => request({
method: 'GET',
url:'api/pmFormData?page=' + page + '&size=' + size + '&sort=' + sort + '&form_type=' + form_type
url:'api/pmFormData?page=' + page + '&size=' + size + '&form_type=' + form_type + '&vehicle_code=' + code
})
// 组盘确认
export const mdGruopDick = (item, code, type) => request({
@@ -63,3 +63,37 @@ export const ioStorageOut = (code) => request({
/**
* 拣选单列表
*/
export const pmFormData2 = (page, size, form_type, status, code) => request({
method: 'GET',
url:'api/pmFormData?page=' + page + '&size=' + size + '&form_type=' + form_type + '&status=' + status + '&vehicle_code=' + code
})
export const savePickTask = (data) => request({
url:'api/pda/pick/savePickTask',
data: data
})
/**
* 盘点作业
*/
export const checkByVehicle = (code) => request({
url:'api/pda/check/byVehicle',
data: {vehicle_code: code}
})
export const checkSaveCheckTask = (id, vehicle, qty, cqty) => request({
url:'api/pda/check/saveCheckTask',
data: {children_id: id,children_vehicle: vehicle,check_qty, qty,children_qty: cqty}
})
/**
* 任务管理
*/
export const getStatusEnum = () => request({
method: 'GET',
url:'api/dict/getStatusEnum?code=TASK_TYPE'
})
export const schBaseTask = (page, size, sort, code) => request({
method: 'GET',
url:'api/schBaseTask?page=' + page + '&size=' + size + '&sort=' + sort + '&vehicle_code=' + code
})
export const saveCheckTask = (code, status) => request({
url:'api/pda/check/saveCheckTask',
data: {task_code: code, status: status}
})