From a9d5c23e1fb9d49dc468f9f22d6ce67496d209e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E5=A5=89=E6=BA=90?= <1976974459@qq.com>
Date: Mon, 6 Nov 2023 17:44:12 +0800
Subject: [PATCH] =?UTF-8?q?2023-11-06=20=E8=AE=BE=E5=A4=87=E5=92=8C?=
=?UTF-8?q?=E8=B4=A8=E9=87=8F=E4=BF=AE=E6=94=B92?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/qc/FAIResultEntry.vue | 34 +++++--
src/views/modules/qc/FQCResultEntry.vue | 34 +++++--
src/views/modules/qc/IPQCResultEntry.vue | 110 ++++++-----------------
src/views/modules/qc/IQCResultEntry.vue | 24 +++--
4 files changed, 98 insertions(+), 104 deletions(-)
diff --git a/src/views/modules/qc/FAIResultEntry.vue b/src/views/modules/qc/FAIResultEntry.vue
index 78fd4c8..3d293c8 100644
--- a/src/views/modules/qc/FAIResultEntry.vue
+++ b/src/views/modules/qc/FAIResultEntry.vue
@@ -147,10 +147,14 @@
-
+
派工单号
+
+ 派工单号
+
+
派工单号
@@ -253,7 +257,7 @@
-
+
@@ -432,19 +436,19 @@
-
+
-
+
-
+
@@ -1007,6 +1011,7 @@
inspectorNo: '',
inspectionRemark: '',
samplingQty: '',
+ rollQty: '',
itemList:[],
},
detailColumnList: [
@@ -1924,6 +1929,7 @@
this.saveInformationData.inspectorNo = this.detailData.inspectorNo
this.saveInformationData.inspectionResult = this.detailData.inspectionResult
this.saveInformationData.inspectionRemark = this.detailData.inspectionRemark
+ this.saveInformationData.rollQty = this.detailData.rollQty
this.saveInformationData.samplingQty = this.detailData.samplingQty
this.saveInformationData.itemList = JSON.parse(JSON.stringify(this.detailList))
saveFAIDetailedRecord(this.saveInformationData).then(({data}) => {
@@ -2104,10 +2110,22 @@
},
// 回车事件
- nextFocus(index) {
- let aaa = `${index + 1}`
+ nextFocus1 (index) {
+ let a1 = `${index + 1}` + `a`
+ this.$nextTick(() => {
+ 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[aaa].focus()
+ this.$refs[a3].focus()
})
},
diff --git a/src/views/modules/qc/FQCResultEntry.vue b/src/views/modules/qc/FQCResultEntry.vue
index 426d6a4..3fb3c05 100644
--- a/src/views/modules/qc/FQCResultEntry.vue
+++ b/src/views/modules/qc/FQCResultEntry.vue
@@ -145,10 +145,14 @@
-
+
派工单号
+
+ 派工单号
+
+
派工单号
@@ -251,7 +255,7 @@
-
+
@@ -430,19 +434,19 @@
-
+
-
+
-
+
@@ -1005,6 +1009,7 @@
inspectorNo: '',
inspectionRemark: '',
samplingQty: '',
+ rollQty: '',
itemList:[],
},
detailColumnList: [
@@ -1921,6 +1926,7 @@
this.saveInformationData.inspectorNo = this.detailData.inspectorNo
this.saveInformationData.inspectionResult = this.detailData.inspectionResult
this.saveInformationData.inspectionRemark = this.detailData.inspectionRemark
+ this.saveInformationData.rollQty = this.detailData.rollQty
this.saveInformationData.samplingQty = this.detailData.samplingQty
this.saveInformationData.itemList = JSON.parse(JSON.stringify(this.detailList))
saveFQCDetailedRecord(this.saveInformationData).then(({data}) => {
@@ -2101,10 +2107,22 @@
},
// 回车事件
- nextFocus(index) {
- let aaa = `${index + 1}`
+ nextFocus1 (index) {
+ let a1 = `${index + 1}` + `a`
+ this.$nextTick(() => {
+ 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[aaa].focus()
+ this.$refs[a3].focus()
})
},
diff --git a/src/views/modules/qc/IPQCResultEntry.vue b/src/views/modules/qc/IPQCResultEntry.vue
index 319675b..813b977 100644
--- a/src/views/modules/qc/IPQCResultEntry.vue
+++ b/src/views/modules/qc/IPQCResultEntry.vue
@@ -155,10 +155,14 @@
-
+
派工单号
+
+ 派工单号
+
+
派工单号
@@ -271,7 +275,7 @@
-
+
@@ -432,55 +436,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
添加
@@ -499,19 +454,19 @@
-
+
-
+
-
+
@@ -717,9 +672,6 @@
pageIndex: 1,
pageSize: 50,
totalPage: 0,
- // pageIndex2: 1,
- // pageSize2: 20,
- // totalPage2: 0,
height: 200,
dataList: [],
dataListLoading: false,
@@ -1097,6 +1049,7 @@
inspectorNo: '',
inspectionRemark: '',
samplingQty: '',
+ rollQty: '',
itemList:[],
},
detailColumnList: [
@@ -1406,15 +1359,6 @@
typeOptions: [],
disposalMeasuresOptions: [],
timeout: null
- // orderNoData:{
- // limit: 10,
- // page: 1,
- // site: this.$store.state.user.site,
- // orderNo: ''
- // },
- // orderNoModelFlag: false,
- // orderNoList: [],
- // orderNoCurrent: -1
}
},
mounted () {
@@ -1430,6 +1374,7 @@
},
methods: {
+ // input 模糊搜索
querySearchAsync (queryString, cb) {
clearTimeout(this.timeout)
let results = []
@@ -1463,7 +1408,7 @@
}
},
- //点击出现搜索后点击的每一项
+ // 点击出现搜索后点击的每一项
handleSelect (item) {
this.modalData.rollNo = item.value
this.modalData.seqNo = item.seqNo
@@ -1952,18 +1897,6 @@
this.dataListSelections = val
},
- // // 每页数
- // sizeChangeHandle2 (val) {
- // this.pageSize2 = val
- // this.pageIndex2 = 1
- // this.getOrderNoList()
- // },
- // // 当前页
- // currentChangeHandle2 (val) {
- // this.pageIndex2 = val
- // this.getOrderNoList()
- // },
-
// 删除检验记录
deleteModal () {
if(this.IPQCSelections.length === 0){
@@ -2043,6 +1976,7 @@
this.saveInformationData.inspectorNo = this.detailData.inspectorNo
this.saveInformationData.inspectionResult = this.detailData.inspectionResult
this.saveInformationData.inspectionRemark = this.detailData.inspectionRemark
+ this.saveInformationData.rollQty = this.detailData.rollQty
this.saveInformationData.samplingQty = this.detailData.samplingQty
this.saveInformationData.itemList = JSON.parse(JSON.stringify(this.detailList))
saveIPQCDetailedRecord(this.saveInformationData).then(({data}) => {
@@ -2223,10 +2157,22 @@
},
// 回车事件
- nextFocus(index) {
- let aaa = `${index + 1}`
+ nextFocus1 (index) {
+ let a1 = `${index + 1}` + `a`
+ this.$nextTick(() => {
+ 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[aaa].focus()
+ this.$refs[a3].focus()
})
},
diff --git a/src/views/modules/qc/IQCResultEntry.vue b/src/views/modules/qc/IQCResultEntry.vue
index 304f3d4..a812663 100644
--- a/src/views/modules/qc/IQCResultEntry.vue
+++ b/src/views/modules/qc/IQCResultEntry.vue
@@ -345,19 +345,19 @@
-
+
-
+
-
+
@@ -1406,10 +1406,22 @@
this.batchHandleAddModalFlag = false
},
// 回车事件
- nextFocus(index) {
- let aaa = `${index + 1}`
+ nextFocus1 (index) {
+ let a1 = `${index + 1}` + `a`
this.$nextTick(() => {
- this.$refs[aaa].focus()
+ 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()
})
},
//删除