outward_detail.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <style>
  2. body.is-dialog .outward-detail-wrap {
  3. margin: 0;
  4. padding: 10px 12px 12px;
  5. }
  6. .outward-detail-head {
  7. margin-bottom: 10px;
  8. font-size: 13px;
  9. color: #666;
  10. line-height: 1.6;
  11. }
  12. .outward-detail-head strong {
  13. color: #333;
  14. }
  15. .outward-detail-table-wrap {
  16. overflow-x: auto;
  17. overflow-y: auto;
  18. max-height: calc(72vh - 120px);
  19. -webkit-overflow-scrolling: touch;
  20. }
  21. .outward-detail-table {
  22. table-layout: fixed;
  23. width: 100%;
  24. min-width: 1180px;
  25. margin-bottom: 0;
  26. }
  27. .outward-detail-table > thead > tr > th,
  28. .outward-detail-table > tbody > tr > td {
  29. vertical-align: middle;
  30. word-wrap: break-word;
  31. word-break: break-word;
  32. white-space: normal;
  33. line-height: 1.45;
  34. padding: 8px 10px;
  35. }
  36. .outward-detail-table > thead > tr > th {
  37. font-weight: 600;
  38. white-space: nowrap;
  39. }
  40. .outward-detail-table .col-title {
  41. white-space: normal;
  42. }
  43. .outward-detail-table .col-amount,
  44. .outward-detail-table .col-delivery {
  45. text-align: center;
  46. white-space: nowrap;
  47. }
  48. .outward-detail-table .col-sn,
  49. .outward-detail-table .col-time,
  50. .outward-detail-table .col-chk {
  51. white-space: nowrap;
  52. }
  53. .outward-detail-foot {
  54. margin-top: 12px;
  55. padding-top: 10px;
  56. border-top: 1px solid #eee;
  57. text-align: right;
  58. }
  59. .procuremen-purchase-confirm-tip {
  60. margin: 0 0 10px 0;
  61. border: 1px solid #eea236;
  62. background: #fcf8e3;
  63. color: #8a6d3b;
  64. font-size: 13px;
  65. line-height: 1.65;
  66. }
  67. .procuremen-purchase-confirm-tip .fa {
  68. margin-right: 6px;
  69. }
  70. </style>
  71. <div class="panel panel-default panel-intro outward-detail-wrap" style="border:0;box-shadow:none;" data-scydgy-id="{$scydgyId|htmlentities}" data-purchase-order-id="{$purchaseOrderId|default=0}">
  72. <div style="display:none;">{:token()}</div>
  73. {if $showPurchaseConfirm}
  74. <div class="alert alert-warning procuremen-purchase-confirm-tip">
  75. <i class="fa fa-exclamation-triangle"></i>
  76. <strong>重要提示:</strong>采购选择确认并提交后,系统将<strong>立即向各供应商下发短信</strong>;该操作<strong>不可撤回或更改</strong>,请仔细核对勾选结果后再点击「确认」。
  77. </div>
  78. {/if}
  79. <div class="table-responsive outward-detail-table-wrap">
  80. <table class="table table-striped table-bordered table-hover outward-detail-table">
  81. {if $showPurchaseConfirm}
  82. <colgroup>
  83. <col style="width:56px" />
  84. <col style="width:48px" />
  85. <col style="width:118px" />
  86. <col style="width:200px" />
  87. <col style="width:92px" />
  88. <col style="width:128px" />
  89. <col style="width:200px" />
  90. <col style="width:240px" />
  91. <col style="width:108px" />
  92. <col style="width:148px" />
  93. </colgroup>
  94. {else /}
  95. <colgroup>
  96. <col style="width:48px" />
  97. <col style="width:118px" />
  98. <col style="width:200px" />
  99. <col style="width:92px" />
  100. <col style="width:128px" />
  101. <col style="width:200px" />
  102. <col style="width:240px" />
  103. <col style="width:108px" />
  104. <col style="width:148px" />
  105. </colgroup>
  106. {/if}
  107. <thead>
  108. {if $showPurchaseConfirm}
  109. <tr>
  110. <th class="col-chk text-center">选择</th>
  111. <th class="col-sn">序号</th>
  112. <th>订单号</th>
  113. <th class="col-title">印件名称</th>
  114. <th class="col-amount">加工金额</th>
  115. <th class="col-delivery">交货日期</th>
  116. <th>公司名称</th>
  117. <th>邮箱</th>
  118. <th>手机号</th>
  119. <th class="col-time">审核时间</th>
  120. </tr>
  121. {else /}
  122. <tr>
  123. <th class="col-sn">序号</th>
  124. <th>订单号</th>
  125. <th class="col-title">印件名称</th>
  126. <th class="col-amount">加工金额</th>
  127. <th class="col-delivery">交货日期</th>
  128. <th>公司名称</th>
  129. <th>邮箱</th>
  130. <th>手机号</th>
  131. <th class="col-time">审核时间</th>
  132. </tr>
  133. {/if}
  134. </thead>
  135. <tbody>
  136. {volist name="rows" id="r"}
  137. <tr>
  138. {if $showPurchaseConfirm}
  139. <td class="text-center col-chk">
  140. <input type="checkbox" class="pod-pick-cb" name="pod_pick[]" value="{$r.id|default=''}" title="单选" />
  141. </td>
  142. {/if}
  143. <td class="text-center col-sn">{$i}</td>
  144. <td>{$r.CCYDH|default=''}</td>
  145. <td class="col-title">{$r.CYJMC|default=''}</td>
  146. <td class="col-amount">{$r.amount|default=''}</td>
  147. <td class="col-delivery">{$r.delivery|default=''}</td>
  148. <td>{$r.company_name|default=''}</td>
  149. <td>{$r.email|default=''}</td>
  150. <td>{$r.phone|default=''}</td>
  151. <td class="col-time">{$r.createtime_text|default=''}</td>
  152. </tr>
  153. {/volist}
  154. {empty name="rows"}
  155. <tr>
  156. <td colspan="{$detailColspan|default=9}" class="text-center text-muted">暂无记录</td>
  157. </tr>
  158. {/empty}
  159. </tbody>
  160. </table>
  161. </div>
  162. {if $showPurchaseConfirm}
  163. <div class="outward-detail-foot">
  164. <button type="button" class="btn btn-primary" id="btn-pod-purchase-confirm"><i class="fa fa-check"></i> 确认</button>
  165. </div>
  166. {/if}
  167. </div>