编辑生产工单
接口地址:
https://v3-hw-openapi.blacklake.cn/api/schedule-for-openapi/med/open/v1/work_order/update
接口功能描述: 编辑生产工单
请求方式: POST
接口备注: 无
请求体参数(见MES接口文档):
请求体样例:
{
"code": "test1118",
"workOrderBaseCO": {
"code": "test1118",
"remark": "修改测试"
}
"outputMaterials": [{
"workOrderCode": "test1118",
"lineSeq": "0",
"main": 1,
"materialCode": "S03.05.125-TEST",
"unitCode": "千克",
"plannedAmount": "100",
"batchGenerationType": 3,
"productRate": "1",
"singleWorkReportAmount": "2",
"processCode": "GMWL1025",
"reportingMethods": [1, 3],
"warehousing": 1,
"autoWarehousingFlag": 1
}],
"inputMaterials": [{
"seq": "10",
"materialCode": "S01.04.125",
"materialName": "桂满乌龙-22全1(古茗)",
"unitName": "个",
"subInputAmountDenominator": "1",
"subInputAmountNumerator": "1",
"workOrderCode": "test1118"
}],
"controlInfos": [{
"seq": "10",
"lineSeq": "1",
"workOrderCode": "test1118",
"materialCode": "S01.04.125",
"materialName": "QFF-0004(奇鼎)",
"inputAmountDenominator": "1",
"inputAmountNumerator": "1"
}]
}
响应体样例:无