Commit d84caf28 authored by 李苏's avatar 李苏 💬

登录页面

parent 6522c114
...@@ -195,13 +195,13 @@ ...@@ -195,13 +195,13 @@
that.xlh="" that.xlh=""
gas.post('kmes/gpfk/queryWoBomByWoid',{"woid":woid,"wosn":that.cpsn,"bzlx":window.bzlx}, function(res){ gas.post('kmes/gpfk/queryWoBomByWoid',{"woid":woid,"wosn":that.cpsn,"bzlx":window.bzlx}, function(res){
if(res.data&&res.data.records){ if(res.data&&res.data.records){
let msg="查询装配表格:"+woid+"成功" // let msg="查询装配表格:"+woid+"成功"
zpfk_wrz(that,msg) // zpfk_wrz(that,msg)
that.tabdata = res.data.records; that.tabdata = res.data.records;
that.initpage() that.initpage()
}else{ }else{
let msg=res.message||"查询装配表格:"+woid+"失败" let msg=res.message||"查询装配表格:"+woid+"失败"
zpfk_wrz(that,msg,'error') // zpfk_wrz(that,msg,'error')
screenAlert(that.el,msg,2000) screenAlert(that.el,msg,2000)
} }
}); });
...@@ -246,8 +246,8 @@ ...@@ -246,8 +246,8 @@
/* 获取类型 */ /* 获取类型 */
}) })
.catch(function(e){ .catch(function(e){
let msg="正在查询WLID:"+that.xlh // let msg="正在查询WLID:"+that.xlh
zpfk_wrz(that,msg) // zpfk_wrz(that,msg)
zpfk_wlxh(that) zpfk_wlxh(that)
// console.log(e) // console.log(e)
// let msg="无法识别该序列号:"+that.xlh // let msg="无法识别该序列号:"+that.xlh
......
...@@ -134,11 +134,11 @@ ...@@ -134,11 +134,11 @@
if(res.data&&res.data.records){ if(res.data&&res.data.records){
debugger debugger
if(type=="ok"){ if(type=="ok"){
taht.isok="OK" that.isok="OK"
that.hg=res.data.records.hgsl||0; that.hg=res.data.records.hgsl||0;
that.ng=res.data.records.bhgsl||0; that.ng=res.data.records.bhgsl||0;
}else if(type=="ng"){ }else if(type=="ng"){
taht.isok="NG" that.isok="NG"
that.hg=res.data.records.hgsl||0; that.hg=res.data.records.hgsl||0;
that.ng=res.data.records.bhgsl||0; that.ng=res.data.records.bhgsl||0;
} }
......
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