退料负责机具权限

This commit is contained in:
hongchao 2025-07-31 10:27:24 +08:00
parent 167f3e64ce
commit e2df00a1b6
1 changed files with 5 additions and 5 deletions

View File

@ -201,13 +201,13 @@ const codeSearch = async () => {
const res = await getMachineByCodeApi(param)
console.log(res)
if (res.code == 200) {
if(res.data){
maInfo.value = res.data
console.log('22222222', maInfo.value)
}else{
uni.showToast({ title: '未查询到该设备编号或该编码非您负责的设备!', icon: 'none' })
}
// else {
// uni.showToast({ title: '', icon: 'none' })
// }
} else {
uni.showToast({ title: res.data.msg, icon: 'none' })
}