outMakeMaterial.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <style>
  2. .m-b-10 {
  3. margin-bottom: 10px;
  4. }
  5. .m-t-10 {
  6. margin-top: 10px;
  7. }
  8. .m-l-18 {
  9. margin-left: 18px;
  10. }
  11. .row {
  12. margin-left: 0px;
  13. margin-right: 0px;
  14. }
  15. .border {
  16. border: solid 1px #DDDDDD;
  17. border-radius: 4px;
  18. }
  19. .selected {
  20. border-color: #0099CC;
  21. }
  22. .col-xs-4 {
  23. padding-left:1px;
  24. padding-right:1px;
  25. }
  26. input{
  27. line-height:28px
  28. </style>
  29. <div ng-controller="OutputCtrl" style="min-height: 400px;" class="">
  30. <script type="text/ng-template" id="myModalContent.html">
  31. <div class="modal-header">
  32. <h4>请选择仓库!</h4>
  33. </div>
  34. <div class="modal-body">
  35. <table>
  36. <tr ng-repeat="item in items" ng-click="ok(item)">
  37. <td>
  38. 仓库编号: {{item.PD_WHCODE}}
  39. </td>
  40. </tr>
  41. </table>
  42. </div>
  43. <div class="modal-footer">
  44. <button class="btn-xs btn-warning" ng-click="cancel()">取消</button>
  45. </div>
  46. </script>
  47. <div class="row m-b-10 m-t-10">
  48. <div class="col-xs-12 col-sm-11 col-sm-offset-1">
  49. <div class='m-b-10'><a href="#/outContents" class="btn btn-success btn-sm">返回</a></div>
  50. <div class="">
  51. <input type="text" class="col-xs-4 nec" placeholder="入库单号" ng-model="batchCode" id="batchCode" ng-keyup="search($event,batchCode,whcode)"
  52. autofocus typeahead="state for state in suggestions($viewValue)" ></input>
  53. <input type="text" class="col-xs-4 m-l-18 " placeholder="仓库" ng-model="whcode" id="whcode" ng-keyup="search($event,batchCode,whcode)">
  54. <button ng-click="getOrder(batchCode,whcode)" type="button" class="btn btn-success btn-sm m-l-18" >确认</button>
  55. </div>
  56. </div>
  57. </div>
  58. <div ng-show ="orders" class="col-xs-12 col-sm-11 col-sm-offset-1">
  59. <table ng-table="tableParams"
  60. class="table table-bordered table-striped ng-table-rowselected" >
  61. <tr ng-repeat="s in $data" ng-click="item.$selected = !item.$selected; operate(s)"
  62. ng-class="{'active': item.$selected} ">
  63. <!--<td data-title="'单据类型'" width="33%">{{s.PI_CLASS}}</td> filter="{ 'name': 'text' }" -->
  64. <td data-title="'单号'" width="42%">{{s.PI_INOUTNO}}({{s.PI_WHCODE}})</td>
  65. <td data-title="'状态'" width="18%">{{s.ENAUDITSTATUS|status}}</td>
  66. <td data-title="'操作'" width="25%">
  67. <div class="btn-group btn-group-xs">
  68. <button type="button" class="btn btn-xs btn-default" ng-click="getAgain(s)">重新采集</button>
  69. </div>
  70. </td>
  71. <td data-title="'操作'" width="20%">
  72. <button type="button" class="btn btn-sm btn-default" ng-click="deleteDe(s)">删除</button>
  73. </td>
  74. </tr>
  75. </table>
  76. <div class="loading" ng-class="{'in': loading}"><i></i></div>
  77. </div>
  78. </div>