From 19d2f753564945c8d8f6503535b9207820ac584b Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期四, 15 八月 2024 08:58:56 +0800 Subject: [PATCH] 工单增加来源单号 --- Tiger.Business.MES/WorkAction/WipExtInfo.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Tiger.Business.MES/WorkAction/WipExtInfo.cs b/Tiger.Business.MES/WorkAction/WipExtInfo.cs index 1854d85..7f445e4 100644 --- a/Tiger.Business.MES/WorkAction/WipExtInfo.cs +++ b/Tiger.Business.MES/WorkAction/WipExtInfo.cs @@ -54,6 +54,7 @@ AUTH_ORG = wipSN.AUTH_ORG, AUTH_PROD = wipSN.AUTH_PROD, SN = wipSN.SN, + WIP_ID = wipSN.ID, }); } } @@ -133,7 +134,6 @@ } //閮芥病鏈夌墿鏂欓獙璇侀�氳繃锛屽垯杩斿洖閿欒淇℃伅 - } catch (System.Exception ex) { @@ -162,6 +162,7 @@ { AUTH_ORG = CurPosition.WorkBatch.WO.AUTH_ORG, AUTH_PROD = CurPosition.CurLine.LINE_CODE, + WIP_ID = wipSn.ID, HIS_ID = CurPosition.CurWipSNHiss.First(q => q.SN == wipSn.SN).ID, SN = wipSn.SN, STATUS = wipSn.STATUS, @@ -179,7 +180,11 @@ POST_CODE = wipSn.POST_CODE, OPER_CODE = wipSn.OPER_CODE, SEGMENT = wipSn.SEGMENT, + FLOW_SN = wipSn.FLOW_SN, TRAY_SN = wipSn.TRAY_SN, + INNER_SN = wipSn.INNER_SN, + CARTON_SN = wipSn.CARTON_SN, + PALLET_SN = wipSn.PALLET_SN, OPERATION_TIME = DateTime.Now, SFTS_CODE = wipSn.SFTS_CODE, SFT_CODE = wipSn.SFT_CODE, -- Gitblit v1.9.3