checkPO.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <style>
  2. .m-l-10 {
  3. margin-left: 10px;
  4. }
  5. .col-xs-4 {
  6. padding-left:2px;
  7. padding-right:2px;
  8. }
  9. </style>
  10. <div ng-controller="CheckCtrl" style="min-height: 400px;">
  11. <div><a ng-href="#/checkContents" class="m-l-15 btn btn-success btn-sm m-t-10 m-b-10" > 返回 </a></div>
  12. <div class="m-b-10">
  13. <input type="text" class="col-xs-4 m-l-15 " id="barcode" ng-model="barcode" placeholder="条码号" ng-keyup="searchBarcode($event)" focus-me required>
  14. <input type="text" class="col-xs-4 m-l-10" id="whcode" ng-model="whcode" placeholder="仓库" ng-keyup="searchBarcode($event)" >
  15. <button class="btn btn-success btn-sm m-l-10 " ng-click="checkBarcode(barcode,whcode)" >查找</button>
  16. </div>
  17. <div class="m-b-6">{{bar_code}}</div>
  18. <div class="col-xs-12 col-sm-11 col-sm-offset-1">
  19. <table ng-table="tableParams"
  20. class="table table-bordered table-striped table-fixed ng-table-rowselected" >
  21. <colgroup>
  22. <col width="20%"></col>
  23. <col width="20%"></col>
  24. <col width="20%"></col>
  25. <col width="20%"></col>
  26. <col width="20%"></col>
  27. </colgroup>
  28. <tr >
  29. <th width="20%">供应商</th>
  30. <th width="20%">料号</th>
  31. <th width="20%">仓库</th>
  32. <th width="20%">储位</th>
  33. <th width="20%">数量</th>
  34. </tr>
  35. <tr ng-repeat="item in $data"
  36. ng-class="{'active': item.$selected}" ng-click="item.$selected = !item.$selected; showBarcodeDetail(s)">
  37. <td data-title="'供应商'">{{item.bar_whcode}}</td>
  38. <td data-title="'料号'" class="text-overflow">{{item.bar_prodcode}}</td>
  39. <td data-title="'仓库'">{{item.bar_whcode}}</td>
  40. <td data-title="'储位'">{{item.bar_location}}</td>
  41. <td data-title="'数量'">{{item.bar_remain}}</td>
  42. </tr>
  43. </table>
  44. </div>
  45. </div>