exceptionProcessing.html 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <style>
  2. .exception h1 {
  3. font-size: 18px;
  4. font-weight: 600;
  5. }
  6. .exception .table > thead > tr {
  7. background: linear-gradient(hsla(213, 80%, 38%,0.7), hsla(213, 85%, 32%, 1));
  8. color: white;
  9. }
  10. .exception .table-bordered>thead>tr>td, .exception .table-bordered>thead>tr>th {
  11. border-bottom : none;
  12. }
  13. .exception .apply-detail-list {
  14. /*overflow: scroll;*/
  15. }
  16. .exception button.ensure-send {
  17. background: linear-gradient(hsla(4, 85%, 54%, 0.7), hsla(4, 85%, 54%, 1));
  18. width: 4em;
  19. border: none;
  20. border-radius: 3px;
  21. padding: 0.3em 0.7em;
  22. color: #fff;
  23. font-size: 1.2em;
  24. }
  25. .exception button.ensure-send:hover {
  26. box-shadow: 0 0 0 2px hsl(11, 97%, 51%) ;
  27. }
  28. .exception button[disabled] {
  29. cursor: not-allowed;
  30. opacity: 0.7;
  31. }
  32. </style>
  33. <div class="exception">
  34. <h1>异常管理</h1>
  35. <div class="apply-detail-list">
  36. <table class="table table-bordered" ng-table="applyDetailTableParams">
  37. <thead>
  38. <tr>
  39. <th>序号</th>
  40. <th>编号</th>
  41. <th>品牌</th>
  42. <th>物料名称</th>
  43. <th>采购数量</th>
  44. <th>采购金额</th>
  45. <th>单价</th>
  46. <th>币种</th>
  47. <th>请求类型</th>
  48. <th>补充说明</th>
  49. <th>我的意见</th>
  50. <th>补充说明</th>
  51. <th>操作</th>
  52. </tr>
  53. </thead>
  54. <tbody>
  55. <tr ng-repeat="applyDetail in $data">
  56. <td>{{$index + 1}}</td>
  57. <td>
  58. 异常申请明细号:
  59. <span ng-bind="applyDetail.applyDetailId"></span><br>
  60. 产品批次号:
  61. <span ng-bind="applyDetail.orderDetail.batchCode"></span><br>
  62. 产品型号:
  63. <span ng-bind="applyDetail.orderDetail.cmpCode"></span>
  64. </td>
  65. <td><span ng-bind="applyDetail.orderDetail.brName"></span></td>
  66. <td><span ng-bind="applyDetail.orderDetail.kiName"></span></td>
  67. <td><span ng-bind="applyDetail.orderDetail.number"></span></td>
  68. <td><span ng-bind="applyDetail.orderDetail.ensurePrice"></span></td>
  69. <td><span ng-bind="applyDetail.orderDetail.taxUnitprice"></span></td>
  70. <td><span ng-bind="applyDetail.orderDetail.currencyName"></span></td>
  71. <td>
  72. <span ng-bind="applyTypes[applyDetail.negotiations.last().mallToSupApplyType]"></span>
  73. </td>
  74. <td><span ng-bind="applyDetail.negotiations.last().mallToSupApplyReason"></span></td>
  75. <td>
  76. <select ng-model="applyDetail.applyType">
  77. <option value="">请选择类型</option>
  78. <option value="RETURN">退货</option>
  79. <option value="EXCHANGE">换货</option>
  80. <option value="REFUSE">拒绝</option>
  81. </select>
  82. </td>
  83. <td><textarea ng-model="applyDetail.applyReason"></textarea></td>
  84. <td>
  85. <button class="ensure-send" ng-click="ensureSend(applyDetail)">发送</button>
  86. </td>
  87. </tr>
  88. </tbody>
  89. </table>
  90. </div>
  91. </div>