This commit is contained in:
		
							parent
							
								
									9d283094ee
								
							
						
					
					
						commit
						0d02adec03
					
				| 
						 | 
					@ -1365,9 +1365,9 @@ export default {
 | 
				
			||||||
        parentId,
 | 
					        parentId,
 | 
				
			||||||
        maTypeProperties:this.maTypeProperties,
 | 
					        maTypeProperties:this.maTypeProperties,
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
 | 
					 | 
				
			||||||
      this.$refs["addFormParamsRef"].validate( async(valid) => {
 | 
					      this.$refs["addFormParamsRef"].validate( async(valid) => {
 | 
				
			||||||
        if (valid) {
 | 
					        if (valid) {
 | 
				
			||||||
 | 
					          if (this.$refs["maTypeRef"] && this.$refs["maTypeRef"].length > 0) {
 | 
				
			||||||
            await this.$refs["maTypeRef"].forEach((formRef)=>{
 | 
					            await this.$refs["maTypeRef"].forEach((formRef)=>{
 | 
				
			||||||
              formRef.validate((validTemp)=>{
 | 
					              formRef.validate((validTemp)=>{
 | 
				
			||||||
                if(!validTemp){
 | 
					                if(!validTemp){
 | 
				
			||||||
| 
						 | 
					@ -1375,6 +1375,7 @@ export default {
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
              })
 | 
					              })
 | 
				
			||||||
            })
 | 
					            })
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
          if(this.allPass==true){
 | 
					          if(this.allPass==true){
 | 
				
			||||||
           if (this.addTitle === "新增") {
 | 
					           if (this.addTitle === "新增") {
 | 
				
			||||||
                const res = await addMaType(addParams);
 | 
					                const res = await addMaType(addParams);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue