| | |
| | | |
| | | var pkgList = GetPackageList(CurPkg.Item); |
| | | |
| | | //包装信息保存到在制品信息表 |
| | | foreach (var wipSN in CurPosition.CurWipSNs) |
| | | { |
| | | wipSN.TRAY_SN = CurPkg.Item.Package.SN; |
| | | wipSN.CARTON_SN = CurPkg.Item.Package.SN; |
| | | } |
| | | //包装信息保存到工单条码明细表 |
| | | var woSNs = CurPosition.WorkBatch.WoSNs.Where(q => CurPosition.CurWipSNs.Any(w => q.SN == w.SN)).ToList(); |
| | | foreach (var woSN in woSNs) |
| | | { |
| | |
| | | { |
| | | var db = CurPosition.GetCommitDB(); |
| | | db.Storageable(wipActs, CurPosition.UserCode).ExecuteCommand(); |
| | | //db.Storageable(CurPosition.CurWipSNs, CurPosition.UserCode).ExecuteCommand(); |
| | | //db.Storageable(woSNs, CurPosition.UserCode).ExecuteCommand(); |
| | | }; |
| | | |