From 72c0f86c75c8a9a5eb7435d72b6ebece4c5382e8 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 14 四月 2026 18:21:27 +0800
Subject: [PATCH] feat: 添加vue3-json-viewer并优化日志显示

---
 Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_Tray.cs |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_Tray.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_Tray.cs
index 51d6888..0a64c28 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_Tray.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/WCS/TaskService_Tray.cs
@@ -117,6 +117,7 @@
                     TaskType = TaskOutboundTypeEnum.OutEmpty.GetHashCode(),
                     TaskStatus = TaskStatusEnum.New.GetHashCode(),
                     Grade = 1,
+                    Dispatchertime = DateTime.Now,
                     TaskNum = await BaseDal.GetTaskNo(),
                     Creater = "system",
                 };
@@ -167,6 +168,8 @@
 
                     location.LocationStatus = LocationStatusEnum.Free.GetHashCode();
 
+                    task.TaskStatus = TaskOutStatusEnum.OutFinish.GetHashCode();
+
                     var updateLocationResult = await _locationInfoService.UpdateLocationInfoAsync(location);
                     var updateStockResult = await _stockInfoService.UpdateStockAsync(stockInfo);
                     if (!updateLocationResult || !updateStockResult)

--
Gitblit v1.9.3