From 59c8d02d2bc7c7d9651edbd755ad73e4e7843ed8 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期四, 09 一月 2025 09:32:05 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn

---
 代码管理/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/deceff76-03d0-48d5-ac65-83517384b15c.vsidx |    0 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_IBasicService/IPalletCodeInfoService.cs                                   |    3 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PrintStatusEnum.cs                                      |   12 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundLockInfo.cs                              |   10 +
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs                                   |   55 +++++--
 代码管理/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/cb0e6cfe-b8a2-4bb4-9574-a561d0b9db2f.vsidx |    0 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Reloaction.cs                                 |    2 
 代码管理/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue                                                     |    8 +
 代码管理/WMS/WIDESEA_WMSClient/src/extension/stock/stockView.js                                                  |   42 +++--
 代码管理/WMS/WIDESEA_WMSClient/src/views/outbound/outboundOrder.vue                                              |   12 +
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs                   |   10 
 代码管理/WMS/WIDESEA_WMSClient/src/views/basic/palletCodeInfo.vue                                                |    4 
 代码管理/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/7642b8c6-bd3f-4908-bf14-ca43dc4c45ad.vsidx |    0 
 代码管理/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/8539cb77-7e84-4341-9770-afbaf8607c93.vsidx |    0 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/PalletCodeInfoService.cs                                     |   21 +++
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletCodeInfoController.cs                   |    6 
 代码管理/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue                                     |    5 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs                                     |  165 +++++++++++++++++------
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs                                |    5 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json                                                |    2 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderService.cs                                   |    2 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs                                            |    3 
 代码管理/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/4fec8e67-dfd5-4718-85f6-34a768d755a0.vsidx |    0 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MESRoot.cs                                                        |   20 ++
 代码管理/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/ded353f3-6bf3-40c6-8b96-96fcf461f35c.vsidx |    0 
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail.cs                           |    8 
 代码管理/WMS/WIDESEA_WMSClient/src/extension/basic/extend/printView.vue                                          |    9 +
 27 files changed, 296 insertions(+), 108 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/cb0e6cfe-b8a2-4bb4-9574-a561d0b9db2f.vsidx" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/cb0e6cfe-b8a2-4bb4-9574-a561d0b9db2f.vsidx"
new file mode 100644
index 0000000..a48cb55
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/cb0e6cfe-b8a2-4bb4-9574-a561d0b9db2f.vsidx"
Binary files differ
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/deceff76-03d0-48d5-ac65-83517384b15c.vsidx" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/deceff76-03d0-48d5-ac65-83517384b15c.vsidx"
new file mode 100644
index 0000000..10ba5b1
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/.vs/WIDESEAWCS_Server/FileContentIndex/deceff76-03d0-48d5-ac65-83517384b15c.vsidx"
Binary files differ
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/extend/printView.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/extend/printView.vue"
index e123323..5b7a400 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/extend/printView.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/basic/extend/printView.vue"
@@ -66,9 +66,16 @@
       printWindow.focus();
       printWindow.print();
       printWindow.close();
+      this.http
+            .post("api/palletCodeInfo/PrintStatusUp?printCode="+this.palletCode, null, "鏁版嵁澶勭悊涓�")
+            .then((x) => {
+              if (!x.status) return this.$message.error(x.message);
+              this.$message.success("鎿嶄綔鎴愬姛");
+              this.$parent.refresh();
+              this.showDetialBox = false;
+            });
     },
   },
-
   created() {},
 };
 </script>
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue"
index 35b3d5e..86d7f1c 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/outbound/extend/StockSelect.vue"
@@ -179,9 +179,12 @@
         });
     },
     outbound() {
+      if(this.selection.length<=0){
+        return this.$message.error("璇峰嬀閫�");
+      }
       this.http
         .post(
-          "api/Task/GenerateOutboundTask?id=" + this.row.id,
+          "api/Task/GenerateOutboundTask?orderDetailId=" + this.row.id,
           this.selection,
           "鏁版嵁澶勭悊涓�"
         )
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockView.js" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockView.js"
index e43f901..a009b54 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockView.js"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/extension/stock/stockView.js"
@@ -17,22 +17,22 @@
     methods: {
        //涓嬮潰杩欎簺鏂规硶鍙互淇濈暀涔熷彲浠ュ垹闄�
       onInit() {  
-        let InOrder = this.buttons.find(x => x.value == 'StockOutbound');
-        if (InOrder) {
-          InOrder.onClick = function () {
-            let rows = this.$refs.table.getSelected();
-            if (rows.length == 0) return this.$error("璇烽�夋嫨鏁版嵁!");
-            if (rows.length > 1) return this.$error("璇烽�夋嫨鍗曟潯鏁版嵁!");
-            var keys = rows.map(x => { return x.stockId });
-            this.http
-              .post("api/Task/Outbound?id="+keys[0], null, "鏁版嵁澶勭悊涓�")
-              .then((x) => {
-                if (!x.status) return this.$message.error(x.message);
-                this.$message.success("鎿嶄綔鎴愬姛");
-                this.refresh();
-              });
-          }
-        }
+        // let InOrder = this.buttons.find(x => x.value == 'StockOutbound');
+        // if (InOrder) {
+        //   InOrder.onClick = function () {
+        //     let rows = this.$refs.table.getSelected();
+        //     if (rows.length == 0) return this.$error("璇烽�夋嫨鏁版嵁!");
+        //     if (rows.length > 1) return this.$error("璇烽�夋嫨鍗曟潯鏁版嵁!");
+        //     var keys = rows.map(x => { return x.stockId });
+        //     this.http
+        //       .post("api/Task/Outbound?id="+keys[0], null, "鏁版嵁澶勭悊涓�")
+        //       .then((x) => {
+        //         if (!x.status) return this.$message.error(x.message);
+        //         this.$message.success("鎿嶄綔鎴愬姛");
+        //         this.refresh();
+        //       });
+        //   }
+        // }
         this.columns.forEach(column => {
           if (column.field == 'materielCode') {
             column.formatter = (row) => {
@@ -71,6 +71,16 @@
               return '<span style="color: #F56C6C">'+ daysSinceClosest+"澶�"+'</span>';
             }
           }
+          if (column.field == 'sumStock') {
+            column.formatter = (row) => {
+              var sum=0;
+              const closestDate = row.details
+              .map(x => {
+                sum+=(x.stockQuantity)
+              })
+              return '<span style="color: #F56C6C">'+ sum+row.details[0].unit+'</span>';
+            }
+          }
         })
       },
       onInited() {
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/palletCodeInfo.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/palletCodeInfo.vue"
index 991ad93..a6d37ee 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/palletCodeInfo.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/basic/palletCodeInfo.vue"
@@ -116,14 +116,14 @@
       },
       {
         field: "modifier",
-        title: "淇敼浜�",
+        title: "鏈�鍚庢墦鍗颁汉鍛�",
         type: "string",
         width: 100,
         align: "left",
       },
       {
         field: "modifyDate",
-        title: "淇敼鏃堕棿",
+        title: "鏈�鍚庢墦鍗版椂闂�",
         type: "datetime",
         width: 160,
         align: "left",
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/outbound/outboundOrder.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/outbound/outboundOrder.vue"
index 00422e9..ff1cc15 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/outbound/outboundOrder.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/outbound/outboundOrder.vue"
@@ -48,6 +48,7 @@
         field: "orderNo",
         title: "鍗曟嵁缂栧彿",
         type: "string",
+        readonly:true
       },
         {
           title: "涓婃父鍗曟嵁缂栧彿",
@@ -142,7 +143,7 @@
         type: "string",
         width: 160,
         align: "left",
-        link: true,
+        // link: true,
       },
       {
         field: "upperOrderNo",
@@ -269,6 +270,15 @@
           required: true,
         },
         {
+          field: "rowNo",
+          title: "琛屽彿",
+          type: "string",
+          width: 90,
+          align: "left",
+          edit: { type: "number" },
+          required: true,
+        },
+        {
           field: "lockQuantity",
           title: "閿佸畾鏁伴噺",
           type: "int",
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue"
index 703a792..3804f15 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSClient/src/views/stock/stockView.vue"
@@ -93,7 +93,6 @@
         align: "left",
         hidden:true
       },
-      
       {
         field: "materielCode",
         title: "鎵�鍚墿鏂欑紪鍙�",
@@ -116,6 +115,13 @@
         align: "left",
       },
       {
+        field: "sumStock",
+        title: "鎬诲簱瀛�",
+        type: "string",
+        width: 140,
+        align: "left",
+      },
+      {
         field: "row",
         title: "璐т綅琛�",
         type: "string",
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/4fec8e67-dfd5-4718-85f6-34a768d755a0.vsidx" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/4fec8e67-dfd5-4718-85f6-34a768d755a0.vsidx"
new file mode 100644
index 0000000..7722bfe
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/4fec8e67-dfd5-4718-85f6-34a768d755a0.vsidx"
Binary files differ
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/7642b8c6-bd3f-4908-bf14-ca43dc4c45ad.vsidx" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/7642b8c6-bd3f-4908-bf14-ca43dc4c45ad.vsidx"
new file mode 100644
index 0000000..6362841
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/7642b8c6-bd3f-4908-bf14-ca43dc4c45ad.vsidx"
Binary files differ
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/8539cb77-7e84-4341-9770-afbaf8607c93.vsidx" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/8539cb77-7e84-4341-9770-afbaf8607c93.vsidx"
new file mode 100644
index 0000000..95c4a80
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/8539cb77-7e84-4341-9770-afbaf8607c93.vsidx"
Binary files differ
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/ded353f3-6bf3-40c6-8b96-96fcf461f35c.vsidx" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/ded353f3-6bf3-40c6-8b96-96fcf461f35c.vsidx"
new file mode 100644
index 0000000..2812549
--- /dev/null
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/.vs/WIDESEA_WMSServer/FileContentIndex/ded353f3-6bf3-40c6-8b96-96fcf461f35c.vsidx"
Binary files differ
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/PalletCodeInfoService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/PalletCodeInfoService.cs"
index 4600058..622391f 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/PalletCodeInfoService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/PalletCodeInfoService.cs"
@@ -4,6 +4,7 @@
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using WIDESEA_Common.CommonEnum;
 using WIDESEA_Common.WareHouseEnum;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseServices;
@@ -80,5 +81,25 @@
                 return base.AddData(palletCodeInfos);
             }
         }
+        public WebResponseContent PrintStatusUp(string printCode)
+        {
+            WebResponseContent content = new WebResponseContent();
+            try
+            {
+                Dt_PalletCodeInfo palletCodeInfo = BaseDal.QueryFirst(x=>x.PalletCode==printCode);
+                if (palletCodeInfo==null)
+                {
+                    return content.Error("鎵撳嵃鐨勬墭鐩樼爜涓嶅瓨鍦�");
+                }
+                palletCodeInfo.Status = PrintStatusEnum.Printed.ObjToInt();
+                BaseDal.UpdateData(palletCodeInfo);
+                return content.OK();
+            }
+            catch (Exception ex)
+            {
+                content.Error("閿欒:"+ex.Message);
+            }
+            return content;
+        }
     }
 }
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PrintStatusEnum.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PrintStatusEnum.cs"
index 5c4c3b3..87ab8c8 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PrintStatusEnum.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Common/CommonEnum/PrintStatusEnum.cs"
@@ -10,14 +10,14 @@
     public enum PrintStatusEnum
     {
         /// <summary>
-        /// 宸叉墦鍗�
-        /// </summary>
-        [Description("宸叉墦鍗�")]
-        Printed = 0,
-        /// <summary>
         /// 鏈墦鍗�
         /// </summary>
         [Description("鏈墦鍗�")]
-        UnPrinted =1
+        UnPrinted = 0,
+        /// <summary>
+        /// 宸叉墦鍗�
+        /// </summary>
+        [Description("宸叉墦鍗�")]
+        Printed = 1
     }
 }
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MESRoot.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MESRoot.cs"
index b7125f4..38b8feb 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MESRoot.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_DTO/MES/MESRoot.cs"
@@ -20,5 +20,23 @@
         
         public T Content { get; set; }
     }
-    
+    /// <summary>
+    ///娴嬭瘯鏋跺悓姝�
+    /// </summary>
+    public class TestToolSynInfo
+    {
+        /// <summary>
+        /// 娴嬭瘯鏋舵壒娆″彿
+        /// </summary>
+        public string ToolCode { get; set; }
+        /// <summary>
+        /// 娴嬭瘯鏋剁墿鏂欏悕绉�
+        /// </summary>
+        public string MaterialName { get; set; }
+        /// <summary>
+        /// 鍒濆瀵垮懡
+        /// </summary>
+        public int Life { get; set; }
+
+    }
 }
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IBasicService/IPalletCodeInfoService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IBasicService/IPalletCodeInfoService.cs"
index 47eef01..51916de 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IBasicService/IPalletCodeInfoService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IBasicService/IPalletCodeInfoService.cs"
@@ -3,6 +3,7 @@
 using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
+using WIDESEA_Core;
 using WIDESEA_Core.BaseServices;
 using WIDESEA_Model.Models;
 
@@ -10,5 +11,7 @@
 {
     public interface IPalletCodeInfoService : IService<Dt_PalletCodeInfo>
     {
+        //鏇存柊鎵撳嵃鐘舵��
+        WebResponseContent PrintStatusUp(string printCode);
     }
 }
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderService.cs"
index 7969fb7..177a929 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_IInboundService/IInboundOrderService.cs"
@@ -22,7 +22,7 @@
 
         WebResponseContent MaterielGroup(string palletCode, int Initiallife, int warehouseId, List<string> serNums);
 
-        WebResponseContent FeedbackInboundOrder(int id);
+        //WebResponseContent FeedbackInboundOrder(int id);
 
         WebResponseContent MaterielGroup(SaveModel saveModel);
         /// <summary>
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs"
index a3b3f9a..2ddf7aa 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_InboundService/InboundOrderService.cs"
@@ -346,7 +346,28 @@
                     beforeQuantity = stockInfo.Details.Sum(x => x.StockQuantity);
                 }
 
-                ;
+                if (warehouse.WarehouseCode == WarehouseEnum.HA64.ToString())
+                {
+                    stockInfo.Remark = Initiallife.ToString();
+                    string batchNo = models.FirstOrDefault()?.LotNo ?? "";
+                    Dt_StockInfoDetail existDetail = _stockRepository.StockInfoDetailRepository.QueryFirst(x => x.BatchNo == batchNo);
+                    if (existDetail != null)
+                    {
+                        return WebResponseContent.Instance.Error($"{batchNo}娴嬭瘯鏋跺凡瀛樺湪");
+                    }
+                    if (models.Count>=2)
+                    {
+                        return WebResponseContent.Instance.Error($"缁勭洏鏄庣粏涓嶅敮涓�");
+                    }
+                    if (palletCode.Substring(0, 1) == "6")
+                    {
+                        stockInfo.PalletType = PalletTypeEnum.MediumPallet.ObjToInt();
+                    }
+                    else
+                    {
+                        stockInfo.PalletType = PalletTypeEnum.LargestPallet.ObjToInt();
+                    }
+                }
 
                 List<Dt_StockInfoDetail> stockInfoDetails = new List<Dt_StockInfoDetail>();
                 List<int> detailKeys = new List<int>();
@@ -409,14 +430,6 @@
                 _inboundRepository.InboundOrderRepository.UpdateData(inboundOrder);
                 _recordService.StockQuantityChangeRecordService.AddStockChangeRecord(stockInfo, stockInfoDetails, beforeQuantity, totalQuantity, StockChangeTypeEnum.MaterielGroup);
                 _unitOfWorkManage.CommitTran();
-                //if (warehouse.WarehouseCode==WarehouseEnum.HA153.ToString())
-                //{
-                //    //鍚屾娴嬭瘯鏋朵俊鎭�
-                //    foreach (var model in models)
-                //    {
-                //        _taskService.TestSynStock(new TestToolSynInfo() { ToolCode = model.LotNo, Life = Initiallife });
-                //    }
-                //}
                 content.OK();
             }
             catch (Exception ex)
@@ -455,6 +468,7 @@
                 float beforeQuantity = 0;
 
                 Dt_StockInfo stockInfo = _stockRepository.StockInfoRepository.Db.Queryable<Dt_StockInfo>().Where(x => x.PalletCode == palletCode).Includes(x => x.Details).First();
+                
                 if (stockInfo == null)
                 {
                     stockInfo = new Dt_StockInfo()
@@ -473,6 +487,29 @@
                         return WebResponseContent.Instance.Error($"鎵樼洏鍙烽噸澶�");
                     }
                     beforeQuantity = stockInfo.Details.Sum(x => x.StockQuantity);
+                }
+
+                if (warehouse.WarehouseCode == WarehouseEnum.HA64.ToString())
+                {
+                    string batchNo = models.FirstOrDefault()?.LotNo ?? "";
+                    Dt_StockInfoDetail existDetail = _stockRepository.StockInfoDetailRepository.QueryFirst(x => x.BatchNo == batchNo);
+                    if (existDetail != null)
+                    {
+                        return WebResponseContent.Instance.Error($"{batchNo}娴嬭瘯鏋跺凡瀛樺湪");
+                    }
+                    if (models.Count >= 2)
+                    {
+                        return WebResponseContent.Instance.Error($"缁勭洏鏄庣粏涓嶅敮涓�");
+                    }
+                    stockInfo.Remark = Initiallife.ToString();
+                    if (palletCode.Substring(0, 1) == "6")
+                    {
+                        stockInfo.PalletType = PalletTypeEnum.MediumPallet.ObjToInt();
+                    }
+                    else
+                    {
+                        stockInfo.PalletType = PalletTypeEnum.LargestPallet.ObjToInt();
+                    }
                 }
 
                 List<Dt_StockInfoDetail> stockInfoDetails = new List<Dt_StockInfoDetail>();
@@ -517,11 +554,6 @@
                 }
                 _recordService.StockQuantityChangeRecordService.AddStockChangeRecord(stockInfo, stockInfoDetails, beforeQuantity, totalQuantity, StockChangeTypeEnum.MaterielGroup);
                 _unitOfWorkManage.CommitTran();
-                //鍚屾娴嬭瘯鏋朵俊鎭�
-                //foreach (var model in models)
-                //{
-                //    _taskService.TestSynStock(new TestToolSynInfo() { ToolCode = model.LotNo, Life = Initiallife });
-                //}
                 content.OK();
             }
             catch (Exception ex)
@@ -585,41 +617,41 @@
         /// </summary>
         /// <param name="id"></param>
         /// <returns></returns>
-        public WebResponseContent FeedbackInboundOrder(int id)
-        {
-            try
-            {
-                Dt_InboundOrder inboundOrder = Db.Queryable<Dt_InboundOrder>().Where(x => x.Id == id).Includes(x => x.Details).First();
-                if (inboundOrder == null)
-                {
-                    return WebResponseContent.Instance.Error($"鏈壘鍒板叆搴撳崟淇℃伅");
-                }
-                if (inboundOrder.Details == null || inboundOrder.Details.Count == 0)
-                {
-                    return WebResponseContent.Instance.Error($"鏈壘鍒板叆搴撳崟鏄庣粏淇℃伅");
-                }
-                if (inboundOrder.OrderStatus == InOrderStatusEnum.鍏ュ簱瀹屾垚.ObjToInt())
-                {
-                    return WebResponseContent.Instance.Error($"鍏ュ簱鍗曟嵁宸插畬鎴�");
-                }
+        //public WebResponseContent FeedbackInboundOrder(int id)
+        //{
+        //    try
+        //    {
+        //        Dt_InboundOrder inboundOrder = Db.Queryable<Dt_InboundOrder>().Where(x => x.Id == id).Includes(x => x.Details).First();
+        //        if (inboundOrder == null)
+        //        {
+        //            return WebResponseContent.Instance.Error($"鏈壘鍒板叆搴撳崟淇℃伅");
+        //        }
+        //        if (inboundOrder.Details == null || inboundOrder.Details.Count == 0)
+        //        {
+        //            return WebResponseContent.Instance.Error($"鏈壘鍒板叆搴撳崟鏄庣粏淇℃伅");
+        //        }
+        //        if (inboundOrder.OrderStatus == InOrderStatusEnum.鍏ュ簱瀹屾垚.ObjToInt())
+        //        {
+        //            return WebResponseContent.Instance.Error($"鍏ュ簱鍗曟嵁宸插畬鎴�");
+        //        }
 
-                List<Dt_StockInfo> stockInfos = Db.Queryable<Dt_StockInfo>().Where(x => x.Details.Any(v => v.OrderNo == inboundOrder.InboundOrderNo)).Includes(x => x.Details).ToList();
-                List<Dt_Warehouse> warehouses = Db.Queryable<Dt_Warehouse>().ToList();
+        //        List<Dt_StockInfo> stockInfos = Db.Queryable<Dt_StockInfo>().Where(x => x.Details.Any(v => v.OrderNo == inboundOrder.InboundOrderNo)).Includes(x => x.Details).ToList();
+        //        List<Dt_Warehouse> warehouses = Db.Queryable<Dt_Warehouse>().ToList();
 
-                List<ERPInboundDetailModel> detailModels = new List<ERPInboundDetailModel>();
-                foreach (var item in inboundOrder.Details)
-                {
-                    Dt_StockInfo? stockInfo = stockInfos.FirstOrDefault(x => x.Details.Any(v => v.InboundOrderRowNo == item.RowNo && v.MaterielCode == item.MaterielCode));
-                    if (stockInfo == null)
-                    {
-                        return WebResponseContent.Instance.Error($"鏈壘鍒板簱瀛樹俊鎭�");
-                    }
+        //        List<ERPInboundDetailModel> detailModels = new List<ERPInboundDetailModel>();
+        //        foreach (var item in inboundOrder.Details)
+        //        {
+        //            Dt_StockInfo? stockInfo = stockInfos.FirstOrDefault(x => x.Details.Any(v => v.InboundOrderRowNo == item.RowNo && v.MaterielCode == item.MaterielCode));
+        //            if (stockInfo == null)
+        //            {
+        //                return WebResponseContent.Instance.Error($"鏈壘鍒板簱瀛樹俊鎭�");
+        //            }
 
-                    Dt_Warehouse? warehouse = warehouses.FirstOrDefault(x => x.WarehouseId == stockInfo.WarehouseId);
-                    if (warehouse == null)
-                    {
-                        return WebResponseContent.Instance.Error($"鏈壘鍒颁粨搴撲俊鎭�");
-                    }
+        //            Dt_Warehouse? warehouse = warehouses.FirstOrDefault(x => x.WarehouseId == stockInfo.WarehouseId);
+        //            if (warehouse == null)
+        //            {
+        //                return WebResponseContent.Instance.Error($"鏈壘鍒颁粨搴撲俊鎭�");
+        //            }
 
                     ERPInboundDetailModel detailModel = new ERPInboundDetailModel()
                     {
@@ -687,5 +719,46 @@
             }
             return -1;
         }
+        //            ERPInboundDetailModel detailModel = new ERPInboundDetailModel()
+        //            {
+        //                ExpiryDate = stockInfo.Details.FirstOrDefault()?.EffectiveDate ?? "",
+        //                LocationCode = warehouse.WarehouseCode,
+        //                MaterialsCode = item.MaterielCode,
+        //                MfgDate = stockInfo.Details.FirstOrDefault()?.ProductionDate ?? "",
+        //                QtyCustoms = "0",
+        //                Quantity = stockInfo.Details.Sum(x => x.StockQuantity).ToString(),
+        //                Rack = stockInfo.LocationCode,
+        //                ReceiptCode = inboundOrder.UpperOrderNo,
+        //                ReceiptSerNo = item.RowNo.ToString()
+        //            };
+        //            detailModels.Add(detailModel);
+        //        }
+        //        Dt_Warehouse? warehouse2 = warehouses.FirstOrDefault(x => x.WarehouseId == inboundOrder.WarehouseId);
+        //        if (warehouse2 == null)
+        //        {
+        //            return WebResponseContent.Instance.Error($"鏈壘鍒颁粨搴撲俊鎭�");
+        //        }
+        //        ERPInboundModel model = new ERPInboundModel()
+        //        {
+        //            Code = inboundOrder.InboundOrderNo,
+        //            CreatorCode = inboundOrder.Creater,//娴嬭瘯
+        //            EntDate = inboundOrder.CreateDate.ToString("yyyy-MM-dd HH:mm:ss"),
+        //            StockDate = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),
+        //            SuppliersId = inboundOrder.SupplierId,
+        //            Type = "S",
+        //            UniqueTag = inboundOrder.Id.ToString(),
+        //            WarehouseCode = warehouse2.WarehouseCode,
+        //            Way = 1,
+        //            Details = detailModels
+        //        };
+        //        //娴嬭瘯娉ㄩ噴
+        //        _invokeERPService.InvokeInboundOrderApi(model);
+        //        return WebResponseContent.Instance.OK();
+        //    }
+        //    catch (Exception ex)
+        //    {
+        //        return WebResponseContent.Instance.Error(ex.Message);
+        //    }
+        //}
     }
 }
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundLockInfo.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundLockInfo.cs"
index d192ad4..190c8ae 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundLockInfo.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundLockInfo.cs"
@@ -42,7 +42,7 @@
         /// <summary>
         /// 鎵规鍙�
         /// </summary>
-        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "鎵规鍙�")]
+        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵规鍙�")]
         public string BatchNo { get; set; }
 
         /// <summary>
@@ -84,7 +84,7 @@
         /// <summary>
         /// 璐т綅缂栧彿
         /// </summary>
-        [SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "璐т綅缂栧彿")]
+        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "璐т綅缂栧彿")]
         public string LocationCode { get; set; }
 
         /// <summary>
@@ -92,7 +92,11 @@
         /// </summary>
         [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏缂栧彿")]
         public string PalletCode { get; set; }
-
+        /// <summary>
+        /// 鍗曚綅
+        /// </summary>
+        [SugarColumn(IsNullable = true, ColumnDescription = "鍗曚綅")]
+        public string Unit { get; set; }
         /// <summary>
         /// 浠诲姟鍙�
         /// </summary>
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail.cs"
index e5b4711..78a2c67 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Outbound/Dt_OutboundOrderDetail.cs"
@@ -41,7 +41,7 @@
         /// <summary>
         /// 鎵规鍙�
         /// </summary>
-        [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "鎵规鍙�")]
+        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鎵规鍙�")]
         public string BatchNo { get; set; }
 
         /// <summary>
@@ -73,7 +73,11 @@
         /// </summary>
         [SugarColumn(IsNullable = false, ColumnDescription = "璁㈠崟鏄庣粏鐘舵��")]
         public int OrderDetailStatus { get; set; }
-
+        /// <summary>
+        /// 鍗曚綅
+        /// </summary>
+        [SugarColumn(IsNullable = true, ColumnDescription = "鍗曚綅")]
+        public string Unit { get; set; }
         /// <summary>
         /// 澶囨敞
         /// </summary>
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs"
index ed179ae..3a1f80b 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutStockLockInfoService.cs"
@@ -66,7 +66,7 @@
                 PalletCode = outStock.PalletCode,
                 AssignQuantity = assignQuantity,
                 MaterielCode = outboundOrderDetail.MaterielCode,
-                BatchNo = outStock.Details.FirstOrDefault()?.BatchNo ?? "",
+                BatchNo = outboundOrderDetail.BatchNo ?? outStock.Details.FirstOrDefault()?.BatchNo,
                 LocationCode = outStock.LocationCode,
                 MaterielName = outboundOrderDetail.MaterielName,
                 OrderDetailId = outboundOrderDetail.Id,
@@ -76,7 +76,8 @@
                 Status = taskNum == null ? OutLockStockStatusEnum.宸插垎閰�.ObjToInt() : OutLockStockStatusEnum.鍑哄簱涓�.ObjToInt(),
                 StockId = outStock.Id,
                 TaskNum = taskNum,
-                OrderQuantity = outboundOrderDetail.OrderQuantity
+                OrderQuantity = outboundOrderDetail.OrderQuantity,
+                Unit=outboundOrderDetail.Unit,
             };
 
             return outStockLockInfo;
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs"
index c7cc800..b69b804 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_OutboundService/OutboundOrderService.cs"
@@ -44,7 +44,7 @@
         private readonly IInvokeERPService _invokeERPService;
         private readonly IOutStockLockInfoService _outStockLockInfoService;
 
-        public OutboundOrderService(IOutboundOrderRepository BaseDal, IMapper mapper, IUnitOfWorkManage unitOfWorkManage, IBasicService basicService, IOutboundOrderDetailRepository outboundOrderDetailRepository, IStockInfoService stockInfoService,
+        public OutboundOrderService(IOutboundOrderRepository BaseDal, IMapper mapper,IUnitOfWorkManage unitOfWorkManage, IBasicService basicService, IOutboundOrderDetailRepository outboundOrderDetailRepository, IStockInfoService stockInfoService,
           IStockInfoRepository stockInfoRepository, IInvokeERPService invokeERPService, IOutStockLockInfoService outStockLockInfoService) : base(BaseDal)
         {
             _mapper = mapper;
@@ -56,7 +56,19 @@
             _invokeERPService = invokeERPService;
             _outStockLockInfoService = outStockLockInfoService;
         }
-
+        public override WebResponseContent AddData(SaveModel saveModel)
+        {
+            if (saveModel.MainData.TryGetValue(nameof(Dt_OutboundOrder.UpperOrderNo).FirstLetterToLower(), out object? upperOrderNo) && upperOrderNo != null && !string.IsNullOrEmpty(upperOrderNo.ToString()))
+            {
+                Dt_OutboundOrder outboundOrder = BaseDal.QueryFirst(x => x.UpperOrderNo == upperOrderNo.ToString() && x.WarehouseId == Convert.ToInt32(saveModel.MainData[nameof(Dt_OutboundOrder.WarehouseId).FirstLetterToLower()]));
+                if (outboundOrder != null)
+                {
+                    return WebResponseContent.Instance.Error($"{upperOrderNo}棰嗘枡鍗曞彿宸插瓨鍦�");
+                }
+            }
+            saveModel.DetailData[0].Add("orderDetailStatus", OrderDetailStatusEnum.New.ObjToInt());
+            return base.AddData(saveModel);
+        }
         public WebResponseContent ReceiveOutOrder(ErpOutOrderDTO model)
         {
             try
@@ -112,10 +124,11 @@
                             MaterielName = materielInfo.MaterielName,
                             OrderDetailStatus = OrderDetailStatusEnum.New.ObjToInt(),
                             OrderQuantity = model.Qty,
+                            Unit=materielInfo.MaterielUnit
                         };
                         Dt_OutboundOrder outboundOrder = new Dt_OutboundOrder()
                         {
-                            OrderNo = model.OrderNo,
+                            OrderNo=model.OrderNo,
                             UpperOrderNo = model.OrderNo,
                             OrderStatus = OutOrderStatusEnum.鏈紑濮�.ObjToInt(),
                             OrderType = OutOrderTypeEnum.Issue.ObjToInt(),
@@ -172,31 +185,39 @@
             }
         }
         //涓婃姤鍑哄簱瀹屾垚
-        public WebResponseContent TestOutUpload(int id, List<Dt_OutStockLockInfo>? outStockLockInfos)
+        public WebResponseContent TestOutUpload(int id,List<Dt_OutStockLockInfo>? outStockLockInfos)
         {
             try
             {
-                Dt_OutboundOrder outboundOrder = Db.Queryable<Dt_OutboundOrder>().Where(x => x.Id == id).Includes(x => x.Details).First();
+                Dt_OutboundOrder outboundOrder = Db.Queryable<Dt_OutboundOrder>().Where(x=>x.Id==id).Includes(x=>x.Details).First();
                 Dt_Warehouse warehouse = _basicService.WarehouseService.Repository.QueryFirst(x => x.WarehouseId == outboundOrder.WarehouseId);
                 ERPIssueModel issueModel = new ERPIssueModel();
                 List<Dt_StockInfo> stockInfos = new List<Dt_StockInfo>();
-                List<Dt_OutStockLockInfo> _OutStockLockInfos = new List<Dt_OutStockLockInfo>();
+                List<Dt_OutStockLockInfo> _OutStockLockInfos=new List<Dt_OutStockLockInfo>();
+                if (outboundOrder==null)
+                {
+                    return WebResponseContent.Instance.Error("鍑哄簱鍗曚笉瀛樺湪");
+                }
+                if (outboundOrder.CreateType == OrderCreateTypeEnum.CreateInSystem.ObjToInt())
+                {
+                    return WebResponseContent.Instance.OK();
+                }
                 //娴嬭瘯鏋跺簱缁橢RP涓婃姤鍑哄簱瀹屾垚
-                if (outStockLockInfos.Count <= 0 || outStockLockInfos == null)
+                if (warehouse.WarehouseCode==WarehouseEnum.HA64.ToString())
                 {
                     stockInfos = TestOutStocksUpdate(warehouse).Data as List<Dt_StockInfo> ?? new List<Dt_StockInfo>();
-                    List<ERPPickItemModel> eRPOutPick = new List<ERPPickItemModel>();
+                    List<ERPPickItemModel> eRPOutPick =new List<ERPPickItemModel>();
                     for (int i = 0; i < stockInfos.Count; i++)
                     {
                         ERPPickItemModel pickItemModel = new ERPPickItemModel()
                         {
-                            Lotno = stockInfos[i].Details[0].BatchNo,
-                            Qty = stockInfos[i].Details[0].StockQuantity.ObjToInt().ToString(),
-                            Location = warehouse.WarehouseCode
+                            Lotno= stockInfos[i].Details[0].BatchNo,
+                            Qty= stockInfos[i].Details[0].StockQuantity.ObjToInt().ToString(),
+                            Location= warehouse.WarehouseCode
                         };
                         eRPOutPick.Add(pickItemModel);
                     }
-
+                    
                     ERPPickModel pickModel = new ERPPickModel()
                     {
                         Rowindex = outboundOrder.Details[0].RowNo,
@@ -225,8 +246,8 @@
                 }
                 else
                 {
-                    List<ERPPickModel> eRPPickModels = new List<ERPPickModel>();
-
+                    List<ERPPickModel> eRPPickModels= new List<ERPPickModel>();
+                    
                     //鑾峰彇鍑哄簱璇︽儏鍗�
                     foreach (var item in outStockLockInfos)
                     {
@@ -245,7 +266,7 @@
                             Qty = pickItemModel.Qty,
                             Dataitem = new List<ERPPickItemModel> { pickItemModel }
                         };
-                        item.Status = OutLockStockStatusEnum.鍑哄簱瀹屾垚.ObjToInt();
+                        item.Status= OutLockStockStatusEnum.鍑哄簱瀹屾垚.ObjToInt();
                         eRPPickModels.Add(pickModel);
                         _OutStockLockInfos.Add(item);
                     }
@@ -267,7 +288,7 @@
                         Issitem = new List<ERPIssueItemModel>() { issueItemModel },
                     };
                 }
-
+                
                 if (stockInfos.Count > 0)
                 {
                     _stockInfoRepository.UpdateData(stockInfos);
@@ -297,7 +318,7 @@
             {
                 //鑾峰彇鍑哄簱鍗曞簱瀛�
                 List<Dt_StockInfo> stockInfos = _stockInfoRepository.Db.Queryable<Dt_StockInfo>().Where(x => x.WarehouseId == warehouse.WarehouseId).Includes(x => x.Details).ToList();
-                if (stockInfos.Count <= 0)
+                if (stockInfos.Count<=0)
                 {
                     return WebResponseContent.Instance.Error($"搴撳瓨涓嶈冻");
                 }
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
index 108f974..394fa11 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService.cs"
@@ -226,7 +226,7 @@
                 {
                     foreach (var model in stockInfo.Details)
                     {
-                        TestSynStock(new TestToolSynInfo() { ToolCode = model.BatchNo, Life = int.TryParse(model.Remark, out int val) ? val : 1000 });
+                        TestSynStock(new TestToolSynInfo() { ToolCode = model.BatchNo,MaterialName=model.MaterielName ,Life = int.TryParse(model.Remark, out int val) ? val : 1000 });
                     }
                 }
 
@@ -337,6 +337,7 @@
                     }
                 }
 
+                task.TaskStatus = TaskStatusEnum.Finish.ObjToInt();
                 _unitOfWorkManage.BeginTran();
 
                 if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt())
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Reloaction.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Reloaction.cs"
index 532a145..b1ed752 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Reloaction.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Reloaction.cs"
@@ -134,7 +134,7 @@
                 {
                     return WebResponseContent.Instance.Error($"鏈壘鍒板搴旂殑缁堢偣璐т綅淇℃伅");
                 }
-
+                task.TaskStatus = TaskStatusEnum.Finish.ObjToInt();
                 _unitOfWorkManage.BeginTran();
                 stockInfo.LocationCode = locationInfoEnd.LocationCode;
                 _stockService.StockInfoService.Repository.UpdateData(stockInfo);
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletCodeInfoController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletCodeInfoController.cs"
index ce7247f..24276b1 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletCodeInfoController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/PalletCodeInfoController.cs"
@@ -1,5 +1,6 @@
 锘縰sing Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
+using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
 using WIDESEA_IBasicService;
 using WIDESEA_Model.Models;
@@ -13,5 +14,10 @@
         public PalletCodeInfoController(IPalletCodeInfoService service) : base(service)
         {
         }
+        [HttpPost,Route("PrintStatusUp")]
+        public WebResponseContent PrintStatusUp(string printCode)
+        {
+            return Service.PrintStatusUp(printCode);
+        }
     }
 }
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs"
index 4e353d1..5109a00 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/InboundOrderController.cs"
@@ -70,11 +70,11 @@
         /// </summary>
         /// <param name="id"></param>
         /// <returns></returns>
-        [HttpPost, HttpGet, Route("FeedbackInboundOrder")]
-        public WebResponseContent FeedbackInboundOrder(int id)
-        {
-            return Service.FeedbackInboundOrder(id);
-        }
+        //[HttpPost, HttpGet, Route("FeedbackInboundOrder")]
+        //public WebResponseContent FeedbackInboundOrder(int id)
+        //{
+        //    return Service.FeedbackInboundOrder(id);
+        //}
 
         [HttpPost, HttpGet, Route("ManualMaterielGroup")]
         public WebResponseContent MaterielGroup(string palletCode, int initiallife, int warehouseId, [FromBody] List<string> serNums)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json"
index fe9d07b..9fde51e 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/appsettings.json"
@@ -6,7 +6,7 @@
       "Microsoft.AspNetCore": "Warning"
     }
   },
-  "dics": "inOrderType,outOrderType,inboundState,createType,enableEnum,enableStatusEnum,locationStatusEnum,locationTypeEnum,taskTypeEnum,taskStatusEnum,outboundStatusEnum,orderDetailStatusEnum,stockStatusEmun,stockChangeType,outStockStatus,receiveOrderTypeEnum,authorityScope,authorityScopes,locationChangeType,warehouses,suppliers,taskType,receiveStatus,purchaseType",
+  "dics": "inOrderType,outOrderType,inboundState,createType,enableEnum,enableStatusEnum,locationStatusEnum,locationTypeEnum,taskTypeEnum,taskStatusEnum,outboundStatusEnum,orderDetailStatusEnum,stockStatusEmun,stockChangeType,outStockStatus,receiveOrderTypeEnum,authorityScope,authorityScopes,locationChangeType,warehouses,suppliers,taskType,receiveStatus,purchaseType,purchaseOrderStatus,printStatus",
   "AllowedHosts": "*",
   "ConnectionStringsEncryption": false,
   "MainDB": "DB_WIDESEA", //褰撳墠椤圭洰鐨勪富搴擄紝鎵�瀵瑰簲鐨勮繛鎺ュ瓧绗︿覆鐨凟nabled蹇呴』涓簍rue

--
Gitblit v1.9.3