heyang 1 年之前
父節點
當前提交
17fee69665
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      src/views/safetyCheck/startInspection/index.vue

+ 8 - 0
src/views/safetyCheck/startInspection/index.vue

@@ -573,6 +573,10 @@
                   this.msgError('请添加隐患检查项')
                   return
                 }
+                if(!obj.checkHazardInfoVoList[0].checkHazardDtoList[0]){
+                  this.msgError('请添加隐患检查项')
+                  return
+                }
                 let list=[]
                 let checkFlagList=[];
                 for(let i=0;i<this.addForm.checkHazardInfoVoList.length;i++){
@@ -637,6 +641,10 @@
                   this.msgError('请添加隐患检查项')
                   return
                 }
+                if(!obj.checkHazardInfoVoList[0].checkHazardDtoList[0]){
+                  this.msgError('请添加隐患检查项')
+                  return
+                }
                 let list=[]
                 let checkFlagList=[];
                 for(let i=0;i<this.addForm.checkHazardInfoVoList.length;i++){