退料负责机具权限
This commit is contained in:
parent
167f3e64ce
commit
e2df00a1b6
|
|
@ -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' })
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue