From fe256a7afaa132910875d3dc73783d9ab2d7ace5 Mon Sep 17 00:00:00 2001
From: liulijun <liulijun@hnkhzn.com>
Date: 星期四, 12 三月 2026 18:57:44 +0800
Subject: [PATCH] 老厂排程单页面增加用纸顺序号和是否缺料

---
 项目代码/WMS/WMSServices/WIDESEA_TaskInfoService/TaskService_Outbound.cs |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/TaskService_Outbound.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/TaskService_Outbound.cs"
index adae872..99b483c 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/TaskService_Outbound.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/TaskService_Outbound.cs"
@@ -59,6 +59,10 @@
                 {
                     return content.Error($"鐢熸垚浠诲姟澶辫触");
                 }
+                tasks.ForEach(x =>
+                {
+                    x.Grade = 99;
+                });
                 stockInfos.ForEach(x =>
                 {
                     x.StockStatus = StockStatusEmun.鍑哄簱閿佸畾.ObjToInt();
@@ -893,11 +897,13 @@
                     }
                 }
                 #endregion
+                List<Dt_OutLineView> outLineViewsDel = _outboundRepository.OutLineViewRepository.QueryData(x => stockInfos.Select(x=>x.PalletCode).Contains(x.PalletCode));
                 _unitOfWorkManage.BeginTran();
                 _stockRepository.StockInfoRepository.UpdateData(stockInfos);
                 _outboundRepository.OutStockLockInfoRepository.UpdateData(outStockLockInfos);
                 _outboundRepository.OutSGOrderRepository.UpdateData(outSGOrders);
                 _outboundRepository.OutSGOrderDetailRepository.UpdateData(orderDetails);
+                _outboundRepository.OutLineViewRepository.DeleteData(outLineViewsDel);
                 _unitOfWorkManage.CommitTran();
                 content.OK(ExistNoCodes.Count>0 ? string.Join(",", ExistNoCodes)+"鑰佸巶鍙墸搴撳瓨涓嶅瓨鍦�" : "");
             }

--
Gitblit v1.9.3