2024-4-1 设备模块-检查项维护-去除校验关联设备

master
A0010407 7 months ago
parent 94dc5948d9
commit a2dbedf391

@ -661,7 +661,7 @@ export default {
// //
if (this.form.itemName == null) { if (this.form.itemName == null) {
this.$message({ this.$message({
message: "请输入检查项", message: "请输入检查项名称",
type: "warning" type: "warning"
}) })
return return
@ -673,13 +673,20 @@ export default {
}) })
return return
} }
if (this.selectEquipmentList.length == 0) { if (this.form.itemMethod == null) {
this.$message({ this.$message({
message: "请关联设备", message: "请输入检查方法",
type: "warning" type: "warning"
}) })
return return
} }
// if (this.selectEquipmentList.length == 0) {
// this.$message({
// message: "",
// type: "warning"
// })
// return
// }
for (let i = 0; i < this.formStandard.length; i++) { for (let i = 0; i < this.formStandard.length; i++) {
// //
if (this.formStandard[i].standardType == 'qualitative') { if (this.formStandard[i].standardType == 'qualitative') {

Loading…
Cancel
Save