|
|
@ -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') {
|
|
|
|