From c0a3e895685bf57f4fe3bbe54a8ac6b85098da53 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 21 八月 2025 16:47:42 +0800
Subject: [PATCH] 修改库存双击左键复制

---
 north-glass-erp/northglass-erp/src/views/mm/productStock/ProductStockList.vue          |    4 ++++
 north-glass-erp/northglass-erp/src/views/mm/ingredientStock/ReturnToStorageCreate.vue  |    4 ++++
 north-glass-erp/northglass-erp/src/views/mm/ingredientStock/SelectIngredientsStock.vue |    4 ++++
 north-glass-erp/northglass-erp/src/views/mm/ingredientStock/CreateOutBound.vue         |    4 ++++
 4 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/CreateOutBound.vue b/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/CreateOutBound.vue
index c721dfa..6d3bda2 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/CreateOutBound.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/CreateOutBound.vue
@@ -14,6 +14,7 @@
 import {addListener,toolbarButtonClickEvent} from "@/hook/mouseMove";
 import { useI18n } from 'vue-i18n'
 import {changeFilterEvent,filterChanged} from "@/hook"
+import {copyTableCellValue} from "@/hook/copyTableCellValue";
 
 const { t } = useI18n()
 const router = useRouter()
@@ -471,6 +472,9 @@
 
       }
     }
+  },
+  cellDblclick ({row,column}) {
+    copyTableCellValue(row,column)
   }
 }
 
diff --git a/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/ReturnToStorageCreate.vue b/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/ReturnToStorageCreate.vue
index f3c9fcc..6e77001 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/ReturnToStorageCreate.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/ReturnToStorageCreate.vue
@@ -10,6 +10,7 @@
 import {addListener,toolbarButtonClickEvent} from "@/hook/mouseMove";
 import { useI18n } from 'vue-i18n'
 import {changeFilterEvent,filterChanged} from "@/hook"
+import {copyTableCellValue} from "@/hook/copyTableCellValue";
 
 const { t } = useI18n()
 const router = useRouter()
@@ -432,6 +433,9 @@
 
       }
     }
+  },
+  cellDblclick ({row,column}) {
+    copyTableCellValue(row,column)
   }
 }
 
diff --git a/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/SelectIngredientsStock.vue b/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/SelectIngredientsStock.vue
index 13725d5..d82f716 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/SelectIngredientsStock.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/ingredientStock/SelectIngredientsStock.vue
@@ -15,6 +15,7 @@
 import footSum from "@/hook/footSum";
 import MaterialAddition from "@/views/mm/ingredientStock/MaterialAddition.vue"
 import SelectAlienEditor from "@/components/sd/order/SelectAlienEditor.vue";
+import {copyTableCellValue} from "@/hook/copyTableCellValue";
 
 //璇█鑾峰彇
 const { t } = useI18n()
@@ -469,6 +470,9 @@
         }
       }
     }
+  },
+  cellDblclick ({row,column}) {
+    copyTableCellValue(row,column)
   }
 }
 
diff --git a/north-glass-erp/northglass-erp/src/views/mm/productStock/ProductStockList.vue b/north-glass-erp/northglass-erp/src/views/mm/productStock/ProductStockList.vue
index 8b31ee8..926b954 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/productStock/ProductStockList.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/productStock/ProductStockList.vue
@@ -12,6 +12,7 @@
 import {Printer} from "@element-plus/icons-vue/global";
 import PrintPackingListLuoyang from "@/components/mm/PrintPackingListLuoyang.vue";
 import companyInfo from "@/stores/sd/companyInfo"
+import {copyTableCellValue, copyTableCellValueShow} from "@/hook/copyTableCellValue";
 
 //璇█鑾峰彇
 const { t } = useI18n()
@@ -319,6 +320,9 @@
         }
       }
     }
+  },
+  cellDblclick ({row,column}) {
+      copyTableCellValue(row,column)
   }
 }
 const changeRack =async () => {

--
Gitblit v1.8.0