单据出库功能修改

This commit is contained in:
蔡玲
2024-11-22 16:26:54 +08:00
parent 7d94214951
commit 36c30539ed
4 changed files with 271 additions and 88 deletions

View File

@@ -143,10 +143,70 @@ export const outStorageOrder = () => request({
method: 'GET',
url:'api/pda/outStorage/order'
})
// export const outStorageOrder = () => {
// let res = [{value: '1', text: 'a'}]
// return res
// }
export const outStorageOrderList = (page, size, type) => request({
method: 'GET',
url:'api/pda/outStorage/orderList?page=' + page + '&size=' + size + '&form_type=' + type
})
// export const outStorageOrderList = (page, size, type) => {
// let res = {
// "totalElements": 10,
// "content": [
// {
// "code": "22984980",
// "form_type": "单据类型",
// "remark": "备注",
// "create_time": "创建时间",
// "create_name": "创建人",
// "material_code": "物料编码",
// "qty": 0.0,
// "plan_qty": 0.0,
// "assign_qty": 0.0,
// "unit_id": "单位",
// "pcsn": "批次",
// "children": [
// {
// "id": "",
// "code": "bbb",
// "proc_inst_id": "",
// "source_form_id": "",
// "source_form_type": "",
// "source_form_date": "",
// "form_type": "",
// "status": "",
// "remark": "",
// "create_time": "",
// "create_name": "",
// "material_id": "",
// "material_name": "物料名称",
// "material_code": "物料编码",
// "material_spec": "物料类型",
// "single_weight": "",
// "qty": 10.0,
// "plan_qty": 0.0,
// "assign_qty": 0.0,
// "unit_id": "单位",
// "pcsn": "批次",
// "vehicle_code": "",
// "vehicle_id": "",
// "form_data": {
// "": {}
// },
// "parent_id": "",
// "HasChildren": "public static final Boolean FALSE = new Boolean(false);"
// }
// ]
// }
// ],
// "data": {},
// "code": "200",
// "msg": ""
// }
// return res
// }
export const outStorageConfirm = (obj) => request({
url:'api/pda/outStorage/confirm',
data: obj