| | |
| | | var cntrItemRels = ContainerHelper.GetCntrItemRel(cntrCode); |
| | | if (cntrItemRels != null && cntrItemRels.Count > 0) |
| | | { |
| | | LogHelper.Info($"OperateGZTaskStatus: 2 ,cntrCode:{cntrCode},S_ASN_NO ={cntrItemRels[0].S_ASN_NO},", "WMS"); |
| | | var inStockListChilds = WMSHelper.getInstockListChild(cntrCode, cntrItemRels[0].S_ASN_NO); |
| | | var cntrItemRel = cntrItemRels[0]; |
| | | LogHelper.Info($"OperateGZTaskStatus: 2 ,cntrCode:{cntrCode},S_ASN_NO ={cntrItemRel.S_ASN_NO},", "WMS"); |
| | | var inStockListChilds = WMSHelper.getInstockListChild(cntrCode, cntrItemRel.S_ASN_NO); |
| | | LogHelper.Info($"OperateGZTaskStatus: 2 ,inStockListChilds.count:{inStockListChilds.Count}", "WMS"); |
| | | if (inStockListChilds != null && inStockListChilds.Count > 0) |
| | | { |
| | | LogHelper.Info("OperateGZTaskStatus: 3", "WMS"); |
| | | receiveGoodsFeedback(inStockListChilds, cntrItemRels[0].F_NET_WEIGHT.ToString(), cntrCode, TN_Task.S_END_LOC); |
| | | receiveGoodsFeedback(inStockListChilds, cntrItemRel.F_NET_WEIGHT.ToString(), cntrCode, TN_Task.S_END_LOC); |
| | | |
| | | // 入库完成,回报WMS后,更新SPA批次号 |
| | | var inStockListChildren = Monitor.getInStockTrayInfo(cntrCode); |
| | | if (inStockListChildren != null && inStockListChildren.Count > 0) |
| | | { |
| | | cntrItemRel.LOTATT04 = inStockListChildren[0].LOTATT04; |
| | | ContainerHelper.UpdateCntrItemRel(cntrItemRel); |
| | | } |
| | | } |
| | | } |
| | | } |