From bb59bad1722135ca84a556afa73df0dd6394910b Mon Sep 17 00:00:00 2001 From: liuwf Date: Sat, 11 May 2024 12:11:53 +0800 Subject: [PATCH] =?UTF-8?q?change-=E6=96=B0=E8=80=81=E7=BA=BF=E6=88=90?= =?UTF-8?q?=E5=93=81=E4=B8=8B=E7=BA=BF=E8=BF=94=E5=B7=A5=E5=8D=95=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Aucma.Core.ProductOffLine/Business/offLineBusiness.cs | 3 ++- Aucma.Core.ProductOffLineCX1/Business/offLineBusiness.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Aucma.Core.ProductOffLine/Business/offLineBusiness.cs b/Aucma.Core.ProductOffLine/Business/offLineBusiness.cs index 1569e042..97f6fda0 100644 --- a/Aucma.Core.ProductOffLine/Business/offLineBusiness.cs +++ b/Aucma.Core.ProductOffLine/Business/offLineBusiness.cs @@ -857,7 +857,8 @@ namespace Aucma.Core.ProductOffLine.Business } else { - if (orderType == 3) + // 郑总提出,订单号去0,第一位是1为正常订单,3为返工订单,返工单可以直接放行 + if (orderType == 3 || TempOffLineInfo.ProductOrderNo.Substring(0,1)=="3") { log.Info(TempOffLineInfo.ProductSNCode + "返工单条码重复上传,可以再次放行"); TempOffLineInfo.MsgInfo = TempOffLineInfo.ProductSNCode + "返工单条码重复上传,可以再次放行"; diff --git a/Aucma.Core.ProductOffLineCX1/Business/offLineBusiness.cs b/Aucma.Core.ProductOffLineCX1/Business/offLineBusiness.cs index 92eaa8bb..fc746f10 100644 --- a/Aucma.Core.ProductOffLineCX1/Business/offLineBusiness.cs +++ b/Aucma.Core.ProductOffLineCX1/Business/offLineBusiness.cs @@ -852,7 +852,8 @@ namespace Aucma.Core.ProductOffLineCX1.Business } else { - if (orderType == 3) + // 郑总提出,订单号去0,第一位是1为正常订单,3为返工订单,返工单可以直接放行 + if (orderType == 3 || TempOffLineInfo.ProductOrderNo.Substring(0, 1) == "3") { log.Info(TempOffLineInfo.ProductSNCode + "返工单条码重复上传,可以再次放行"); TempOffLineInfo.MsgInfo = TempOffLineInfo.ProductSNCode + "返工单条码重复上传,可以再次放行";