From e0cee09916a315d6012b8d44b4c493c4f3adc5d1 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 31 三月 2026 17:05:49 +0800
Subject: [PATCH] #出入库模式
---
src/main/webapp/components/DevpCard.js | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/components/DevpCard.js b/src/main/webapp/components/DevpCard.js
index 77ddc73..d9eb322 100644
--- a/src/main/webapp/components/DevpCard.js
+++ b/src/main/webapp/components/DevpCard.js
@@ -176,6 +176,15 @@
orDash: function (value) {
return MonitorCardKit.orDash(value);
},
+ formatIoMode: function (value) {
+ if (value === 1 || value === "1") {
+ return "鍏ュ簱";
+ }
+ if (value === 2 || value === "2") {
+ return "鍑哄簱";
+ }
+ return "--";
+ },
getStatusLabel: function (item) {
return item && item.autoing ? "鑷姩" : "鎵嬪姩";
},
@@ -265,6 +274,7 @@
{ label: "宸ヤ綔鍙�", value: this.orDash(item.taskNo) },
{ label: "鐩爣绔�", value: this.orDash(item.targetStaNo) },
{ label: "妯″紡", value: item.autoing ? "鑷姩" : "鎵嬪姩" },
+ { label: "鍑哄叆搴撴ā寮�", value: this.formatIoMode(item.ioMode) },
{ label: "鏈夌墿", value: MonitorCardKit.yesNo(item.loading) },
{ label: "鍙叆", value: MonitorCardKit.yesNo(item.inEnable) },
{ label: "鍙嚭", value: MonitorCardKit.yesNo(item.outEnable) },
--
Gitblit v1.9.1