feat(pmo): 真空MES-工单接口-增加工单id
This commit is contained in:
parent
7de733be00
commit
7abb34d9e3
|
|
@ -85,6 +85,7 @@ public class AfterPmoSyncZkMesRule implements IRule<PMOAggVO> {
|
|||
}
|
||||
PMOHeadVO pmoHeadVO = vo.getParentVO();
|
||||
PMOItemVO[] itemVOS = vo.getChildrenVO();
|
||||
String cpmohid = pmoHeadVO.getCpmohid();
|
||||
String vbillcode = pmoHeadVO.getVbillcode();
|
||||
UFDate dbilldate = pmoHeadVO.getDbilldate();
|
||||
// 组装数据
|
||||
|
|
@ -106,7 +107,8 @@ public class AfterPmoSyncZkMesRule implements IRule<PMOAggVO> {
|
|||
JSONObject itemObj = new JSONObject();
|
||||
itemObj.put("WorkOrderNo", vbillcode);// 工单号
|
||||
itemObj.put("SendDate", SendDate);// 接收日期
|
||||
itemObj.put("ERPOrderCode", item.getCmoid());// ERP的工单ID
|
||||
itemObj.put("ERPOrderCode", item.getCmoid());// ERP的工单行ID
|
||||
itemObj.put("orderId", cpmohid);// ERP的工单ID
|
||||
itemObj.put("OrderNum", item.getNastnum().toString());// 工单数量
|
||||
itemObj.put("materialvid", materialCode);// 物料编码
|
||||
itemObj.put("unitid", unitCode);// 计量单位编码
|
||||
|
|
|
|||
Loading…
Reference in New Issue