🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 委外报工统计V2 ~~~[api] post:/vcrm/script/api/exec *string:apikey=hb.searchData#请求接口KEY *string:pushType=getOutsourcePwReportV2#推送类型 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 "outsourceRequirementId":3606,//委外任务单ID "outsourceReportAllotId":5641,//委外任务分配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,//收货数量 "allotNum":30,//分配数量 "fzId": 3800,//缝制工单id "fzSn": "SCGD20230614711551",//缝制工单编号 "allotUserId":xxx@xunkukeji.com,//分配操作工 "qualifiedCount": 30, // 合格数 "secondQualifiedCount": 1, // 可制品数 "unqualifiedCount": 12, // 次品数 "wasteCount": 0, // 废品数 "isAbrazine":"1", // 是否磨砂委外 0否1是【瑞泽项目】 "outsourceReportList": [{ "outsourceReportId": 54, //委外报工单ID "outsourceReceiptId": 48,//委外收货单ID "outsourceReceiptDetailId": 52,//委外收货单明细ID "outsourceReportAllotId":5641,//委外任务分配ID "outsourcePwId": 651,//委外工单ID "outsourcePwDetailId": 359,//委外工单明细ID "outsourceRequirementId": 1516,//委外需求ID "outsourceRequirementTechniqueId": 280,//委外需求工艺ID "pTechniqueId": 2747,//工艺ID "techniqueRequire": "231231231",//工艺要求 "reportStyles": "1",// 报工类型 1:正品;5:可制品 "inspectCount": 2,//检验数 "qualifiedCount": 1,//正品数 "secondQualifiedCount": 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, "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": "参数错误" } ~~~