现场维修二维码
This commit is contained in:
		
							parent
							
								
									27c5e74ae5
								
							
						
					
					
						commit
						8c1b554a99
					
				| 
						 | 
					@ -119,15 +119,7 @@ const handleSearch = () => {
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            })
 | 
					            })
 | 
				
			||||||
            if (res.data.length === 1) {
 | 
					            if (res.data.length === 1) {
 | 
				
			||||||
                console.log('🚀 ~ getWsMaInfoList ~ res.data.length:', res.data.length)
 | 
					                handleCheck(res.data[0])
 | 
				
			||||||
                formData.id = res.data[0].id
 | 
					 | 
				
			||||||
                formData.code = res.data[0].maCode
 | 
					 | 
				
			||||||
                formData.maType = res.data[0].maName
 | 
					 | 
				
			||||||
                formData.nextRepairTime = res.data[0].nextCheckTime
 | 
					 | 
				
			||||||
                formData.repairTime = res.data[0].thisCheckTime
 | 
					 | 
				
			||||||
                formData.typeName = res.data[0].maModel
 | 
					 | 
				
			||||||
                formData.repairer = res.data[0].repairMan
 | 
					 | 
				
			||||||
                console.log('🚀 ~ getWsMaInfoList ~ formData:', formData)
 | 
					 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }).catch(error => {
 | 
					    }).catch(error => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue