| | |
| | | } |
| | | |
| | | #task { |
| | | height: 315px; |
| | | height: 200px; |
| | | overflow: auto; |
| | | } |
| | | |
| | |
| | | } |
| | | #example tbody { |
| | | display:block; |
| | | height:280px; |
| | | height:320px; |
| | | overflow-y:scroll; |
| | | } |
| | | #example thead,#example tbody tr { |
| | |
| | | #example thead th { |
| | | background:#ccc; |
| | | } |
| | | td, th { |
| | | padding: 6px; |
| | | } |
| | | </style> |
| | | |
| | | <script type="text/javascript"> |
| | | |
| | | var interval = setInterval('refreshStatus()', 20000); |
| | | /* var interval = setInterval('refreshStatus()', 20000); */ |
| | | //设备页面自动刷新 |
| | | /* function refreshStatus() { |
| | | window.location.reload(); |
| | |
| | | </div> |
| | | </td> --%> |
| | | <td v-for="item in shuzu"> |
| | | <div :value="item[1]" class='progress vertical active' style='width: 21px;background-color: gray;height: 90px;'> |
| | | |
| | | <div :value="item['1_raw_type']" class='progress vertical active' style='width: 30px;background-color: gray;height: 90px;'> |
| | | |
| | | <div :value="item['1_raw_type']" class='progress vertical active' style='width: 30px;background-color: gray;height: 90px;'> |
| | | |
| | | <span style='margin-top: opx'> |
| | | {{item[8]}} |
| | | {{item['8_pieces']}} |
| | | </span> |
| | | <div v-show="item[9]*1<3" :style="{height:item[10]}" class='progress-bar progress-bar-primary progress-bar-striped progress-bar-aqua'> |
| | | <span>{{item[5]}}/{{item[8]}}</span> |
| | | <div v-show="item['9_rukutime']*1<3" :style="{height:item['10_bfb']}" class='progress-bar progress-bar-primary progress-bar-striped progress-bar-aqua'> |
| | | <span>{{item['5_left_pieces']}}/{{item['8_pieces']}}</span> |
| | | </div> |
| | | <div v-show="2<item[9]*1 && item[9]*1<8" :style="{height:item[10]}" class='progress-bar progress-bar-striped progress-bar-green'> |
| | | <span>{{item[5]}}/{{item[8]}}</span> |
| | | <div v-show="2<item['9_rukutime']*1 && item['9_rukutime']*1<8" :style="{height:item['10_bfb']}" class='progress-bar progress-bar-striped progress-bar-green'> |
| | | <span>{{item['5_left_pieces']}}/{{item['8_pieces']}}</span> |
| | | </div> |
| | | <div v-show="item[9]*1>7" :style="{height:item[10]}" class='progress-bar progress-bar-danger progress-bar-striped progress-bar-red'> |
| | | <span>{{item[5]}}/{{item[8]}}</span> |
| | | <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]}}</div> |
| | | <div>{{item['0_number']}}</div> |
| | | </td> |
| | | </tr> |
| | | </table> |
| | |
| | | <!-- <button type="button" @click="fanpian()" class="btn btn-primary ">翻片</button> --> |
| | | <button type="button" onclick="updatecount()" class="btn btn-primary ">修改数量</button> |
| | | |
| | | <table id="example" class="table table-bordered table-condensed"> |
| | | <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> |
| | |
| | | <tbody> |
| | | |
| | | <tr v-for='(items,index) in shuzu' :key='index'> |
| | | <td><input v-model="shelfId" name='id' type='checkbox' :value="items[0]" /></td> |
| | | <td class="rankid" style="display:none">{{items[0]}}</td> |
| | | <td v-show="(key1<8?true:false)" v-for='(item,key1) in items' :key='items.list1' > |
| | | <td><input v-model="shelfId" name='id' type='checkbox' :value="items['0_number']" /></td> |
| | | <td class="rankid" style="display:none">{{items['0_number']}}</td> |
| | | <td v-show="(indexs<8?true:false)" v-for='(item,key1,indexs) in items' :key='items.list1' > |
| | | {{item}} |
| | | </td> |
| | | </tr> |
| | |
| | | <%-- <li style="font-size: 20px"><a href="#" |
| | | onclick="$('#shelfRankInput').val('${shelfRankNumber}')">${shelfRankNumber}</a></li> --%> |
| | | <li v-for='items in shelfRack' style="font-size: 20px"> |
| | | <a href="#" onclick="$('#shelfRankInput').val($(this).text())">{{items[0]}}</a> |
| | | <a href="#" onclick="$('#shelfRankInput').val($(this).text())">{{items['0_number']}}</a> |
| | | </li> |
| | | </ul> |
| | | </div> |
| | |
| | | <ul class="dropdown-menu" |
| | | style="height: 280px; overflow: auto;"> |
| | | <li v-for='color in colors' style="font-size: 20px"><a href="#" |
| | | onclick="$('#colorinput').val($(this).text())">{{color[0]}}</a></li> |
| | | onclick="$('#colorinput').val($(this).text())">{{color['0_glass_id']}}</a></li> |
| | | |
| | | </ul> |
| | | </div> |
| | |
| | | <ul class="dropdown-menu" |
| | | style="height: 280px; overflow: auto;"> |
| | | <li v-for='color in colors' style="font-size: 20px"><a href="#" |
| | | onclick="$('#colors').val($(this).text())">{{color[0]}}</a></li> |
| | | onclick="$('#colors').val($(this).text())">{{color['0_glass_id']}}</a></li> |
| | | </ul> |
| | | </div> |
| | | |
| | |
| | | "pici":"", |
| | | "date":"" |
| | | }, |
| | | |
| | | shelfGlass:{ |
| | | "shelfID":"", |
| | | "color":"", |