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/TaskService_GradingMachine.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_GradingMachine.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_GradingMachine.cs
index b5af9c9..29ecd75 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_GradingMachine.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_GradingMachine.cs
@@ -4,6 +4,7 @@
 using SqlSugar;
 using System.DirectoryServices.Protocols;
 using System.Text.Json;
+using WIDESEA_Common.Constants;
 using WIDESEA_Common.LocationEnum;
 using WIDESEA_Common.StockEnum;
 using WIDESEA_Common.TaskEnum;
@@ -137,11 +138,11 @@
                         PalletType = stock.PalletType,
                         SourceAddress = stock.LocationCode,
                         CurrentAddress = stock.LocationCode,
-                        NextAddress = "10080",
-                        TargetAddress = "10081",
+                        NextAddress = TaskAddressConstants.DEFAULT_ADDRESS,
+                        TargetAddress = TaskAddressConstants.GRADING_OUTBOUND_ADDRESS,
                         Roadway = stock.LocationDetails.RoadwayNo,
-                        TaskType = TaskTypeEnum.Outbound.GetHashCode(),
-                        TaskStatus = TaskStatusEnum.New.GetHashCode(),
+                        TaskType = TaskOutboundTypeEnum.Outbound.GetHashCode(),
+                        TaskStatus = TaskOutStatusEnum.OutNew.GetHashCode(),
                         Grade = 1,
                         TaskNum = await BaseDal.GetTaskNo(),
                         Creater = "system",

--
Gitblit v1.9.3