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

优化方法

parent 10870f56
...@@ -125,7 +125,8 @@ ...@@ -125,7 +125,8 @@
}) })
} }
/* jyfk */ /* jyfk */
function jyfk_secjyfk(that){ function jyfk_secjyfk(t){
let that=t
gas.post('kmes/gpfk/jyfk',{"fkid":that.fkid, "hgsn":that.xlh}, function(res){ gas.post('kmes/gpfk/jyfk',{"fkid":that.fkid, "hgsn":that.xlh}, function(res){
if(res.data&&res.data.records){ if(res.data&&res.data.records){
...@@ -162,8 +163,18 @@ ...@@ -162,8 +163,18 @@
jyfk_pdfshow(that,s) jyfk_pdfshow(that,s)
}) })
}else if(e=="OKBZ"){ }else if(e=="OKBZ"){
jyfk_secjyfk(that) if(that.fkid){
jyfk_secjyfk(that)
}else{
jyfk_wrz(that,"请先扫描WOSNID","error")
}
}else if(e=="NGBZ"){ }else if(e=="NGBZ"){
if(that.fkid){
jyfk_secjyfk(that)
}else{
jyfk_wrz(that,"请先扫描WOSNID","error")
}
}else if(e=="WLID"){ }else if(e=="WLID"){
let msg="正在查询WLID:"+that.xlh let msg="正在查询WLID:"+that.xlh
jyfk_wrz(that,msg) jyfk_wrz(that,msg)
......
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