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

登录页面

parent 0e735200
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</style> </style>
<div> <div>
<div class="btn-group" > <div class="btn-group" >
<button id="btnqh" type="button" class="btn btn-default" style="color: white;position: absolute;right: 5px;z-index: 9999999999;height: 50px;width: 200px;border: 0 solid #00AAFF;background-color: #00AAFF;">切换风格</button> <button id="btnqh" type="button" class="btn btn-default" style="color: white;position: absolute;right: 5px;z-index: 9999999999;height: 50px;width: 200px;border: 0 solid #00AAFF;background-color: #00AAFF;display: none;">切换风格</button>
</div> </div>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
...@@ -116,16 +116,18 @@ ...@@ -116,16 +116,18 @@
let that =z let that =z
if(!that.gd){ if(!that.gd){
let msg="请先扫描工单序列号,获取工单号" let msg="请先扫描工单序列号,获取工单号"
that.xlh=""
screenAlert(that.el,msg,2000) screenAlert(that.el,msg,2000)
zpfk_wrz(that,msg,'error') zpfk_wrz(that,msg,'error')
return false return false
} }
gas.post('kmes/gphy/zpwl',{"wlxh":that.xlh}, function(res){ gas.post('kmes/gphy/zpwl',{"wlxh":that.xlh,"fkid":that.fkid}, function(res){
if(res.data&&res.data.records){ if(res.data&&res.data.records){
/* 表格加1 ok标志改变 日志 */ /* 表格加1 ok标志改变 日志 */
}else{ }else{
let msg="查询装配物料:"+that.xlh+"失败" let msg="查询装配物料:"+that.xlh+"失败"
that.xlh=""
zpfk_wrz(that,msg,"error") zpfk_wrz(that,msg,"error")
} }
}) })
...@@ -143,6 +145,7 @@ ...@@ -143,6 +145,7 @@
that.cpsn = res.data.records.wosnid; that.cpsn = res.data.records.wosnid;
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
y(woid) y(woid)
/** wobom查询 **/ /** wobom查询 **/
...@@ -197,20 +200,23 @@ ...@@ -197,20 +200,23 @@
let msg="正在查询WOSNID:"+that.xlh let msg="正在查询WOSNID:"+that.xlh
zpfk_wrz(that,msg) zpfk_wrz(that,msg)
zpfk_queryKwellWoinfo(that).then(function(s){ zpfk_queryKwellWoinfo(that).then(function(s){
debugger;
zpfk_queryWoBomByWoid(that,s) zpfk_queryWoBomByWoid(that,s)
zpfk_pdfshow(that,s) zpfk_pdfshow(that,s)
}) })
}else if(e=="OKBZ"){ }else if(e=="OKBZ"){
that.okOrng="OK" that.okOrng="OK"
that.xlh=""
}else if(e=="NGBZ"){ }else if(e=="NGBZ"){
that.okOrng="N" that.okOrng="N"
that.xlh=""
}else if(e=="WLID"){ }else if(e=="WLID"){
let msg="正在查询WLID:"+that.xlh let msg="正在查询WLID:"+that.xlh
zpfk_wrz(that,msg) zpfk_wrz(that,msg)
zpfk_wlxh(that) zpfk_wlxh(that)
}else if(e=="LOGOUT"){ }else if(e=="LOGOUT"){
zpfk_wrz(that,"即将退出系统") zpfk_wrz(that,"即将退出系统")
localStorage.clear();
window.location.href ="logout";
} }
/* 获取类型 */ /* 获取类型 */
}) })
...@@ -269,13 +275,13 @@ ...@@ -269,13 +275,13 @@
} }
/* 弹框封装 */ /* 弹框封装 */
</script> </script>
<div id="kwrkb01" > <div id="kwrkb01">
<!-- 顶部信息条 --> <!-- 顶部信息条 -->
<div class="toptitle"> <div class="toptitle">
<ul class="tipul" style="height: 100%;"> <ul class="tipul" style="height: 100%;">
<li>当前工序:{{gx}}</li> <li>当前工序:{{gx}}</li>
<li>{{username}}</li> <li>{{username}}</li>
<li class="tipuli2">{{systime}}</li> <li class="tipuli2" style="width: 300px;">{{systime}}</li>
<li class="tipuli2" style="margin-right: 200px;">计数:30</li> <li class="tipuli2" style="margin-right: 200px;">计数:30</li>
<li class="tipuli2"></li> <li class="tipuli2"></li>
...@@ -350,7 +356,7 @@ ...@@ -350,7 +356,7 @@
<input class="easyuitext" style="width: 250px;" @keydown="scanxlh()" placeholder="请扫码条码" name="xlh" v-model="xlh" /> <input class="easyuitext" style="width: 250px;" @keydown="scanxlh()" placeholder="请扫码条码" name="xlh" v-model="xlh" />
<button type="button" ><b style="color: #666666;font-style:oblique;">SUBMIT</b></button> <button type="button" ><b style="color: #666666;font-style:oblique;">SUBMIT</b></button>
</li> </li>
<li class="tipuli2">{{systime}}</li> <li class="tipuli2" style="width: 300px;">{{systime}}</li>
<li class="tipuli2" style="margin-right: 10px;">计数:<span style="font-size: 16px;">30</span></li> <li class="tipuli2" style="margin-right: 10px;">计数:<span style="font-size: 16px;">30</span></li>
...@@ -414,7 +420,7 @@ ...@@ -414,7 +420,7 @@
<li class="tipulmid">ADMIN</li> <li class="tipulmid">ADMIN</li>
<li class="tipulmid">{{username}}</li> <li class="tipulmid">{{username}}</li>
<li class="tipulmid">甲班</li> <li class="tipulmid">甲班</li>
<li class="tipuli2">{{systime}}</li> <li class="tipuli2" style="width: 300px;">{{systime}}</li>
<li class="tipuli2" style="margin-right: 10px;">计数:30</li> <li class="tipuli2" style="margin-right: 10px;">计数:30</li>
<li class="tipuli2" style="margin-right: 10px;">当前工序:{{gx}}</li> <li class="tipuli2" style="margin-right: 10px;">当前工序:{{gx}}</li>
</ul> </ul>
......
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