From 7b5f1e33b4936c02fbe31d4b064ea3873da2e511 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 18 九月 2025 14:06:55 +0800
Subject: [PATCH] 发货弹窗成品料架

---
 north-glass-erp/northglass-erp/src/components/sd/order/OrderProcessCollect.vue |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcessCollect.vue b/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcessCollect.vue
index 91e698f..3ceb0b8 100644
--- a/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcessCollect.vue
+++ b/north-glass-erp/northglass-erp/src/components/sd/order/OrderProcessCollect.vue
@@ -4,6 +4,7 @@
 import {useI18n} from "vue-i18n"
 import request from "@/utils/request"
 import {ElMessage} from "element-plus"
+import {copyTableCellValue} from "@/hook/copyTableCellValue";
 const { t } = useI18n()
 const xGrid = ref()
 const gridOptions = reactive({
@@ -20,8 +21,8 @@
   printConfig: {},
   importConfig: {},
   exportConfig: {},
-  scrollY:{ enabled: true,gt:13 },//寮�鍚櫄鎷熸粴鍔�
-  scrollX:{ enabled: true,gt:15 },//寮�鍚櫄鎷熸粴鍔�
+  // scrollY:{ enabled: true,gt:13 },//寮�鍚櫄鎷熸粴鍔�
+  // scrollX:{ enabled: true,gt:15 },//寮�鍚櫄鎷熸粴鍔�
   filterConfig: {   //绛涢�夐厤缃」
     // remote: true
   },
@@ -143,7 +144,6 @@
         item.reportWorkQuantityCount=JSON.parse(item.reportWorkQuantityCount)
          item.reportWorkQuantityShow=JSON.parse(item.reportWorkQuantityShow)
       })
-      console.log(res.data.mergeCells)
       await xGrid.value.loadData(res.data.data)
       mergeCells.value = res.data.mergeCells
       gridOptions.loading = false
@@ -199,6 +199,12 @@
       +')' )
   //return
 }
+
+const gridEvents = {
+  cellDblclick ({row,column}) {
+    copyTableCellValue(row,column)
+  }
+}
 </script>
 
 <template>
@@ -210,6 +216,7 @@
         class="mytable-scrollbar"
         ref="xGrid"
         v-bind="gridOptions"
+        v-on="gridEvents"
     >
       <template #num1_filter="{ column, $panel }">
         <div>
@@ -239,5 +246,12 @@
 ::v-deep(.vxe-grid .vxe-body--column.row-green) {
   background-color: #D5EAFF;
 }
-
+.vxe-grid {
+  /* 绂佺敤娴忚鍣ㄩ粯璁ら�変腑 */
+  -webkit-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+  user-select: none;
+  transform: translateZ(0);
+}
 </style>
\ No newline at end of file

--
Gitblit v1.8.0