生产检验任务创建
前提条件
事件明细
事件名称 | ipqcTask_created |
---|---|
事件分类 | 生产检验任务 |
事件类型 | 后端事件 |
推送方式 | Webhook |
事件头示例
{
"headers":{
"TENANT_ID":[
"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
]
"STAFF_ID":[
"123123"
]
"x-nct-time":[
"1750351569887"
]
"business-type":[
"1611"
]
}
事件体示例
{
"requestId": "7be37078-c8be-4300-970c-9bc6fc50ce66",
"businessType": 1611,
"data": {
"workOrder": {
"id": 24110296,
"code": "B-250625-002",
"productItem": {
"itemId": "7308337992085815296",
"rootItemId": "7308337992085815296",
"itemIdOriginal": "7308337992085815296",
"rootItemIdOriginal": "7308337992085815296",
"name": "复现mrp",
"code": "复现mrp",
"baseUnit": "瓶",
"attributes": {},
"category": "饮料",
"imageUrl": "",
"type": 1,
"typeName": null,
"enableInteger": null,
"integerWay": null,
"useSN": null,
"useBatch": null,
"isConfigurable": 0,
"allowSale": null,
"allowPurchase": null,
"allowProduction": null,
"itemSpecificationConfigs": null,
"useBomVersion": null,
"assistUnit": null,
"fifoType": null,
"unit": {
"unitId": null,
"unitName": null
},
"productionUnit": {
"unitId": null,
"unitName": null
},
"jbkUnit": {
"unitId": null,
"unitName": null
},
"productionToBaseQuantity": 1,
"baseToProductionQuantity": 1,
"productionToJbkQuantity": 1,
"jbkToProductionQuantity": 1,
"itemAssistUnits": []
}
},
"taskId": 43578111,
"inspectDefectiveHandleQuantityType": 3,
"inspectMethod": 2,
"inspectType": 2,
"inspectTime": 1750821740000,
"usingUnitConvert": false,
"productQuantity": 1,
"productConfirmQuantity": 0,
"productUnQualifiedQuantity": 0,
"productQualifiedQuantity": 0,
"jbkQuantity": 1,
"jbkConfirmQuantity": 0,
"jbkUnQualifiedQuantity": 0,
"jbkQualifiedQuantity": 0,
"planQty": {
"productionUnit": {
"id": 10020451,
"name": "瓶",
"qty": 1
},
"jbkUnit": {
"id": 10020451,
"name": "瓶",
"qty": 1
}
},
"confirmQty": {
"productionUnit": {
"id": 10020451,
"name": "瓶",
"qty": 0
},
"jbkUnit": {
"id": 10020451,
"name": "瓶",
"qty": 0
}
},
"unQualifiedQty": {
"productionUnit": {
"id": 10020451,
"name": "瓶",
"qty": 0
},
"jbkUnit": {
"id": 10020451,
"name": "瓶",
"qty": 0
}
},
"qualifiedQty": {
"productionUnit": {
"id": 10020451,
"name": "瓶",
"qty": 0
},
"jbkUnit": {
"id": 10020451,
"name": "瓶",
"qty": 0
}
},
"inspectPlan": {
"id": 10012986,
"name": "专检全检"
},
"inspectStandard": {
"id": 10013289,
"name": "检验"
},
"inspectStandardItems": null,
"inspectStandardQualityItems": [
{
"id": 46842687,
"name": "检验",
"requirements": "检验;",
"dataType": 2,
"dataValue": "{\"dataValue\": \"\"}",
"value": null,
"qualified": null,
"qualityCategoryId": 0,
"qualityCategoryName": null,
"isMultiterm": 0,
"isRequired": 1
}
],
"inspectStandardParameterItems": [],
"lots": [
{
"id": 7288878855218954000,
"idStr": "7288878855218954240",
"code": "B-250625-002001",
"jobBookingRecords": [
{
"jobBookingId": 54621055,
"jobBookingTime": 1750821740000,
"productionQty": 1,
"jbkQty": 1,
"newJbkQty": {
"productionUnit": {
"id": 10020451,
"name": "瓶",
"qty": 1
},
"jbkUnit": {
"id": 10020451,
"name": "瓶",
"qty": 1
}
},
"staffName": "内部账号-张海佳"
}
]
}
],
"containers": [
{
"id": 7288878855218954000,
"idStr": "7288878855218954240",
"code": "B-250625-002001",
"containerType": 1,
"originCode": null,
"order": null,
"jobBookingRecords": [
{
"jobBookingId": 54621055,
"jobBookingTime": 1750821740000,
"productionQty": 1,
"jbkQty": 1,
"newJbkQty": {
"productionUnit": {
"id": 10020451,
"name": "瓶",
"qty": 1
},
"jbkUnit": {
"id": 10020451,
"name": "瓶",
"qty": 1
}
},
"staffName": "内部账号-张海佳"
}
]
}
],
"inspectRecords": [],
"procedure": null
}
}
修改于 2025-06-26 03:56:51