diff --git a/src/views/quality/qcIncome/checkProjectType.vue b/src/views/quality/qcIncome/checkProjectType.vue index a747779..4c30e48 100644 --- a/src/views/quality/qcIncome/checkProjectType.vue +++ b/src/views/quality/qcIncome/checkProjectType.vue @@ -392,9 +392,7 @@ export default { }, // 使用nextTick解决循环引用问题 handleResetForm() { - this.$nextTick(() => { - this.dynamicValidateForm.domains = [{ value: ''}]; - }); + this.dynamicValidateForm.domains = [{ value: ''}]; }, // 数据状态修改/Y合格N不合格 @@ -412,11 +410,11 @@ export default { //动态测量值 /** 检测结果钮操作 */ handleShowValue(row) { + this.handleResetForm(); this.valueOpen = true; this.recordId = row.recordId; this.weight = row.weight; const actualValue = row.actualValue; - console.log(actualValue); if(actualValue !== null && actualValue !== '') { this.dynamicValidateForm.domains = []; let values = actualValue.split(",");