From 32dae14ad55ae71ed54d54f2ce3f2f6df471d4b1 Mon Sep 17 00:00:00 2001 From: zelian_wu Date: Thu, 16 May 2024 09:51:41 +0800 Subject: [PATCH] =?UTF-8?q?24-04-23=20=E5=87=BA=E5=BA=93=E6=89=AB=E6=8F=8F?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/production/reworkRecord.vue | 228 +++++++++++------- src/views/modules/production/scanForm.vue | 4 +- 2 files changed, 141 insertions(+), 91 deletions(-) diff --git a/src/views/modules/production/reworkRecord.vue b/src/views/modules/production/reworkRecord.vue index 1dc7331..761432f 100644 --- a/src/views/modules/production/reworkRecord.vue +++ b/src/views/modules/production/reworkRecord.vue @@ -21,6 +21,7 @@ export default { operatorName:undefined, resourceId:undefined, shiftNo:"", + type:"", }, tagNo:undefined, type:undefined, @@ -29,6 +30,7 @@ export default { saveRework:{ seqNo:undefined, site:this.$store.state.user.site, + type:undefined, }, reportWorkDialog:false, saveType:undefined, @@ -88,6 +90,7 @@ export default { this.saveRework = { seqNo: undefined, site:this.$store.state.user.site, + type:undefined, } this.saveType = undefined; this.numberOrWeight = undefined; @@ -229,6 +232,23 @@ export default { confirmButtonText: '确定' }) }) + }, + openDialog(){ + this.saveRework = { + seqNo: undefined, + site:this.$store.state.user.site, + type:"修边返工", + } + if (this.startReworkRecordDialog === true){ + this.$nextTick(()=>{ + this.$refs.seqNo.focus() + }) + } + if (this.seqNoReworkRecordDialog === true){ + this.$nextTick(()=>{ + this.$refs.seqNoR.focus() + }) + } } }, created () { @@ -240,10 +260,18 @@ export default {