From 43e115a7de2c763c36d79e610a3abb1d833ea892 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期一, 05 八月 2024 10:21:52 +0800
Subject: [PATCH] 修改发货报表
---
north-glass-erp/northglass-erp/src/components/pp/SelectSortDetailProcessCard.vue | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/components/pp/SelectSortDetailProcessCard.vue b/north-glass-erp/northglass-erp/src/components/pp/SelectSortDetailProcessCard.vue
index 29b727d..0152f3b 100644
--- a/north-glass-erp/northglass-erp/src/components/pp/SelectSortDetailProcessCard.vue
+++ b/north-glass-erp/northglass-erp/src/components/pp/SelectSortDetailProcessCard.vue
@@ -17,6 +17,8 @@
import {filterChanged} from "@/hook";
import {addListener, toolbarButtonClickEvent} from "@/hook/mouseMove"
import domZindex from 'dom-zindex'
+import { VxeUI } from 'vxe-pc-ui'
+
const { t } = useI18n()
const userStore = useUserInfoStore()
let selectRecords = ref(null)
@@ -206,6 +208,13 @@
{
field: 'glass_address',
title: t('processCard.glassAddress'),
+ filters: [{data: ''}],
+ slots: {filter: 'num1_filter'},
+ filterMethod: filterChanged
+ },
+ {
+ field: 'glass_child',
+ title: t('reportingWorks.glassChild'),
filters: [{data: ''}],
slots: {filter: 'num1_filter'},
filterMethod: filterChanged
@@ -413,7 +422,9 @@
}
-
+const handleCellDblClick = ({ row, column, cell, $event }) => {
+ VxeUI.clipboard.copy(row[column.property])
+}
</script>
@@ -426,7 +437,9 @@
height="100%"
size="small"
v-bind="detailGridOptions"
- v-on="gridEventsDetail">
+ v-on="gridEventsDetail"
+ @cell-dblclick="handleCellDblClick"
+ >
<template #content="{ row }">
<ul class="expand-wrapper">
--
Gitblit v1.8.0