From ecb51654e5224950f1fe8d139190d1c1a8daebca Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 23 三月 2026 22:46:39 +0800
Subject: [PATCH] #

---
 src/main/webapp/components/DevpCard.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/components/DevpCard.js b/src/main/webapp/components/DevpCard.js
index b55e1d4..118fcdb 100644
--- a/src/main/webapp/components/DevpCard.js
+++ b/src/main/webapp/components/DevpCard.js
@@ -275,12 +275,27 @@
         { label: "鏉$爜", value: this.orDash(item.barcode), code: true, type: "barcode" },
         { label: "閲嶉噺", value: this.orDash(item.weight) },
         { label: "浠诲姟鍙啓鍖�", value: this.orDash(item.taskWriteIdx) },
+        { label: "缂撳瓨鍖烘暟鎹�", value: this.formatTaskBufferItems(item.taskBufferItems), code: true },
         { label: "鏁呴殰浠g爜", value: this.orDash(item.error) },
         { label: "鏁呴殰淇℃伅", value: this.orDash(item.errorMsg) },
         { label: "绯荤粺鍛婅", value: this.orDash(item.systemWarning) },
         { label: "鎵╁睍鏁版嵁", value: this.orDash(item.extend) }
       ];
     },
+    formatTaskBufferItems: function (items) {
+      if (!Array.isArray(items) || items.length === 0) {
+        return "--";
+      }
+      return items.map(function (item) {
+        var slotIdx = item && item.slotIdx != null ? item.slotIdx : "?";
+        var taskNo = item && item.taskNo != null ? item.taskNo : 0;
+        var targetStaNo = item && item.targetStaNo != null ? item.targetStaNo : 0;
+        if (!taskNo && !targetStaNo) {
+          return slotIdx + ": 绌�";
+        }
+        return slotIdx + ": " + taskNo + " -> " + targetStaNo;
+      }).join(" | ");
+    },
     postControl: function (url, payload) {
       $.ajax({
         url: baseUrl + url,

--
Gitblit v1.9.1