inFinish.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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:2px;
  24. padding-right:2px;
  25. }
  26. input{
  27. line-height:28px;
  28. }
  29. </style>
  30. <div ng-controller="InFinishCtrl" style="min-height: 400px;" class="">
  31. <script type="text/ng-template" id="myModalContent.html">
  32. <div class="modal-header">
  33. <h4>请选择仓库!</h4>
  34. </div>
  35. <div class="modal-body">
  36. <table>
  37. <tr ng-repeat="item in items" ng-click="ok(item)">
  38. <td>
  39. 仓库编号: {{item.PD_WHCODE}}
  40. </td>
  41. </tr>
  42. </table>
  43. </div>
  44. <div class="modal-footer">
  45. <button class="btn-xs btn-warning" ng-click="cancel()">取消</button>
  46. </div>
  47. </script>
  48. <script type="text/ng-template" id="billModalContent.html">
  49. <div class="modal-header">
  50. <p>请选择单据</p>
  51. </div>
  52. <div class="modal-body">
  53. <table id='tableResult' cellspacing='0' cellpadding='3' class="">
  54. <thead>
  55. <tr style='background-color : #eee;'>
  56. <td style='width : 140px; '> 单号 </td>
  57. <td style='width : 104px;'> 类型 </td>
  58. </tr>
  59. </thead>
  60. <tr ng-repeat='item in items' ng-click="selectBill(item)">
  61. <td style='width : 140px;' > {{item.PI_INOUTNO}} </td>
  62. <td>{{item.PI_CLASS }} </td>
  63. </tr>
  64. </table>
  65. </div>
  66. <div class="modal-footer">
  67. <button class="btn-xs btn-warning" ng-click="cancel()">取消</button>
  68. </div>
  69. </script>
  70. <div class="row m-b-10 m-t-10">
  71. <div class="col-xs-12 col-sm-11 col-sm-offset-1">
  72. <div class='m-b-10'><a href="#/inContents" class="btn btn-success btn-sm">返回</a></div>
  73. <div>
  74. <input type="text" class="col-xs-4 nec" placeholder="入库单号" ng-model="batchCode" id="batchCode" ng-keyup="search($event,batchCode,whcode)"
  75. autofocus typeahead="state for state in suggestions($viewValue)" ></input>
  76. <input type="text" class="col-xs-4 m-l-18 " placeholder="仓库" ng-model="whcode" id="whcode" ng-keyup="search($event,batchCode,whcode)">
  77. <button ng-click="getOrder(batchCode,whcode)" type="button" class="btn btn-success btn-sm m-l-18" >确认</button>
  78. </div>
  79. </div>
  80. </div>
  81. <div class="col-xs-12 col-sm-11 col-sm-offset-1">
  82. <table ng-table="tableParams"
  83. class="table table-bordered table-striped ng-table-rowselected" >
  84. <tr ng-repeat="s in $data" ng-click="item.$selected = !item.$selected; operate(s)"
  85. ng-class="{'active': item.$selected} ">
  86. <!-- <td data-title="'单据类型'" width="30%">{{s.PI_CLASS}}</td>filter="{ 'name': 'text' }" -->
  87. <td data-title="'单号'" width="42%">{{s.PI_INOUTNO}}({{s.PI_WHCODE}})</td>
  88. <td data-title="'状态'" width="18%">{{s.ENAUDITSTATUS|status}}</td>
  89. <td data-title="'操作'" width="25%">
  90. <div class="btn-group btn-group-xs">
  91. <button type="button" class="btn btn-sm btn-default" ng-click="getAgain(s)">重新采集</button>
  92. </div>
  93. </td>
  94. <td data-title="'操作'" width="20%">
  95. <button type="button" class="btn btn-sm btn-default" ng-click="deleteDe(s)">删除</button>
  96. </td>
  97. </tr>
  98. </table>
  99. </div>
  100. </div>