From f02cb0b1ac52441999d697f3648ec23437c3b597 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Thu, 6 Nov 2025 14:46:37 +0800
Subject: [PATCH] =?UTF-8?q?2025-11-06=20oqc=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/qc/OQCResultEntry.vue | 81 +++++++++++++++++++++----
1 file changed, 68 insertions(+), 13 deletions(-)
diff --git a/src/views/modules/qc/OQCResultEntry.vue b/src/views/modules/qc/OQCResultEntry.vue
index a9b01dc..01dcf98 100644
--- a/src/views/modules/qc/OQCResultEntry.vue
+++ b/src/views/modules/qc/OQCResultEntry.vue
@@ -606,12 +606,36 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{
if (data.flag !== 1) {
- let obj = {}
- obj.subDetailValue = ""
- obj.samplingLocation = ""
+ let obj = {
+ subDetailValue: '',
+ samplingLocation: '',
+ samplingLocationB: '',
+ subDetailValueB: '',
+ subDetailValueC: '',
+ subDetailValueD: '',
+ subDetailValueE: '',
+ }
this.tableData.push(obj)
} else {
- this.$alert("记录已提交!", '错误', {
- confirmButtonText: '确定'
- })
+ this.$message.error('记录已提交')
}
})
},
@@ -2805,10 +2833,15 @@
// 批量新增行
batchHandleAddModal () {
for (let i = 0; i < this.batchAddData.samplingNumber; i++) {
- let obj = {}
- obj.samplingLocation = this.batchAddData.samplingLocation
- obj.samplingLocationB = this.batchAddData.samplingLocationB
- obj.subDetailValue = ""
+ let obj = {
+ samplingLocation: this.batchAddData.samplingLocation,
+ samplingLocationB: this.batchAddData.samplingLocationB,
+ subDetailValue: '',
+ subDetailValueB: '',
+ subDetailValueC: '',
+ subDetailValueD: '',
+ subDetailValueE: '',
+ }
this.tableData.push(obj)
}
this.batchHandleAddModalFlag = false
@@ -2821,20 +2854,42 @@
this.$refs[a1].focus()
})
},
-
nextFocus2 (index) {
let a2 = `${index + 1}` + `b`
this.$nextTick(() => {
this.$refs[a2].focus()
})
},
-
nextFocus3 (index) {
let a3 = `${index + 1}` + `c`
this.$nextTick(() => {
this.$refs[a3].focus()
})
},
+ nextFocus4 (index) {
+ let a = `${index + 1}` + `d`
+ this.$nextTick(() => {
+ this.$refs[a].focus()
+ })
+ },
+ nextFocus5 (index) {
+ let a = `${index + 1}` + `e`
+ this.$nextTick(() => {
+ this.$refs[a].focus()
+ })
+ },
+ nextFocus6 (index) {
+ let a = `${index + 1}` + `f`
+ this.$nextTick(() => {
+ this.$refs[a].focus()
+ })
+ },
+ nextFocus7 (index) {
+ let a = `${index + 1}` + `g`
+ this.$nextTick(() => {
+ this.$refs[a].focus()
+ })
+ },
focusNextInput (index, type) {
let aaa = ''