From af5847927931d3f491d7be5e0178cff3c37ac6f9 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期四, 06 十一月 2025 17:20:44 +0800
Subject: [PATCH] 1

---
 项目代码/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx |   52 ++++++++++++++++++++++++++++------------------------
 1 files changed, 28 insertions(+), 24 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
index 18e66bc..df43713 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
@@ -26,28 +26,28 @@
   methods: {
     //涓嬮潰杩欎簺鏂规硶鍙互淇濈暀涔熷彲浠ュ垹闄�
     onInit() {
-      this.detailOptions.buttons.unshift({
-        name: '鍏朵粬鍑哄簱', //鎸夐挳鍚嶇О
-        icon: 'el-icon-document', //鎸夐挳鍥炬爣vue2鐗堟湰瑙乮view鏂囨。icon锛寁ue3鐗堟湰瑙乪lement ui鏂囨。icon(娉ㄦ剰涓嶆槸element puls鏂囨。)
-        type: 'primary',
-        onClick: function () {
-          this.$confirm('鏄惁鍏朵粬鍑哄簱', "璀﹀憡浣犳鍦ㄤ娇鐢ㄥ叾浠栧嚭搴�", {
-            confirmButtonText: '纭畾',
-            cancelButtonText: '鍙栨秷',
-            type: 'warning',
-            center: true
-          }).then(() => {
-            this.http.post(`/api/Task/OtherOutBoundTaskAsync`, row, "姝e湪瀹屾垚浠诲姟").then((res) => {
-              //绀轰緥锛氳皟鐢ㄥ悗鍙版帴鍙�
-              if (res.status) {
-                this.$Message.success('浠诲姟瀹屾垚')
-              } else {
-                this.$Message.error(res.message) //閿欒鎻愮ず
-              }
-            })
-          })
-        }
-      });
+      // this.detailOptions.buttons.unshift({
+      //   name: '鍏朵粬鍑哄簱', //鎸夐挳鍚嶇О
+      //   icon: 'el-icon-document', //鎸夐挳鍥炬爣vue2鐗堟湰瑙乮view鏂囨。icon锛寁ue3鐗堟湰瑙乪lement ui鏂囨。icon(娉ㄦ剰涓嶆槸element puls鏂囨。)
+      //   type: 'primary',
+      //   onClick: function () {
+      //     this.$confirm('鏄惁鍏朵粬鍑哄簱', "璀﹀憡浣犳鍦ㄤ娇鐢ㄥ叾浠栧嚭搴�", {
+      //       confirmButtonText: '纭畾',
+      //       cancelButtonText: '鍙栨秷',
+      //       type: 'warning',
+      //       center: true
+      //     }).then(() => {
+      //       this.http.post(`/api/Task/OtherOutBoundTaskAsync`, row, "姝e湪瀹屾垚浠诲姟").then((res) => {
+      //         //绀轰緥锛氳皟鐢ㄥ悗鍙版帴鍙�
+      //         if (res.status) {
+      //           this.$Message.success('浠诲姟瀹屾垚')
+      //         } else {
+      //           this.$Message.error(res.message) //閿欒鎻愮ず
+      //         }
+      //       })
+      //     })
+      //   }
+      // });
       this.boxButtons.push({
         name: '鍏朵粬鍑哄簱', //鎸夐挳鍚嶇О
         icon: 'el-icon-document', //鎸夐挳鍥炬爣:缁勪欢绀轰緥->鍥炬爣
@@ -84,7 +84,7 @@
             type: 'warning',
             center: true
           }).then(() => {
-            this.http.post(`/api/Task/OtherOutBoundTaskAsync`, this.$refs.detail.rowData, "姝e湪瀹屾垚浠诲姟").then((res) => {
+            this.http.post(`/api/Task/HandAllocateOutBoundTaskAsync`, this.$refs.detail.rowData, "姝e湪瀹屾垚浠诲姟").then((res) => {
               if (res.status) {
                 this.$Message.success(res.message)
               } else {
@@ -167,7 +167,11 @@
 
       //绀轰緥锛氳缃慨鏀规柊寤恒�佺紪杈戝脊鍑烘瀛楁鏍囩鐨勯暱搴�
       this.boxOptions.labelWidth = 150
-
+      this.buttons.forEach((btn) => {
+        if (btn.name == '缂栬緫') {
+          btn.hidden = true;
+        }
+      });
 
       this.columns.forEach((column) => {
 

--
Gitblit v1.9.3