From 938600c596525dc1a20a93ebcb93d0d1df742415 Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期四, 06 三月 2025 15:16:18 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10105/r/ERP_override
---
north-glass-erp/northglass-erp/src/components/sd/order/OrderDetail.vue | 14 +++-----------
1 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/north-glass-erp/northglass-erp/src/components/sd/order/OrderDetail.vue b/north-glass-erp/northglass-erp/src/components/sd/order/OrderDetail.vue
index c5a1698..fdf608d 100644
--- a/north-glass-erp/northglass-erp/src/components/sd/order/OrderDetail.vue
+++ b/north-glass-erp/northglass-erp/src/components/sd/order/OrderDetail.vue
@@ -4,7 +4,7 @@
import {useI18n} from "vue-i18n"
import request from "@/utils/request"
import footSum from "@/hook/footSum";
-import {addListener} from "@/hook/mouseMove";
+import {addListener,destroyAreaBox} from "@/hook/mouseMove";
const { t } = useI18n()
const xGrid = ref()
const gridOptions = reactive({
@@ -18,9 +18,6 @@
rowConfig: {isCurrent: true, isHover: true,height: 30},//榧犳爣绉诲姩鎴栭�夋嫨楂樹寒
virtualScroll: true, // 寮�鍚櫄鎷熸粴鍔ㄥ姛鑳�
id: 'OrderDetail',
- printConfig: {},
- importConfig: {},
- exportConfig: {},
scrollY:{ enabled: true,gt:13 },//寮�鍚櫄鎷熸粴鍔�
//scrollX:{ enabled: true,gt:15 },//寮�鍚櫄鎷熸粴鍔�
@@ -34,12 +31,7 @@
},
mouseConfig:{selected: true},//榧犳爣閫変腑
keyboardConfig:{
- isArrow: true,
- isDel: true,
- isEnter: true,
- isTab: true,
- isEdit: true,
- isChecked: true
+ isArrow: true
},
columns:[
@@ -130,7 +122,6 @@
}
const handleKeyDown = (evnt) =>{
-
if(evnt.$event.keyCode === 38 ){
let nextRowIndex = xGrid.value.getRowIndex(xGrid.value.getCurrentRecord()) - 1;
if (nextRowIndex < xGrid.value.getTableData().fullData.length && nextRowIndex>=0) {
@@ -139,6 +130,7 @@
}
if(evnt.$event.keyCode === 40 ){
+
let nextRowIndex = xGrid.value.getRowIndex(xGrid.value.getCurrentRecord()) + 1;
if (nextRowIndex < xGrid.value.getTableData().fullData.length) {
xGrid.value.setCurrentRow(xGrid.value.getTableData().fullData[nextRowIndex]);
--
Gitblit v1.8.0