From fa508162059a2f6ceb05601cbd652a7a821c7b87 Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Tue, 21 Dec 2021 11:11:01 +0800 Subject: [PATCH] commit --- .../pages/creatProcess/bzjd/step3.vue | 39 +------------------ 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue index 42c8cae67..707111fcd 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step3.vue @@ -735,51 +735,14 @@ handleSubmit() { this.$refs['bzzqyjForm'].validate((valid) => { if (valid) { - let num1 = 0, num2 = 0, num3 = 0, num4 = 0, num5 = 0, num6 = 0 + let num3 = 0 for (let a = 0; a < this.itemList.length; a++) { - if (!this.itemList[a].technicalRequir) { - num1++ - } - if (!this.itemList[a].changePoint) { - num2++ - } if (!this.itemList[a].complianceRequir) { num3++ } - if (!this.itemList[a].newData) { - num4++ - } - if (!this.itemList[a].onlineData) { - num5++ - } - if (!this.itemList[a].applyArctic) { - num6++ - } - } - if (!this.form.itemsNum1) { - if (num1 > 0) { - this.$message.warning('请输入核心技术要求') - return - } - } else { - if (num2 > 0) { - if (this.sarType === 'INLAND') { - this.$message.warning('请输入国内标准的差异点') - return - } else { - this.$message.warning('请输入基于上一版本差异') - return - } - } } if (num3 > 0) { this.$message.warning('请输入符合性要求') - } else if (num4 > 0) { - this.$message.warning('请输入新车型实施日期') - } else if (num5 > 0) { - this.$message.warning('请输入在产车实施日期') - } else if (num6 > 0) { - this.$message.warning('请选择适用车型') } else { this.isSubmit = true var json = this.json