| | |
| | | <script type="text/javascript" src="../static/js/sucaijiayuan.js"></script> |
| | | <script type="text/javascript" src="../static/laydate/laydate.js"></script> |
| | | <script type="text/javascript" src="../static/util/utilAlert.js"></script> |
| | | <script type="text/javascript" src="../static/bootstrap/3.3.7/js/bootstrap.min.js"></script> |
| | | |
| | | <style type="text/css"> |
| | | .rank { |
| | | font-weight: bolder; |
| | |
| | | |
| | | <script type="text/javascript"> |
| | | |
| | | /* var interval = setInterval('refreshStatus()', 20000); */ |
| | | //let interval = setInterval('refreshStatus()', 20000); |
| | | //设备页面自动刷新 |
| | | /* function refreshStatus() { |
| | | window.location.reload(); |
| | | } */ |
| | | } |
| | | //停止页面自动刷新 |
| | | function disableAutoRefresh() { |
| | | clearInterval(interval); |
| | |
| | | <div v-show="item['9_rukutime']*1>7" :style="{height:item['10_bfb']}" class='progress-bar progress-bar-danger progress-bar-striped progress-bar-red'> |
| | | <span>{{item['5_left_pieces']}}/{{item['8_pieces']}}</span> |
| | | </div> |
| | | |
| | | </div> |
| | | <div>{{item['0_number']}}</div> |
| | | </td> |
| | |
| | | |
| | | <!--表格 --> |
| | | <select id="dzw" class="btn btn-primary"> |
| | | <option value="1">吊装位1</option> |
| | | <option value="2">吊装位2</option> |
| | | <option value="98">吊装位1</option> |
| | | <option value="99">吊装位2</option> |
| | | </select> |
| | | <button type="button" onclick="ruku()" class="btn btn-primary ">入库</button> |
| | | <!-- <button type="button" onclick="ruku1()" class="btn btn-primary ">扫码入库</button> --> |
| | |
| | | <table id="example" class="table table-bordered table-condensed" style="font-size: 12px;"> |
| | | <thead style="font-size: 20px; Height: 40px"> |
| | | <tr> |
| | | <th><input type="checkbox" name="allChecked" /></th> |
| | | <th><input type="checkbox" v-model="checkFlag" name="allChecked" @click="quanxuan" /></th> |
| | | <th style="display:none">编号</th> |
| | | <th>库位号</th> |
| | | <th>类型</th> |
| | |
| | | </section> |
| | | </div> |
| | | </body> |
| | | <script src="../js/mixins.js"></script> |
| | | <script src="../js/vue.min.js"></script> |
| | | |
| | | <script src="../js/main.js"></script> |
| | | <script type="text/javascript" src="../static/bootstrap/3.3.7/js/bootstrap.min.js"></script> |
| | | |
| | | <script> |
| | | let app = new Vue({ |
| | | mixins:[mixin], |
| | |
| | | shuzu:[], |
| | | shelfRack:[], |
| | | colors:[], |
| | | checkFlag:false |
| | | }, |
| | | methods:{ |
| | | start:function(func){ |
| | |
| | | } |
| | | //获取选择的吊装位 |
| | | this.glass.dzw=$("#dzw").val(); |
| | | alert(JSON.stringify(this.glass)); |
| | | let sql="{call AXJ_liaojiaguanli_ruku(?,?,?,?,?,?,?,?,?,?)}~"+JSON.stringify(this.glass); |
| | | //console.log(sql); |
| | | $("#myModal-add-info").modal('hide'); |
| | |
| | | this.load_rack=$("#dzw").val(); |
| | | let sql="{call AXJ_liaojiaguanli_diaozhuangweiruku(?,?)}~"+"{'load_rack':'"+this.load_rack+"'}"; |
| | | this.connects("吊装位入库",sql,1,1); |
| | | }, |
| | | quanxuan(){ |
| | | this.checkFlag=!this.checkFlag; |
| | | this.shelfId=[]; |
| | | if(this.checkFlag){ |
| | | for(let item in this.shuzu){ |
| | | this.shelfId.push(this.shuzu[item]["0_number"]); |
| | | } |
| | | }else{ |
| | | this.shelfId=[]; |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | }, |
| | | mounted:function(){ |
| | | let sql="{call AXJ_liaojiaguanli_kucunchaxun(?)}"; |
| | | let flag=2; |
| | | loadAjxs('原片仓储玻璃查询',sql,flag,"shuzu"); |
| | | this.loadAjxss('原片仓储玻璃查询',sql,flag,"shuzu"); |
| | | sql="{call AXJ_liaojiaguanli_shelfrack(?)}"; |
| | | loadAjxs('原片仓储架子查询',sql,flag,"shelfRack"); |
| | | this.loadAjxss('原片仓储架子查询',sql,flag,"shelfRack"); |
| | | sql="{call AXJ_liaojiaguanli_colors(?)}"; |
| | | loadAjxs('原片仓储颜色查询',sql,flag,"colors"); |
| | | this.loadAjxss('原片仓储颜色查询',sql,flag,"colors"); |
| | | } |
| | | |
| | | }) |