From a2dbedf3916116ecfa7bba20a34f73a86978cda5 Mon Sep 17 00:00:00 2001 From: A0010407 Date: Mon, 1 Apr 2024 15:56:02 +0800 Subject: [PATCH] =?UTF-8?q?2024-4-1=20=E8=AE=BE=E5=A4=87=E6=A8=A1=E5=9D=97?= =?UTF-8?q?-=E6=A3=80=E6=9F=A5=E9=A1=B9=E7=BB=B4=E6=8A=A4-=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E6=A0=A1=E9=AA=8C=E5=85=B3=E8=81=94=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/item/index.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/device/item/index.vue b/src/views/device/item/index.vue index b01ec06..0a2d3de 100644 --- a/src/views/device/item/index.vue +++ b/src/views/device/item/index.vue @@ -661,7 +661,7 @@ export default { // 数据校验 if (this.form.itemName == null) { this.$message({ - message: "请输入检查项!", + message: "请输入检查项名称!", type: "warning" }) return @@ -673,13 +673,20 @@ export default { }) return } - if (this.selectEquipmentList.length == 0) { + if (this.form.itemMethod == null) { this.$message({ - message: "请关联设备!", + message: "请输入检查方法!", type: "warning" }) return } + // if (this.selectEquipmentList.length == 0) { + // this.$message({ + // message: "请关联设备!", + // type: "warning" + // }) + // return + // } for (let i = 0; i < this.formStandard.length; i++) { // 如果为定性 if (this.formStandard[i].standardType == 'qualitative') {