From 6b74e1dcf5642c8f56975471e27780d695953989 Mon Sep 17 00:00:00 2001
From: 陈勇 <竞男@ASUNA>
Date: 星期日, 26 四月 2026 15:48:01 +0800
Subject: [PATCH] 同步代码

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

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx"
index 791132c..9be8944 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSClient/src/extension/widesea_wms/taskinfo/Dt_Task.jsx"
@@ -1,11 +1,3 @@
-/*****************************************************************************************
- **  Author:jxx 2022
- **  QQ:283591387
- **瀹屾暣鏂囨。瑙侊細http://v2.volcore.xyz/document/api 銆愪唬鐮佺敓鎴愰〉闈iewGrid銆�
- **甯哥敤绀轰緥瑙侊細http://v2.volcore.xyz/document/vueDev
- **鍚庡彴鎿嶄綔瑙侊細http://v2.volcore.xyz/document/netCoreDev
- *****************************************************************************************/
-//姝s鏂囦欢鏄敤鏉ヨ嚜瀹氫箟鎵╁睍涓氬姟浠g爜锛屽彲浠ユ墿灞曚竴浜涜嚜瀹氫箟椤甸潰鎴栬�呴噸鏂伴厤缃敓鎴愮殑浠g爜
 import gridHeader from './demo_Product/Dt_TaskExecuteDetail.vue'
 let extension = {
   components: {
@@ -47,28 +39,28 @@
         }
       }
 
-      let confirmTask=this.buttons.find(x=>x.value=='confirmTask');
-      if(confirmTask){
-        confirmTask.onClick=function(){
-          let row = this.$refs.table.getSelected() //鑾峰彇閫変腑鐨勮
-          if (row <= 0) {
-            //濡傛灉娌℃湁閫変腑琛�
-            this.$Message.error('璇烽�夋嫨涓�琛屾暟鎹�')
-            return
-          }
-          let taskNum = row[0].taskNum
-          this.http.get(`/api/Task/confirmTask?taskNum=${taskNum}`, {}, "姝e湪纭瀹屾垚浠诲姟").then((res) => {
-            //绀轰緥锛氳皟鐢ㄥ悗鍙版帴鍙�
-            if (res.status) {
-              this.$Message.success('纭浠诲姟瀹屾垚');
-              this.refresh();
-            } else {
-              this.$Message.error(res.message) //閿欒鎻愮ず
-              this.refresh();
-            }
-          })
-        }
-      }
+      // let confirmTask=this.buttons.find(x=>x.value=='confirmTask');
+      // if(confirmTask){
+      //   confirmTask.onClick=function(){
+      //     let row = this.$refs.table.getSelected() //鑾峰彇閫変腑鐨勮
+      //     if (row <= 0) {
+      //       //濡傛灉娌℃湁閫変腑琛�
+      //       this.$Message.error('璇烽�夋嫨涓�琛屾暟鎹�')
+      //       return
+      //     }
+      //     let taskNum = row[0].taskNum
+      //     this.http.get(`/api/Task/confirmTask?taskNum=${taskNum}`, {}, "姝e湪纭瀹屾垚浠诲姟").then((res) => {
+      //       //绀轰緥锛氳皟鐢ㄥ悗鍙版帴鍙�
+      //       if (res.status) {
+      //         this.$Message.success('纭浠诲姟瀹屾垚');
+      //         this.refresh();
+      //       } else {
+      //         this.$Message.error(res.message) //閿欒鎻愮ず
+      //         this.refresh();
+      //       }
+      //     })
+      //   }
+      // }
       //绀轰緥锛氬湪鎸夐挳鐨勬渶鍓嶉潰娣诲姞涓�涓寜閽�
       // this.buttons.unshift({
       //   //涔熷彲浠ョ敤push鎴栬�卻plice鏂规硶鏉ヤ慨鏀筨uttons鏁扮粍

--
Gitblit v1.9.3