Commit 2728a14a authored by 李苏's avatar 李苏 💬

登录页面

parent d686b21c
...@@ -138,6 +138,7 @@ ...@@ -138,6 +138,7 @@
/* 刷新获取工单 */ /* 刷新获取工单 */
function zpfk_queryKwellWoinfo2(e){ function zpfk_queryKwellWoinfo2(e){
let that=e let that=e
that.okOrng=""
return new Promise(function(y,n){ return new Promise(function(y,n){
gas.post('kmes/gpfk/queryKwellWoinfo',{"wosnid":that.cpsn,"bzlx":window.bzlx}, function(res){ gas.post('kmes/gpfk/queryKwellWoinfo',{"wosnid":that.cpsn,"bzlx":window.bzlx}, function(res){
if(res.data&&res.data.records){ if(res.data&&res.data.records){
...@@ -147,6 +148,7 @@ ...@@ -147,6 +148,7 @@
that.ph = res.data.records.wlxxCode; that.ph = res.data.records.wlxxCode;
let woid = res.data.records.woid; let woid = res.data.records.woid;
that.fkid=res.data.records.id that.fkid=res.data.records.id
that.okOrng=res.data.zpbz
y(woid) y(woid)
/** wobom查询 **/ /** wobom查询 **/
...@@ -192,6 +194,7 @@ ...@@ -192,6 +194,7 @@
/* wobom查询 .then(e=>执行) */ /* wobom查询 .then(e=>执行) */
function zpfk_queryWoBomByWoid(e,woid){ function zpfk_queryWoBomByWoid(e,woid){
let that=e let that=e
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){
...@@ -297,7 +300,7 @@ ...@@ -297,7 +300,7 @@
$(that.el).find(".rz").append("<br>>" + "<span style='color: red;'>" +msg+"</sapn>") $(that.el).find(".rz").append("<br>>" + "<span style='color: red;'>" +msg+"</sapn>")
that.addtop = that.addtop + 600 that.addtop = that.addtop + 600
$(that.el).find(".rz").scrollTop(that.addtop) $(that.el).find(".rz").scrollTop(that.addtop)
that.okOrng='NG' // that.okOrng='NG'
} }
/* this.xlh="" */ /* this.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