单据出库修改
This commit is contained in:
115
utils/mork2.js
115
utils/mork2.js
@@ -95,4 +95,119 @@ export const groupMaterList = () => {
|
||||
msg: '查询成功'
|
||||
}
|
||||
return res
|
||||
}
|
||||
export const outStorageOrder = () => {
|
||||
let res = [{value: '1', text: 'a'}]
|
||||
return res
|
||||
}
|
||||
export const outStorageOrderList = (page, size, type) => {
|
||||
let res = {
|
||||
"totalElements": 10,
|
||||
"content": [
|
||||
{
|
||||
"code": "PPBOM241102856",
|
||||
"form_type": "单据类型",
|
||||
"remark": "备注",
|
||||
"create_time": "2024-10-20 21:41:50",
|
||||
"create_name": "创建人",
|
||||
"material_code": "04.01.DY.00531",
|
||||
"qty": 0.0,
|
||||
"sto_qty": 8888,
|
||||
"plan_qty": 0.0,
|
||||
"assign_qty": 0.0,
|
||||
"unit_name": "单位",
|
||||
"pcsn": "批次",
|
||||
"stor_code": "FStockPallet",
|
||||
"product_area": "A4",
|
||||
"children": [
|
||||
{
|
||||
"code": "bbb",
|
||||
"material_name": "白色插座下线套 (模号587#)(色号12081407乳白)",
|
||||
"material_code": "物料编码",
|
||||
"material_spec": "物料类型",
|
||||
"stor_code": "FStockPallet",
|
||||
"product_area": "A4",
|
||||
"qty": 10.0,
|
||||
"plan_qty": 0.0,
|
||||
"assign_qty": 0.0,
|
||||
"unit_name": "单位",
|
||||
"pcsn": "批次",
|
||||
},
|
||||
{
|
||||
"code": "CCC",
|
||||
"material_name": "物料名称",
|
||||
"material_code": "物料编码",
|
||||
"material_spec": "物料类型",
|
||||
"stor_code": "FStockPallet",
|
||||
"product_area": "A4",
|
||||
"qty": 10.0,
|
||||
"plan_qty": 0.0,
|
||||
"assign_qty": 0.0,
|
||||
"unit_name": "单位",
|
||||
"pcsn": "批次"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"data": {},
|
||||
"code": "200",
|
||||
"msg": ""
|
||||
}
|
||||
return res
|
||||
}
|
||||
export const outStorageOrderConfirm = (code) => {
|
||||
let res = {
|
||||
"totalElements": 10,
|
||||
"content": [
|
||||
{
|
||||
"code": "PPBOM241102856",
|
||||
"form_type": "单据类型",
|
||||
"remark": "备注",
|
||||
"create_time": "2024-10-20 21:41:50",
|
||||
"create_name": "创建人",
|
||||
"material_code": "04.01.DY.00531",
|
||||
"qty": 0.0,
|
||||
"sto_qty": 8888,
|
||||
"plan_qty": 0.0,
|
||||
"assign_qty": 0.0,
|
||||
"unit_name": "单位",
|
||||
"pcsn": "批次",
|
||||
"stor_code": "FStockPallet",
|
||||
"product_area": "A4",
|
||||
"children": [
|
||||
{
|
||||
"code": "bbb",
|
||||
"material_name": "白色插座下线套 (模号587#)(色号12081407乳白)",
|
||||
"material_code": "物料编码",
|
||||
"material_spec": "物料类型",
|
||||
"stor_code": "FStockPallet",
|
||||
"product_area": "A4",
|
||||
"qty": 10.0,
|
||||
"sto_qty": 8888,
|
||||
"plan_qty": 0.0,
|
||||
"assign_qty": 0.0,
|
||||
"unit_name": "单位",
|
||||
"pcsn": "批次",
|
||||
},
|
||||
{
|
||||
"code": "CCC",
|
||||
"material_name": "物料名称",
|
||||
"material_code": "物料编码",
|
||||
"material_spec": "物料类型",
|
||||
"stor_code": "FStockPallet",
|
||||
"product_area": "A4",
|
||||
"qty": 10.0,
|
||||
"plan_qty": 0.0,
|
||||
"assign_qty": 0.0,
|
||||
"unit_id": "单位",
|
||||
"pcsn": "批次"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"data": {},
|
||||
"code": "200",
|
||||
"msg": ""
|
||||
}
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user