checkPO.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <style>
  2. .m-b-6 {
  3. margin-bottom: 6px;
  4. }
  5. .m-t-6 {
  6. margin-top: 6px;
  7. }
  8. .m-l-10 {
  9. margin-left: 10px;
  10. }
  11. .m-l-15 {
  12. margin-left: 15px;
  13. }
  14. .row {
  15. margin-left: 0px;
  16. margin-right: 0px;
  17. }
  18. .border {
  19. border: solid 1px #DDDDDD;
  20. border-radius: 4px;
  21. }
  22. .col-xs-4 {
  23. padding-left:2px;
  24. padding-right:2px;
  25. }
  26. input{
  27. line-height:28px;
  28. }
  29. .text-overflow {
  30. word-break:keep-all;/* 不换行 */
  31. white-space:nowrap;/* 不换行 */
  32. overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
  33. text-overflow:ellipsis; /* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用。*/
  34. }
  35. </style>
  36. <div ng-controller="CheckCtrl" style="min-height: 400px;">
  37. <div><a ng-href="#/checkContents" class="m-l-15 btn btn-success btn-sm m-t-6 m-b-6" > 返回 </a></div>
  38. <div style="margin-bottom:12px">
  39. <input type="text" class="col-xs-4 m-l-15 " id="barcode" ng-model="barcode" placeholder="条码号" ng-keyup="searchBarcode($event)" required>
  40. <input type="text" class="col-xs-4 m-l-10" id="whcode" ng-model="whcode" placeholder="仓库" ng-keyup="searchBarcode($event)" >
  41. <button class="btn btn-success btn-sm m-l-10 " ng-click="checkBarcode(barcode,whcode)" >查找</button>
  42. </div>
  43. <div class="m-b-6">{{bar_code}}</div>
  44. <div class="col-xs-12 col-sm-11 col-sm-offset-1">
  45. <table ng-table="tableParams"
  46. class="table table-bordered table-striped ng-table-rowselected" >
  47. <tr >
  48. <th width="20%">供应商</th>
  49. <th width="20%">料号</th>
  50. <th width="20%">仓库</th>
  51. <th width="20%">储位</th>
  52. <th width="20%">数量</th>
  53. </tr>
  54. <tr ng-repeat="item in $data"
  55. ng-class="{'active': item.$selected}" ng-click="item.$selected = !item.$selected; showBarcodeDetail(s)">
  56. <td >{{item.bar_whcode}}</td>
  57. <td style="" class="text-overflow">{{item.bar_location}}</td>
  58. <td >{{item.bar_remain}}</td>
  59. <td >{{item.bar_location}}</td>
  60. <td >{{item.bar_remain}}</td>
  61. </tr>
  62. </table>
  63. </div>
  64. </div>