monthorders.html 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. <style>
  2. /* 弹层全屏:打通 FastAdmin #main/#content 高度链,表格区占满剩余高度 */
  3. html, body.is-dialog {
  4. height: 100% !important;
  5. overflow: hidden !important;
  6. margin: 0 !important;
  7. background: #fff;
  8. }
  9. body.is-dialog {
  10. display: flex !important;
  11. flex-direction: column !important;
  12. }
  13. body.is-dialog #main,
  14. body.is-dialog #main > .tab-content,
  15. body.is-dialog #main #content {
  16. height: 100% !important;
  17. min-height: 0;
  18. overflow: hidden;
  19. display: flex;
  20. flex-direction: column;
  21. }
  22. body.is-dialog #content > .row,
  23. body.is-dialog #content > .row > [class*="col-"],
  24. body.is-dialog .content {
  25. height: 100% !important;
  26. min-height: 0;
  27. display: flex;
  28. flex-direction: column;
  29. box-sizing: border-box;
  30. padding: 0 !important;
  31. overflow: hidden;
  32. margin: 0;
  33. }
  34. .ssc-month-orders-page {
  35. flex: 1 1 auto;
  36. min-height: 0;
  37. height: 100%;
  38. display: flex;
  39. flex-direction: column;
  40. overflow: hidden;
  41. background: #fff;
  42. }
  43. .ssc-month-orders-wrap {
  44. flex: 1 1 auto;
  45. min-height: 0;
  46. padding: 12px 16px 8px;
  47. display: flex;
  48. flex-direction: column;
  49. box-sizing: border-box;
  50. overflow: hidden;
  51. }
  52. .ssc-month-orders-head {
  53. flex: 0 0 auto;
  54. margin-bottom: 12px;
  55. line-height: 1.6;
  56. }
  57. .ssc-month-orders-head .ssc-meta {
  58. color: #666;
  59. margin-right: 16px;
  60. }
  61. .ssc-month-orders-head .ssc-company {
  62. font-weight: 600;
  63. color: #333;
  64. }
  65. .ssc-month-orders-wrap .table-responsive {
  66. flex: 1 1 0%;
  67. min-height: 0;
  68. width: 100%;
  69. overflow: auto;
  70. -webkit-overflow-scrolling: touch;
  71. border: 1px solid #eee;
  72. background: #fff;
  73. }
  74. .ssc-month-orders-table {
  75. margin-bottom: 0;
  76. min-width: 1680px;
  77. }
  78. .ssc-month-orders-table > thead > tr > th,
  79. .ssc-month-orders-table > tbody > tr > td {
  80. text-align: center;
  81. vertical-align: middle;
  82. white-space: nowrap;
  83. }
  84. .ssc-month-orders-table .ssc-name-cell {
  85. text-align: left;
  86. white-space: normal;
  87. word-break: break-all;
  88. max-width: 220px;
  89. }
  90. .ssc-month-orders-table .ssc-text-cell {
  91. text-align: left;
  92. white-space: normal;
  93. word-break: break-word;
  94. max-width: 200px;
  95. min-width: 120px;
  96. }
  97. .ssc-month-orders-table > thead > tr > th {
  98. position: sticky;
  99. top: 0;
  100. z-index: 2;
  101. background: #f5f5f5;
  102. }
  103. /* 操作列固定右侧,左右滚动时始终可见 */
  104. .ssc-month-orders-table > thead > tr > th.ssc-operate-col,
  105. .ssc-month-orders-table > tbody > tr > td.ssc-operate-col {
  106. position: sticky;
  107. right: 0;
  108. z-index: 3;
  109. min-width: 88px;
  110. width: 88px;
  111. background: #fff;
  112. box-shadow: -4px 0 8px rgba(0, 0, 0, 0.06);
  113. border-left: 1px solid #e8e8e8 !important;
  114. }
  115. .ssc-month-orders-table > thead > tr > th.ssc-operate-col {
  116. top: 0;
  117. z-index: 5;
  118. background: #f5f5f5;
  119. }
  120. .ssc-month-orders-table.table-striped > tbody > tr:nth-of-type(odd) > td.ssc-operate-col {
  121. background: #f9f9f9;
  122. }
  123. .ssc-month-orders-table.table-hover > tbody > tr:hover > td.ssc-operate-col {
  124. background: #f5f5f5;
  125. }
  126. .ssc-month-orders-empty {
  127. flex: 1 1 auto;
  128. display: flex;
  129. align-items: center;
  130. justify-content: center;
  131. padding: 24px 16px;
  132. text-align: center;
  133. color: #999;
  134. }
  135. .ssc-progress-done {
  136. color: #3c763d;
  137. font-weight: 600;
  138. }
  139. .ssc-month-orders-page > .layer-footer {
  140. flex: 0 0 auto;
  141. padding: 10px 16px;
  142. border-top: 1px solid #eee;
  143. background: #fff;
  144. }
  145. </style>
  146. <div class="ssc-month-orders-page">
  147. <div class="ssc-month-orders-wrap">
  148. <div class="ssc-month-orders-head">
  149. <span class="ssc-meta">日期:{$ym|htmlentities}</span>
  150. <span class="ssc-meta">供应商:<span class="ssc-company">{$company_name|htmlentities}</span></span>
  151. <span class="ssc-meta">共 {$orderCount} 单</span>
  152. </div>
  153. {if $orderRows}
  154. <div class="table-responsive">
  155. <table class="table table-bordered table-striped table-condensed ssc-month-orders-table">
  156. <thead>
  157. <tr>
  158. <th style="width:50px;">序号</th>
  159. <th>订单号</th>
  160. <th>印件名称</th>
  161. <th>承揽部门</th>
  162. <th>工序名称</th>
  163. <th>本单排名</th>
  164. <th>质量得分</th>
  165. <th>价格得分</th>
  166. <th>交货得分</th>
  167. <th>状态</th>
  168. <th>是否合格</th>
  169. <th>不合格说明</th>
  170. <th>交货情况</th>
  171. <th>交货日期</th>
  172. <th>客户是否投诉</th>
  173. <th>投诉说明</th>
  174. <th>订单是否中断</th>
  175. <th>当前进度</th>
  176. <th>下发时间</th>
  177. <th class="ssc-operate-col">操作</th>
  178. </tr>
  179. </thead>
  180. <tbody>
  181. {volist name="orderRows" id="row"}
  182. <tr>
  183. <td>{$row.seq_no}</td>
  184. <td>{$row.CCYDH|default=''|htmlentities}</td>
  185. <td class="ssc-name-cell">{$row.CYJMC|default=''|htmlentities}</td>
  186. <td>{$row.CCLBMMC|default=''|htmlentities}</td>
  187. <td class="ssc-name-cell">{$row.CGYMC|default=''|htmlentities}</td>
  188. <td>{if $row.rank_no}{$row.rank_no}{/if}</td>
  189. <td>{$row.quality_score|default=''}</td>
  190. <td>{$row.price_score|default=''}</td>
  191. <td>{$row.lead_score|default=''}</td>
  192. <td>
  193. {if $row.show_bid_result}
  194. {if $row.is_picked}
  195. <span class="label label-success">中标</span>
  196. {else/}
  197. <span class="label label-danger">未中标</span>
  198. {/if}
  199. {/if}
  200. </td>
  201. <td>{$row.inbound_result|default=''}</td>
  202. <td class="ssc-text-cell">{if $row.inbound_remark}{$row.inbound_remark|htmlentities}{/if}</td>
  203. <td>{$row.delivery_status|default=''}</td>
  204. <td>{$row.delivery_date|default=''}</td>
  205. <td>
  206. {if condition="$row.customer_complaint eq 1"}
  207. 是
  208. {else/}
  209. 否
  210. {/if}
  211. </td>
  212. <td class="ssc-text-cell">{if $row.complaint_remark}{$row.complaint_remark|htmlentities}{/if}</td>
  213. <td>
  214. {if condition="$row.order_interrupt eq 1"}
  215. 是
  216. {else/}
  217. 否
  218. {/if}
  219. </td>
  220. <td>
  221. {if condition="$row.progress_text eq '已完结'"}
  222. <span class="ssc-progress-done">已完结</span>
  223. {else/}
  224. {$row.progress_text|default=''|htmlentities}
  225. {/if}
  226. </td>
  227. <td>{if $row.issue_time}{$row.issue_time|htmlentities}{/if}</td>
  228. <td class="ssc-operate-col">
  229. {if condition="$row.scydgy_id gt 0"}
  230. <a href="javascript:;" class="btn btn-xs btn-info btn-ssc-order-details"
  231. data-scydgy-id="{$row.scydgy_id}"
  232. title="详情">
  233. <i class="fa fa-file-text-o"></i> 详情
  234. </a>
  235. {/if}
  236. </td>
  237. </tr>
  238. {/volist}
  239. </tbody>
  240. </table>
  241. </div>
  242. {else/}
  243. <div class="ssc-month-orders-empty">该供应商本月暂无订单</div>
  244. {/if}
  245. </div>
  246. <div class="layer-footer clearfix">
  247. <div class="pull-right">
  248. <button type="button" style="margin-right:20px" class="btn btn-default btn-embossed btn-ssc-month-orders-close">关闭</button>
  249. </div>
  250. </div>
  251. </div>