Commit bc897b50 authored by yff's avatar yff

反馈中增加msg提示信息

parent a9585138
......@@ -121,12 +121,27 @@
zpfk_wrz(that,msg,'error')
return false
}
gas.post('kmes/gphy/zpwl',{"snid":that.xlh,"fkid":that.fkid}, function(res){
gas.post('kmes/gphy/zpwl',{"snid":that.xlh,"mid":that.fkid,"fkid":that.fkid}, function(res){
if(res.data&&res.data.records){
if(res.data.records==100){
let msg="序列号:"+that.xlh+"已经扫描过"
zpfk_wrz(that,msg,"error")
}
else if(res.data.records==230){
let msg="该物料已经装配完成"
zpfk_wrz(that,msg,"error")
}
else if(res.data.records==200){
/* 表格加1 ok标志改变 日志 */
zpfk_queryKwellWoinfo2(that).then(function(s){
zpfk_queryWoBomByWoid(that,s)
})
}
else{
let msg="查询装配物料:"+that.xlh+"失败"
that.xlh=""
zpfk_wrz(that,msg,"error")
}
}else{
let msg="查询装配物料:"+that.xlh+"失败"
that.xlh=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment