outward_detail.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  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. display: flex;
  58. justify-content: flex-end;
  59. align-items: center;
  60. gap: 8px;
  61. flex-wrap: wrap;
  62. }
  63. .procuremen-purchase-confirm-tip {
  64. margin: 0 0 10px 0;
  65. border: 1px solid #eea236;
  66. background: #fcf8e3;
  67. color: #8a6d3b;
  68. font-size: 13px;
  69. line-height: 1.65;
  70. }
  71. .procuremen-purchase-confirm-tip .fa {
  72. margin-right: 6px;
  73. }
  74. .btn.procuremen-btn-slate {
  75. color: #fff !important;
  76. background-color: #4b5573 !important;
  77. border-color: #3e4659 !important;
  78. }
  79. .btn.procuremen-btn-slate:hover,
  80. .btn.procuremen-btn-slate:focus,
  81. .btn.procuremen-btn-slate:active {
  82. color: #fff !important;
  83. background-color: #3f485f !important;
  84. border-color: #353c4c !important;
  85. }
  86. </style>
  87. <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}">
  88. <div style="display:none;">{:token()}</div>
  89. {if $showPurchaseConfirm}
  90. <div class="alert alert-warning procuremen-purchase-confirm-tip">
  91. <i class="fa fa-exclamation-triangle"></i>
  92. <strong>重要提示:</strong>选择确认并提交后,系统将<strong>立即向各供应商下发短信</strong>;该操作<strong>不可撤回或更改</strong>,请仔细核对勾选结果后再点击「确认」。
  93. </div>
  94. {/if}
  95. <div class="table-responsive outward-detail-table-wrap">
  96. <table class="table table-striped table-bordered table-hover outward-detail-table">
  97. {if $showPurchaseConfirm}
  98. <colgroup>
  99. <col style="width:56px" />
  100. <col style="width:48px" />
  101. <col style="width:118px" />
  102. <col style="width:200px" />
  103. <col style="width:92px" />
  104. <col style="width:128px" />
  105. <col style="width:200px" />
  106. <col style="width:240px" />
  107. <col style="width:108px" />
  108. <col style="width:148px" />
  109. </colgroup>
  110. {else /}
  111. <colgroup>
  112. <col style="width:48px" />
  113. <col style="width:118px" />
  114. <col style="width:200px" />
  115. <col style="width:92px" />
  116. <col style="width:128px" />
  117. <col style="width:200px" />
  118. <col style="width:240px" />
  119. <col style="width:108px" />
  120. <col style="width:148px" />
  121. </colgroup>
  122. {/if}
  123. <thead>
  124. {if $showPurchaseConfirm}
  125. <tr>
  126. <th class="col-chk text-center">选择</th>
  127. <th class="col-sn">序号</th>
  128. <th>订单号</th>
  129. <th class="col-title">印件名称</th>
  130. <th class="col-amount">加工金额</th>
  131. <th class="col-delivery">交货日期</th>
  132. <th>公司名称</th>
  133. <th>邮箱</th>
  134. <th>手机号</th>
  135. <th class="col-time">审核时间</th>
  136. </tr>
  137. {else /}
  138. <tr>
  139. <th class="col-sn">序号</th>
  140. <th>订单号</th>
  141. <th class="col-title">印件名称</th>
  142. <th class="col-amount">加工金额</th>
  143. <th class="col-delivery">交货日期</th>
  144. <th>公司名称</th>
  145. <th>邮箱</th>
  146. <th>手机号</th>
  147. <th class="col-time">审核时间</th>
  148. </tr>
  149. {/if}
  150. </thead>
  151. <tbody>
  152. {volist name="rows" id="r"}
  153. <tr>
  154. {if $showPurchaseConfirm}
  155. <td class="text-center col-chk">
  156. <input type="checkbox" class="pod-pick-cb" name="pod_pick[]" value="{$r.id|default=''}" title="单选" />
  157. </td>
  158. {/if}
  159. <td class="text-center col-sn">{$i}</td>
  160. <td>{$r.CCYDH|default=''}</td>
  161. <td class="col-title">{$r.CYJMC|default=''}</td>
  162. <td class="col-amount">{$r.amount|default=''}</td>
  163. <td class="col-delivery">{$r.delivery|default=''}</td>
  164. <td>{$r.company_name|default=''}</td>
  165. <td>{$r.email|default=''}</td>
  166. <td>{$r.phone|default=''}</td>
  167. <td class="col-time">{$r.createtime_text|default=''}</td>
  168. </tr>
  169. {/volist}
  170. {empty name="rows"}
  171. <tr>
  172. <td colspan="{$detailColspan|default=9}" class="text-center text-muted">暂无记录</td>
  173. </tr>
  174. {/empty}
  175. </tbody>
  176. </table>
  177. </div>
  178. {if $showPurchaseConfirm}
  179. <div class="outward-detail-foot">
  180. <button type="button" class="btn procuremen-btn-slate" id="btn-pod-purchase-confirm"><i class="fa fa-check"></i> 确认</button>
  181. <button type="button" class="btn btn-default" id="btn-pod-purchase-close"><i class="fa fa-times"></i> 关闭</button>
  182. </div>
  183. {/if}
  184. </div>