From d57815781381a23be2255f1f93b480950c6c39a8 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期五, 14 十一月 2025 17:20:24 +0800
Subject: [PATCH] 新增任务看板滚动功能及优化文档布局在 Home.vue中新增任务看板滚动显示功能,优化数据总览和图表样式新增 iconfont 字体文件及相关样式,提升页面视觉效果。在 TaskService.cs和 AGVSignal.cs中新增对RelocationGroup 的任务状态处理逻辑。新增EnumHelper.cs 中的枚举描述获取方法,支持动态描述解析优化按钮逻辑,统一“其他出库”和“调拨出库”的处理方式更新文档布局文件,调整引用路径、索引和视图状态。 在StockInfoService.cs中新增任务数据查询逻辑,支持任务状态描述返回。

---
 项目代码/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx |  112 +++++++++++++++++++++++++++-----------------------------
 1 files changed, 54 insertions(+), 58 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 f175400..cf8232d 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"
@@ -49,65 +49,61 @@
       //   }
       // });
       this.boxButtons.push({
-        name: '鍏朵粬鍑哄簱', //鎸夐挳鍚嶇О
-        //icon: 'el-icon-document', //鎸夐挳鍥炬爣:缁勪欢绀轰緥->鍥炬爣
-        //primary銆乻uccess銆亀arning銆乪rror銆乮nfo銆乼ext銆乨anger
-        type: 'primary',
-        plain: true,
-        onClick: function () {
-          this.$confirm('鏄惁鍏朵粬鍑哄簱', '璀﹀憡', {
-            confirmButtonText: '纭畾',
-            cancelButtonText: '鍙栨秷',
-            type: 'warning',
-            center: true
-          }).then(() => {
-            this.http
-              .post(
-                `/api/Task/OtherOutBoundTaskAsync`,
-                this.$refs.detail.rowData,
-                '姝e湪鐢熸垚鍑哄簱浠诲姟'
-              )
-              .then((res) => {
-                if (res.status) {
-                  this.$Message.success(res.message)
-                  this.boxModel = false
-                  this.refresh()
-                } else {
-                  this.$Message.error(res.message) //閿欒鎻愮ず
-                }
-              })
-          })
-        }
-      })
-      this.boxButtons.push({
-        name: '璋冩嫧鍑哄簱', //鎸夐挳鍚嶇О
-        //icon: 'el-icon-document', //鎸夐挳鍥炬爣:缁勪欢绀轰緥->鍥炬爣
-        //primary銆乻uccess銆亀arning銆乪rror銆乮nfo銆乼ext銆乨anger
+        name: '淇濆瓨', //鎸夐挳鍚嶇О
         type: 'danger',
+        icon: 'el-icon-check',
+        disabled: false,
         plain: true,
         onClick: function () {
-          this.$confirm('鏄惁璋冩嫧鍑哄簱', '璀﹀憡', {
-            confirmButtonText: '纭畾',
-            cancelButtonText: '鍙栨秷',
-            type: 'warning',
-            center: true
-          }).then(() => {
-            this.http
-              .post(
-                `/api/Task/HandAllocateOutBoundTaskAsync`,
-                this.$refs.detail.rowData,
-                '姝e湪鐢熸垚鍑哄簱浠诲姟'
-              )
-              .then((res) => {
-                if (res.status) {
-                  this.$Message.success(res.message)
-                  this.boxModel = false
-                  this.refresh()
-                } else {
-                  this.$Message.error(res.message) //閿欒鎻愮ず
-                }
-              })
-          })
+          if (this.editFormFields.remark == '鍏朵粬鍑哄簱') {
+            this.$confirm('鏄惁鍏朵粬鍑哄簱', '璀﹀憡', {
+              confirmButtonText: '纭畾',
+              cancelButtonText: '鍙栨秷',
+              type: 'warning',
+              center: true,
+              customClass: 'large-text-confirm'           
+            }).then(() => {
+              this.http
+                .post(
+                  `/api/Task/OtherOutBoundTaskAsync`,
+                  this.$refs.detail.rowData,
+                  '姝e湪鐢熸垚鍑哄簱浠诲姟'
+                )
+                .then((res) => {
+                  if (res.status) {
+                    this.$Message.success(res.message)
+                    this.boxModel = false
+                    this.refresh()
+                  } else {
+                    this.$Message.error(res.message) //閿欒鎻愮ず
+                  }
+                })
+            })
+          } else {
+            this.$confirm('鏄惁璋冩嫧鍑哄簱', '璀﹀憡', {
+              confirmButtonText: '纭畾',
+              cancelButtonText: '鍙栨秷',
+              type: 'warning',
+              center: true,
+              customClass: 'large-text-confirm'
+            }).then(() => {
+              this.http
+                .post(
+                  `/api/Task/HandAllocateOutBoundTaskAsync`,
+                  this.$refs.detail.rowData,
+                  '姝e湪鐢熸垚鍑哄簱浠诲姟'
+                )
+                .then((res) => {
+                  if (res.status) {
+                    this.$Message.success(res.message)
+                    this.boxModel = false
+                    this.refresh()
+                  } else {
+                    this.$Message.error(res.message) //閿欒鎻愮ず
+                  }
+                })
+            })
+          }
         }
       })
       this.columns.push({
@@ -120,7 +116,7 @@
             <div>
               <el-button
                 onClick={($e) => {
-                  ;(row.remark = '鍏朵粬鍑哄簱'), this.linkData(row)
+                  ;(row.remark = '鍏朵粬鍑哄簱'), this.linkDataNew(row, '鍏朵粬鍑哄簱')
                 }}
                 type="primary"
               >
@@ -129,7 +125,7 @@
 
               <el-button
                 onClick={($e) => {
-                  ;(row.remark = '璋冩嫧鍑哄簱'), this.linkData(row)
+                  ;(row.remark = '璋冩嫧鍑哄簱'), this.linkDataNew(row, '璋冩嫧鍑哄簱')
                 }}
                 type="success"
               >

--
Gitblit v1.9.3