checkMakeFin.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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-5 {
  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-5 col-xs-offset-2 " id="makeCode" ng-model="makeCode" placeholder="生产单号" ng-keyup="searchMakecode($event)" required>
  40. <button class="btn btn-success btn-sm m-l-10 " ng-click="checkMakeCode(makeCode)" >查找</button>
  41. </div>
  42. <div class="m-b-6 col-xs-offset-2 " ng-show="code">生产单号:{{code}}</div>
  43. <div class="col-xs-12 col-sm-11 col-sm-offset-1">
  44. <table ng-table="tableParams"
  45. class="table table-bordered table-striped ng-table-rowselected" >
  46. <tr >
  47. <th width="20%">料号</th>
  48. <th width="20%">仓库</th>
  49. <th width="20%">储位</th>
  50. <th width="20%">数量</th>
  51. </tr>
  52. <tr ng-repeat="item in $data"
  53. ng-class="{'active': item.$selected}" >
  54. <td >{{item.bar_prodcode}}</td>
  55. <td >{{item.bar_whcode}}</td>
  56. <td >{{item.bar_location}}</td>
  57. <td >{{item.bar_remain}}</td>
  58. </tr>
  59. </table>
  60. </div>
  61. </div>