| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <style>
- .m-b-6 {
- margin-bottom: 6px;
- }
- .m-t-6 {
- margin-top: 6px;
- }
- .m-l-10 {
- margin-left: 10px;
- }
- .m-l-15 {
- margin-left: 15px;
- }
- .row {
- margin-left: 0px;
- margin-right: 0px;
- }
- .border {
- border: solid 1px #DDDDDD;
- border-radius: 4px;
- }
- .col-xs-4 {
- padding-left:2px;
- padding-right:2px;
- }
- input{
- line-height:28px;
- }
- .text-overflow {
- word-break:keep-all;/* 不换行 */
- white-space:nowrap;/* 不换行 */
- overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
- text-overflow:ellipsis; /* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用。*/
- }
-
- </style>
-
- <div ng-controller="CheckCtrl" style="min-height: 400px;">
- <div><a ng-href="#/checkContents" class="m-l-15 btn btn-success btn-sm m-t-6 m-b-6" > 返回 </a></div>
- <div style="margin-bottom:12px">
- <input type="text" class="col-xs-4 m-l-15 " id="barcode" ng-model="barcode" placeholder="条码号" ng-keyup="searchBarcode($event)" required>
- <input type="text" class="col-xs-4 m-l-10" id="whcode" ng-model="whcode" placeholder="仓库" ng-keyup="searchBarcode($event)" >
- <button class="btn btn-success btn-sm m-l-10 " ng-click="checkBarcode(barcode,whcode)" >查找</button>
- </div>
- <div class="m-b-6">{{bar_code}}</div>
- <div class="col-xs-12 col-sm-11 col-sm-offset-1">
- <table ng-table="tableParams"
- class="table table-bordered table-striped ng-table-rowselected" >
- <tr >
- <th width="20%">供应商</th>
- <th width="20%">料号</th>
- <th width="20%">仓库</th>
- <th width="20%">储位</th>
- <th width="20%">数量</th>
- </tr>
- <tr ng-repeat="item in $data"
- ng-class="{'active': item.$selected}" ng-click="item.$selected = !item.$selected; showBarcodeDetail(s)">
- <td >{{item.bar_whcode}}</td>
- <td style="" class="text-overflow">{{item.bar_location}}</td>
- <td >{{item.bar_remain}}</td>
- <td >{{item.bar_location}}</td>
- <td >{{item.bar_remain}}</td>
- </tr>
- </table>
- </div>
- </div>
|