From 2420648a1522c2e1cd8138bb43dd7d46a6561a1a Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期三, 25 九月 2024 23:37:04 +0800 Subject: [PATCH] 厂内码客户码绑定增加包装工单和成品料号 --- Tiger.Business.MES/WorkAction/ThreeInOne.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Tiger.Business.MES/WorkAction/ThreeInOne.cs b/Tiger.Business.MES/WorkAction/ThreeInOne.cs index a20e632..94e5ea3 100644 --- a/Tiger.Business.MES/WorkAction/ThreeInOne.cs +++ b/Tiger.Business.MES/WorkAction/ThreeInOne.cs @@ -326,8 +326,8 @@ //鏇存柊鍘傚唴娴佺▼鐮� FlowCSN.CUST_CODE = CurPosition.WorkBatch.WO.CUST_CODE; - FlowCSN.WORK_ORDER = CurPosition.WorkBatch.WO.ORDER_NO; - FlowCSN.ITEM_CODE = CurPosition.WorkBatch.WO.ITEM_CODE; + FlowCSN.PKG_ORDER = CurPosition.WorkBatch.WO.ORDER_NO; + FlowCSN.PROD_CODE = CurPosition.WorkBatch.WO.ITEM_CODE; //璁板綍琛屼负鎿嶄綔璁板綍 var wipActs = new List<MES_WIP_ACT>(); @@ -381,6 +381,7 @@ ACT_VALUE_1 = Label.LABEL_CODE, ACT_VALUE_2 = Label.Variables.ToJson(), ACT_RESULT = "Y", + ELAPSED_TIME = CurStep.GetElapsedTime().TotalMilliseconds.ToInt64(), TRACE_INFO = $"鍘傚唴鏉$爜[{FlowCSN.FLOW_SN}]缁戝畾瀹㈡埛鏉$爜[{FlowCSN.CUST_SN}]鎴愬姛", }; wipActs.Add(wipAct); -- Gitblit v1.9.3