diff --git a/src/views/qualityManagement/FQC/firstFQC.vue b/src/views/qualityManagement/FQC/firstFQC.vue
index d98ddef..c263eda 100644
--- a/src/views/qualityManagement/FQC/firstFQC.vue
+++ b/src/views/qualityManagement/FQC/firstFQC.vue
@@ -21,12 +21,10 @@
@@ -45,10 +48,9 @@
{{ blank[0].inspectionModule }}
@@ -57,10 +59,14 @@
{{ program[0].inspectionModule }}
@@ -69,17 +75,16 @@
{{ team[0].inspectionModule }}
-
工单id:{{ ProductSituationForm.workorderid }}
+
工单id:{{ ProductSituationForm.workorderid }}
产品名称:{{ ProductSituationForm.productName }}
@@ -98,11 +103,31 @@
投入数:{{ ProductSituationForm.inputNum }}
+
+
一次合格数:{{ ProductSituationForm.inputNum }}
+
+
+
一次合格率:{{ ProductSituationForm.inputNum }}
+
+
+
打磨数:{{ ProductSituationForm.inputNum }}
+
+
+
报废数:{{ ProductSituationForm.inputNum }}
+
+
+
+
+
+
@@ -129,6 +154,13 @@ export default {
},
signal: null,
data: null,
+ timer: null,
+ DMLdialog: {
+ visiable: false,
+ },
+ toUpdateNum: 0, //弹窗更新值
+ toname: '',
+ toindex: 0, //索引
}
},
watch: {
@@ -230,6 +262,41 @@ export default {
break
}
},
+ //todo 长按事件
+ startimer(value, name, index) {
+ this.timer = setTimeout(() => {
+ this.toUpdateNum = value
+ this.DMLdialog.visiable = true
+ this.toname = name
+ this.toindex = index
+ }, 1000)
+ },
+ clearTimer() {
+ clearTimeout(this.timer)
+ },
+ //todo 弹窗确认事件
+ confirm() {
+ switch (this.toname) {
+ case 'paint':
+ this.paint[this.toindex].counter = this.toUpdateNum
+ break
+ case 'blank':
+ this.device[this.toindex].counter = this.toUpdateNum
+ break
+ case 'team':
+ this.team[this.toindex].counter = this.toUpdateNum
+ break
+ case 'device':
+ this.device[this.toindex].counter = this.toUpdateNum
+ break
+ case 'program':
+ this.program[this.toindex].counter = this.toUpdateNum
+ break
+ }
+
+ this.DMLdialog.visiable = false
+ },
+
//todo 数据同步
/*
1.从后台获取数据
@@ -267,21 +334,6 @@ export default {