From 4fc31b41c205507607c91ab3afe10fbc06a9aa09 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期五, 05 十二月 2025 13:52:15 +0800
Subject: [PATCH] 1.添加启动提升机、停止提升机、复位提升机功能 2.优化初始化提升机功能

---
 项目代码/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx"
index 372279c..49ac6e9 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx"
@@ -24,23 +24,23 @@
     //涓嬮潰杩欎簺鏂规硶鍙互淇濈暀涔熷彲浠ュ垹闄�
     onInit() {
 
-      this.columns.forEach(x => {
-        if (x.field == "errorMessage") {
-          x.cellStyle = (row, rowIndex, columnIndex) => {
-            if (row.errorMessage == null||row.errorMessage=="") {
-              return { background: "White", color: "Black" }
-            }
-            else{
-              return { background: "#FF4500", color: "Black" }
-            }
-          }
-        }
-      })
+      // this.columns.forEach(x => {
+      //   if (x.field == "errorMessage") {
+      //     x.cellStyle = (row, rowIndex, columnIndex) => {
+      //       if (row.errorMessage == null||row.errorMessage=="") {
+      //         return { background: "White", color: "Black" }
+      //       }
+      //       else{
+      //         return { background: "#FF4500", color: "Black" }
+      //       }
+      //     }
+      //   }
+      // })
 
       //妗嗘灦鍒濆鍖栭厤缃墠锛�
-      let TaskHandCompleteBtn=this.buttons.find(x=>x.value=='TaskHandComplete');
-      if(TaskHandCompleteBtn){
-        TaskHandCompleteBtn.onClick=function(){
+      let TaskHandCompleteBtn = this.buttons.find(x => x.value == 'TaskHandComplete');
+      if (TaskHandCompleteBtn) {
+        TaskHandCompleteBtn.onClick = function () {
           let row = this.$refs.table.getSelected() //鑾峰彇閫変腑鐨勮
           if (row <= 0) {
             //濡傛灉娌℃湁閫変腑琛�

--
Gitblit v1.9.3