## 委外报工统计
~~~[api]
post:/vcrm/script/api/exec
*string:apikey=hb.searchData#请求接口KEY
*string:pushType=getOutsourcePwReport#推送类型
string:pushParams#推送参数,json,{"dataId":"1","operateType":""},operateType值为 insert|update|delete 中一个,dataId 值为 明细id
int:pageIndex#分页索引,从 1 开始
int:pageSize#返回记录数,如果是 -1 表示所有数据,忽略 pageIndex 参数值
<<<
success
{
"status": "00000",
"sync": true,
"data": {
"count": 1, // 查询总记录数
"dataList": [
{
"outsourceReceiptDetailId": 52,//委外收货明细ID,唯一键
"outsourceRequirementTechniqueId": 280, // 委外任务单工序id
"pTechniqueId": 2747, // 基础工序id
"pwTechniqueId": 21650, // 工单工序id(暂不用)
"pTechniqueName": "522半检", // 工序名称
"salesOrderSn": "2023-6-14 13:45:50", // 销售订单号
"goodsId": 8010, // 物料id-委外任务单产成品
"goodsName": "0615款式-织造主部件-色胚", // 物料名称
"goodsCode": "2023-6-14 13:28:37-706-SP", // 物料编码
"goodsModelName": "午夜蓝 H80 ", // 物料特征
"partColorId": "1752", // 物料颜色id
"partColorName": "午夜蓝", // 物料颜色名称
"partSizeId": "1870", // 物料尺码id
"partSizeName": "H80", // 物料尺码名称
"outsourceProcessId": 744, // 委外工艺id
"outsourceProcessName": "染色", // 委外工艺名称
"mainGoodsId": 8008, // 款式id
"mainGoodsCode": "2023-6-14 13:28:37", // 款式编码
"mainGoodsName": "0615款式", // 款名称
"mainGoodsModelName": "午夜蓝 H80 ", // 款特征
"mainColorId": "1752", // 款颜色id
"mainColorName": "午夜蓝", // 款颜色名称
"mainSizeId": "1870", // 款尺码id
"mainSizeName": "H80", // 款尺码名称
"tankNo": "5555555",//本厂缸号
"tankNoRs": "555556",//染色缸号
"receiptNumPiece": 1,//收货件数
"receiptNum": 30,//收货数量
"fzId": 3800,//缝制工单id
"fzSn": "SCGD20230614711551",//缝制工单编号
"qualifiedCount": 30, // 合格数
"unqualifiedCount": 12, // 次品数
"wasteCount": 0, // 废品数
"outsourceReportList": [{
"outsourceReportId": 54, //委外报工单ID
"outsourceReceiptId": 48,//委外收货单ID
"outsourceReceiptDetailId": 52,//委外收货单明细ID
"outsourcePwId": 651,//委外工单ID
"outsourcePwDetailId": 359,//委外工单明细ID
"outsourceRequirementId": 1516,//委外需求ID
"outsourceRequirementTechniqueId": 280,//委外需求工艺ID
"pTechniqueId": 2747,//工艺ID
"techniqueRequire": "231231231",//工艺要求
"inspectCount": 2,//检验数
"qualifiedCount": 1,//正品数
"unqualifiedCount": 1,//次品数
"wasteCount": 0,//废品数
"frameNum": "",//框号
"operateUserId": null,//操作人ID
"hbUserId":"1679626709827769671",//汉帛用户ID
"barcode": null,//条码
"remark": ""//备注
}, {
"outsourceReportId": 55,
"outsourceReceiptId": 48,
"outsourceReceiptDetailId": 52,
"outsourcePwId": 651,
"outsourcePwDetailId": 359,
"outsourceRequirementId": 1516,
"outsourceRequirementTechniqueId": 280,
"pTechniqueId": 2747,
"techniqueRequire": "231231231",
"inspectCount": 3,
"qualifiedCount": 2,
"secondQualifiedCount": 0,//可制品
"unqualifiedCount": 0,
"wasteCount": 0,
"frameNum": "",
"operateUserId": null,
"barcode": null,
"remark": ""
}, {
"outsourceReportId": 56,
"outsourceReceiptId": 48,
"outsourceReceiptDetailId": 52,
"outsourcePwId": 651,
"outsourcePwDetailId": 359,
"outsourceRequirementId": 1516,
"outsourceRequirementTechniqueId": 280,
"pTechniqueId": 2747,
"techniqueRequire": "231231231",
"inspectCount": 23,
"qualifiedCount": 23,
"unqualifiedCount": 11,
"wasteCount": 0,
"frameNum": "",
"operateUserId": null,
"barcode": null,
"remark": ""
}, {
"outsourceReportId": 57,
"outsourceReceiptId": 48,
"outsourceReceiptDetailId": 52,
"outsourcePwId": 651,
"outsourcePwDetailId": 359,
"outsourceRequirementId": 1516,
"outsourceRequirementTechniqueId": 280,
"pTechniqueId": 2747,
"techniqueRequire": "231231231",
"inspectCount": 2,
"qualifiedCount": 2,
"unqualifiedCount": 0,
"wasteCount": 0,
"frameNum": "",
"operateUserId": null,
"barcode": null,
"remark": ""
}, {
"outsourceReportId": 58,
"outsourceReceiptId": 48,
"outsourceReceiptDetailId": 52,
"outsourcePwId": 651,
"outsourcePwDetailId": 359,
"outsourceRequirementId": 1516,
"outsourceRequirementTechniqueId": 280,
"pTechniqueId": 2747,
"techniqueRequire": "231231231",
"inspectCount": 2,
"qualifiedCount": 2,
"unqualifiedCount": 0,
"wasteCount": 0,
"frameNum": "",
"operateUserId": null,
"barcode": null,
"remark": ""
}]
}
]
}
}
<<<
error
{
"status": "10003",
"sync": true,
"data": {},
"info": "参数错误"
}
~~~
- 消息推送
- 查询接口
- 终端信息
- 字典管理
- 班组信息
- 车间信息
- 设备信息
- 工序工价(月度)
- 物料分类
- 工序信息
- 字典明细
- 物料信息
- 生产任务单
- 大货工艺单
- 物料领用清单(MRP运算)
- 物料领用清单(出库后)
- 质检方案
- 仓库信息
- 线边仓物料库存信息
- 委外类型
- 委外订单(新增/变更/返工完成/返工取消)
- 委外订单明细(暂不用)
- 委外报工统计
- 销售订单信息
- 包装订单单箱SKU信息
- 获取已扫描入库条码
- 普通仓物料库存信息
- 工时工价维护
- 委外报工统计V2
- 工时工价维护V2
- 获取发染色/回染数
- 物料领用清单(已出库汇总)
- 多版本款式需求查询
- 多版本款式工序查询
- 委托生产工单信息
- 委外收货质检结果
- 包装入库信息查询
- 委外收货发起入库分筐制码
- 织造下机参数录入
- 半检报工数据汇总
- 按照款式订单维度获取色纱信息
- 委外收货(筐)_瑞泽
- 领料出库单号推送
- 领料出库单明细
- 领料出库单条码