This commit is contained in:
		
							parent
							
								
									fcac34e38a
								
							
						
					
					
						commit
						c8f0dc90cb
					
				| 
						 | 
					@ -587,10 +587,6 @@ const saveCode = () => {
 | 
				
			||||||
        let index2 = partItems.value.findIndex((v) => v.partNum == 0)
 | 
					        let index2 = partItems.value.findIndex((v) => v.partNum == 0)
 | 
				
			||||||
        if (repairPerson.value == '') {
 | 
					        if (repairPerson.value == '') {
 | 
				
			||||||
            uni.showToast({ title: '请先选择维修人员!', icon: 'none' })
 | 
					            uni.showToast({ title: '请先选择维修人员!', icon: 'none' })
 | 
				
			||||||
        } else if (index1 > -1) {
 | 
					 | 
				
			||||||
            uni.showToast({ title: '请先选择配件类型!', icon: 'none' })
 | 
					 | 
				
			||||||
        } else if (index2 > -1) {
 | 
					 | 
				
			||||||
            uni.showToast({ title: '请填写配件数量!', icon: 'none' })
 | 
					 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
            saveCodeApi()
 | 
					            saveCodeApi()
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue