heyang hai 1 ano
pai
achega
684448f5eb

+ 3 - 0
src/views/medicUniversity-3_1/chemicalManagement/chemicalProcurement/purchaseRequisition/addPage.vue

@@ -404,6 +404,9 @@
               align-self: center;
               margin-top:-20px;
               margin-left:58px;
+              white-space:nowrap;
+              overflow:hidden;
+              text-overflow:ellipsis;
             }
           }
           .form-list-data-for-max-box{

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

@@ -569,6 +569,10 @@
                 }
 
               }else if(this.addForm.checkCategory==2){//专项检查
+                if(!obj.checkHazardInfoVoList[0]){
+                  this.msgError('请添加隐患检查项')
+                  return
+                }
                 let list=[]
                 let checkFlagList=[];
                 for(let i=0;i<this.addForm.checkHazardInfoVoList.length;i++){
@@ -628,6 +632,10 @@
                   obj.checkHazardDtoList = [];
                 }
               }else if(this.addForm.checkCategory==2){//专项检查
+                if(!obj.checkHazardInfoVoList[0]){
+                  this.msgError('请添加隐患检查项')
+                  return
+                }
                 let list=[]
                 let checkFlagList=[];
                 for(let i=0;i<this.addForm.checkHazardInfoVoList.length;i++){