From a83781bc4e66b8b3bf19fb371d7da7bede0a5b25 Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期一, 01 十二月 2025 13:55:45 +0800
Subject: [PATCH] 提交

---
 项目代码/WIDESEA_WMSClient/src/extension/inbound/extend/PickingRetuenPallet.vue      |    3 ++-
 项目代码/WIDESEA_WMSClient/src/extension/inbound/extend/AllocatedPallet.vue          |    3 ++-
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/MaterielGroupDTO.cs           |    2 ++
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundPickingService.cs |   18 +++++++++---------
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs            |    7 +++++--
 5 files changed, 20 insertions(+), 13 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/AllocatedPallet.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/AllocatedPallet.vue"
index cfe8cc1..fce70b0 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/AllocatedPallet.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/AllocatedPallet.vue"
@@ -892,7 +892,8 @@
             barcodes: barcode,
             locationTypeDesc:  this.currentLocationDesc,
             locationType: this.form.locationType, // 娣诲姞浠撳簱鍖哄煙淇℃伅
-            warehouseType:this.form.warehouseType
+            warehouseType:this.form.warehouseType,
+            orderTypes: 117
           } 
         );
         
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/PickingRetuenPallet.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/PickingRetuenPallet.vue"
index 7cf5a0d..a99859c 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/PickingRetuenPallet.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/PickingRetuenPallet.vue"
@@ -834,7 +834,8 @@
             barcodes: barcode,
             locationTypeDesc: this.currentLocationDesc,
             locationType: this.form.locationType, // 娣诲姞浠撳簱鍖哄煙淇℃伅
-            warehouseType: this.form.warehouseType
+            warehouseType: this.form.warehouseType,
+            orderTypes: 116
           }
         );
 
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/MaterielGroupDTO.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/MaterielGroupDTO.cs"
index 85d33d3..2253e16 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/MaterielGroupDTO.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_DTO/Inbound/MaterielGroupDTO.cs"
@@ -38,6 +38,8 @@
         public string WarehouseType { get; set; }
 
         public string locationTypeDesc { get; set; }    
+
+        public int orderTypes { get; set; }
     }
 
     [ModelValidate]
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundPickingService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundPickingService.cs"
index 448d71e..08aaba5 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundPickingService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundPickingService.cs"
@@ -2024,16 +2024,16 @@
                            materialCode = group.Key.MaterielCode,
                            lineNo = group.Key.lineNo,
                            warehouseCode = group.Key.WarehouseCode,
-                           qty = group.Sum(x => x.PickedQty),
-                           currentDeliveryQty = group.Sum(x => x.PickedQty),
+                           qty = group.Sum(x => x.BarcodeQty),
+                           currentDeliveryQty = group.Sum(x => x.BarcodeQty),
                            unit = group.Key.Unit,
                            barcodes = group.Select(row => new WIDESEA_DTO.Outbound.BarcodesModel
                            {
                                barcode = row.CurrentBarcode,
                                supplyCode = row.SupplyCode,
                                batchNo = row.BatchNo,
-                               unit = row.Unit,
-                               qty = row.PickedQty
+                               unit = row.BarcodeUnit,
+                               qty = row.BarcodeQty
                            }).ToList()
                        }).ToList();
 
@@ -2828,7 +2828,7 @@
                         var detailModel = new FeedbackOutboundDetailsModel
                         {
                             materialCode = detail.MaterielCode,
-                            lineNo = detail.lineNo, // 娉ㄦ剰锛氳繖閲屽彲鑳介渶瑕佽皟鏁村瓧娈靛悕
+                            lineNo = detail.lineNo,  
                             warehouseCode = detail.WarehouseCode,
                             qty = detail.OverOutQuantity, // 浣跨敤璁㈠崟鏄庣粏鐨勫凡鍑哄簱鏁伴噺
                             currentDeliveryQty = detail.OverOutQuantity,
@@ -2838,8 +2838,8 @@
                                 barcode = lockInfo.CurrentBarcode,
                                 supplyCode = lockInfo.SupplyCode,
                                 batchNo = lockInfo.BatchNo,
-                                unit = lockInfo.Unit,
-                                qty = lockInfo.PickedQty // 鏉$爜绾у埆鐨勬暟閲忎粛鐢ㄩ攣瀹氳褰�
+                                unit = lockInfo.BarcodeUnit,
+                                qty = lockInfo.BarcodeQty //  
                             }).ToList()
                         };
 
@@ -2968,9 +2968,9 @@
                         InboundOrderNo = dbinboundOrderDetails.First()?.OrderNo,
                         UpperOrderNo = dbinboundOrderDetails.First()?.OrderNo,
                         SupplierId = dbinboundOrderDetails.First()?.SupplyCode,
-                        OrderType = InOrderTypeEnum.InternalAllocat.ObjToInt(),
+                        OrderType = materielGroupDTO.orderTypes,
 
-                        BusinessType = InOrderTypeEnum.InternalAllocat.ObjToInt().ToString(),
+                        BusinessType = materielGroupDTO.orderTypes.ToString(),
 
                         FactoryArea = dbinboundOrderDetails.First()?.FactoryArea,
                         Remark = "",
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
index a52ad39..c391d2d 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
@@ -330,6 +330,9 @@
                     else if (inboundOrder.OrderType == InOrderTypeEnum.InternalAllocat.ObjToInt()) //鏅轰粨璋冩櫤浠�
                     {
                         _logger.LogInformation($"InboundTaskCompleted 鍥炲啓MES  : {inboundOrder.InboundOrderNo }  ,ordertype: {InOrderTypeEnum.InternalAllocat.ObjToInt()} "  );
+
+
+
                     }
                     else
                     {
@@ -725,8 +728,8 @@
                                     barcode = lockInfo.CurrentBarcode,
                                     supplyCode = lockInfo.SupplyCode,
                                     batchNo = lockInfo.BatchNo,
-                                    unit = lockInfo.Unit,
-                                    qty = lockInfo.PickedQty // 鏉$爜绾у埆鐨勬暟閲忎粛鐢ㄩ攣瀹氳褰�
+                                    unit = lockInfo.BarcodeUnit,
+                                    qty = lockInfo.BarcodeQty // 鏉$爜绾у埆鐨勬暟閲忎粛鐢ㄩ攣瀹氳褰�
                                 }).ToList()
                             };
 

--
Gitblit v1.9.3