details_fragment.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. <style>
  2. body.is-dialog .procuremen-details-wrap {
  3. margin: 0;
  4. padding: 12px 14px 16px;
  5. }
  6. .procuremen-details-wrap .page-head {
  7. font-size: 15px;
  8. margin-bottom: 14px;
  9. }
  10. .procuremen-details-wrap .procuremen-details-order-no {
  11. color: #000;
  12. font-weight: 700;
  13. font-size: 15px;
  14. line-height: 1.55;
  15. word-wrap: break-word;
  16. word-break: break-all;
  17. white-space: normal;
  18. max-width: 100%;
  19. margin-bottom: 0;
  20. }
  21. .procuremen-details-wrap .section-title {
  22. font-size: 14px;
  23. font-weight: 600;
  24. margin: 18px 0 10px;
  25. color: #333;
  26. padding-bottom: 6px;
  27. border-bottom: 1px solid #eee;
  28. }
  29. .proc-steps-wrap {
  30. display: flex;
  31. flex-wrap: nowrap;
  32. justify-content: space-between;
  33. align-items: flex-start;
  34. padding: 8px 4px 4px;
  35. overflow-x: auto;
  36. -webkit-overflow-scrolling: touch;
  37. }
  38. .proc-step-item {
  39. flex: 1 1 0;
  40. min-width: 100px;
  41. text-align: center;
  42. position: relative;
  43. padding: 0 4px;
  44. }
  45. .proc-step-item:not(:last-child)::after {
  46. content: '';
  47. position: absolute;
  48. top: 14px;
  49. left: 50%;
  50. width: 100%;
  51. height: 2px;
  52. background: #e0e0e0;
  53. z-index: 0;
  54. }
  55. .proc-step-item.is-done:not(:last-child)::after {
  56. background: #1890ff;
  57. }
  58. .proc-step-circle {
  59. width: 28px;
  60. height: 28px;
  61. line-height: 28px;
  62. border-radius: 50%;
  63. margin: 0 auto 6px;
  64. font-size: 13px;
  65. font-weight: 600;
  66. position: relative;
  67. z-index: 1;
  68. background: #f5f5f5;
  69. color: #999;
  70. border: 2px solid #ddd;
  71. }
  72. .proc-step-item.is-done .proc-step-circle {
  73. background: #1890ff;
  74. border-color: #1890ff;
  75. color: #fff;
  76. }
  77. .proc-step-item.is-current .proc-step-circle {
  78. background: #1890ff;
  79. border-color: #1890ff;
  80. color: #fff;
  81. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.25);
  82. }
  83. .proc-step-item.is-done .proc-step-circle .fa {
  84. line-height: 24px;
  85. }
  86. .proc-step-title {
  87. font-size: 12px;
  88. color: #333;
  89. line-height: 1.35;
  90. margin-bottom: 2px;
  91. }
  92. .proc-step-sub {
  93. font-size: 11px;
  94. color: #888;
  95. line-height: 1.3;
  96. min-height: 2.6em;
  97. }
  98. .proc-step-time {
  99. font-size: 11px;
  100. color: #aaa;
  101. margin-top: 4px;
  102. white-space: nowrap;
  103. }
  104. .procuremen-details-wrap .procuremen-order-info-block {
  105. border: 1px solid #ddd;
  106. margin-top: 18px;
  107. margin-bottom: 0;
  108. }
  109. .procuremen-details-wrap .procuremen-order-info-head {
  110. background: #f0f0f0;
  111. border-bottom: 1px solid #ddd;
  112. padding: 10px 12px;
  113. font-size: 14px;
  114. font-weight: 700;
  115. color: #222;
  116. margin: 0;
  117. }
  118. .procuremen-details-wrap .procuremen-order-grid {
  119. width: 100%;
  120. border-collapse: collapse;
  121. table-layout: fixed;
  122. font-size: 13px;
  123. margin: 0;
  124. background: #fff;
  125. border: none;
  126. }
  127. .procuremen-details-wrap .procuremen-order-grid td {
  128. border: 1px solid #ddd;
  129. padding: 10px 12px;
  130. vertical-align: middle;
  131. }
  132. .procuremen-details-wrap .procuremen-order-grid .og-label {
  133. width: 14%;
  134. background: #f5f5f5;
  135. color: #333;
  136. text-align: right;
  137. font-weight: normal;
  138. }
  139. .procuremen-details-wrap .procuremen-order-grid .og-value {
  140. width: 36%;
  141. background: #fff;
  142. color: #000;
  143. text-align: left;
  144. font-weight: 700;
  145. word-break: break-word;
  146. }
  147. .procuremen-details-wrap .procuremen-oper-log {
  148. list-style: none;
  149. margin: 0 0 8px;
  150. padding: 0;
  151. font-size: 13px;
  152. line-height: 1.65;
  153. border: 1px solid #e8e8e8;
  154. border-radius: 4px;
  155. background: #fafafa;
  156. max-height: 280px;
  157. overflow-y: auto;
  158. }
  159. .procuremen-details-wrap .procuremen-oper-log li {
  160. padding: 8px 12px;
  161. border-bottom: 1px solid #eee;
  162. word-break: break-word;
  163. }
  164. .procuremen-details-wrap .procuremen-oper-log li:last-child {
  165. border-bottom: none;
  166. }
  167. .procuremen-details-wrap .procuremen-oper-log .op-user {
  168. font-weight: 700;
  169. color: #000;
  170. }
  171. .procuremen-details-wrap .procuremen-oper-log .op-time {
  172. color: #666;
  173. margin: 0 6px;
  174. }
  175. .procuremen-details-wrap .procuremen-oper-log .op-text {
  176. color: #333;
  177. }
  178. .procuremen-details-wrap .procuremen-oper-log-empty {
  179. font-size: 13px;
  180. color: #999;
  181. padding: 10px 12px;
  182. border: 1px dashed #ddd;
  183. border-radius: 4px;
  184. margin-bottom: 8px;
  185. }
  186. .procuremen-details-wrap .detail-mini {
  187. font-size: 12px;
  188. }
  189. .procuremen-details-wrap .detail-mini th,
  190. .procuremen-details-wrap .detail-mini td {
  191. padding: 6px 8px;
  192. vertical-align: middle;
  193. }
  194. </style>
  195. <div class="panel panel-default panel-intro procuremen-details-wrap{if !empty($pdf_export)} procuremen-pdf-inner{/if}" style="border:0;box-shadow:none;">
  196. <div class="page-head">
  197. {notempty name="ccydh"}
  198. {if !empty($pdf_export)}
  199. <table class="proc-pdf-order-no" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0;padding:0;">
  200. <tr>
  201. <td style="font-size:15px;font-weight:700;color:#000;padding:0 8px 0 0;vertical-align:baseline;white-space:nowrap;">订单号</td>
  202. <td style="font-size:15px;font-weight:700;color:#000;vertical-align:baseline;word-break:break-all;">{$ccydh|htmlentities}</td>
  203. </tr>
  204. </table>
  205. {else /}
  206. <div class="procuremen-details-order-no">订单号:{$ccydh|htmlentities}</div>
  207. {/if}
  208. {else /}
  209. <div class="procuremen-details-order-no text-muted">订单号:—</div>
  210. {/notempty}
  211. </div>
  212. <div class="section-title"{if !empty($pdf_export)} style="margin:16px 0 10px;font-size:14px;font-weight:600;color:#333;padding-bottom:6px;border-bottom:1px solid #eee;"{/if}>状态进度</div>
  213. {notempty name="pdf_export"}
  214. <div class="proc-pdf-steps-outer" style="overflow:hidden;margin:0;padding:0;">
  215. <table class="proc-steps-table-pdf" width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;table-layout:fixed;width:100%;margin:0 0 18px;">
  216. <tr>
  217. {volist name="steps" id="st"}
  218. <td style="vertical-align:top;text-align:center;padding:4px 1px 0;border:0 !important;width:20%;">
  219. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;height:152px;margin:0 auto;">
  220. <tr>
  221. <td style="vertical-align:top;padding:0;border:0 !important;">
  222. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0 auto 4px;">
  223. <tr style="height:28px;">
  224. <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:28px;">
  225. {if $st.pdf_left_bg}
  226. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;"><tr><td style="padding:0;border:0 !important;height:0;line-height:0;font-size:0;border-top:2px solid {$st.pdf_left_bg};">&#160;</td></tr></table>
  227. {/if}
  228. </td>
  229. <td style="width:28px;padding:0;border:0 !important;vertical-align:middle;text-align:center;height:28px;">
  230. {if $st.done}
  231. <span style="display:inline-block;width:28px;height:28px;line-height:26px;text-align:center;border-radius:14px;border:2px solid #1890ff;background-color:#1890ff;color:#ffffff;font-size:11px;font-weight:bold;">&#10003;</span>
  232. {elseif $st.current /}
  233. <span style="display:inline-block;width:28px;height:28px;line-height:26px;text-align:center;border-radius:14px;border:2px solid #1890ff;background-color:#1890ff;color:#ffffff;font-size:11px;font-weight:bold;">{$i}</span>
  234. {else /}
  235. <span style="display:inline-block;width:28px;height:28px;line-height:26px;text-align:center;border-radius:14px;border:2px solid #dddddd;background-color:#f5f5f5;color:#999999;font-size:11px;font-weight:bold;">{$i}</span>
  236. {/if}
  237. </td>
  238. <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:28px;">
  239. {if $st.pdf_right_bg}
  240. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;"><tr><td style="padding:0;border:0 !important;height:0;line-height:0;font-size:0;border-top:2px solid {$st.pdf_right_bg};">&#160;</td></tr></table>
  241. {/if}
  242. </td>
  243. </tr>
  244. </table>
  245. </td>
  246. </tr>
  247. <tr>
  248. <td style="vertical-align:top;padding:2px 2px 0;border:0 !important;font-size:12px;color:#333;line-height:1.35;font-weight:600;text-align:center;">{$st.title|htmlentities}</td>
  249. </tr>
  250. <tr>
  251. <td style="vertical-align:top;padding:2px 2px 0;height:44px;border:0 !important;font-size:11px;color:#888;line-height:1.3;text-align:center;overflow:hidden;">{$st.subtitle|default=''|htmlentities}</td>
  252. </tr>
  253. <tr>
  254. <td style="vertical-align:bottom;padding:2px 2px 0;border:0 !important;font-size:11px;color:#aaa;text-align:center;white-space:nowrap;">{$st.time|default=''|htmlentities}</td>
  255. </tr>
  256. </table>
  257. </td>
  258. {/volist}
  259. </tr>
  260. </table>
  261. </div>
  262. {else /}
  263. <div class="proc-steps-wrap">
  264. {volist name="steps" id="st"}
  265. <div class="proc-step-item{if $st.done} is-done{/if}{if $st.current} is-current{/if}">
  266. <div class="proc-step-circle">
  267. {if $st.done}
  268. <i class="fa fa-check"></i>
  269. {else /}
  270. <span>{$i}</span>
  271. {/if}
  272. </div>
  273. <div class="proc-step-title">{$st.title|htmlentities}</div>
  274. <div class="proc-step-sub">{$st.subtitle|default=''|htmlentities}</div>
  275. <div class="proc-step-time">{$st.time|default=''|htmlentities}</div>
  276. </div>
  277. {/volist}
  278. </div>
  279. {/notempty}
  280. <div class="section-title">操作记录</div>
  281. {notempty name="operLogs"}
  282. <ul class="procuremen-oper-log">
  283. {volist name="operLogs" id="lg"}
  284. <li>
  285. <span class="op-user">{$lg.admin_name|default=''|htmlentities}</span>
  286. <span class="op-time">{$lg.createtime_text|default=''|htmlentities}</span>
  287. <span class="op-text">{$lg.content|default=''|htmlentities}</span>
  288. </li>
  289. {/volist}
  290. </ul>
  291. {else /}
  292. <p class="procuremen-oper-log-empty text-muted">暂无操作记录</p>
  293. {/notempty}
  294. <div class="procuremen-order-info-block">
  295. <div class="procuremen-order-info-head">订单信息</div>
  296. <table class="procuremen-order-grid table">
  297. <tbody>
  298. {notempty name="orderSummaryGrid"}
  299. {volist name="orderSummaryGrid" id="gr"}
  300. <tr>
  301. <td class="og-label">{$gr.l1|htmlentities}</td>
  302. <td class="og-value">{$gr.v1|htmlentities}</td>
  303. <td class="og-label">{if $gr.l2 != ''}{$gr.l2|htmlentities}{/if}</td>
  304. <td class="og-value">{if $gr.l2 != ''}{$gr.v2|htmlentities}{/if}</td>
  305. </tr>
  306. {/volist}
  307. {else /}
  308. <tr>
  309. <td colspan="4" class="text-muted" style="text-align:center;padding:14px;">暂无数据</td>
  310. </tr>
  311. {/notempty}
  312. </tbody>
  313. </table>
  314. </div>
  315. <div class="section-title">供应商</div>
  316. <div class="table-responsive">
  317. <table class="table table-bordered table-condensed detail-mini">
  318. <thead>
  319. <tr>
  320. <th>公司名称</th>
  321. <th>加工金额</th>
  322. <th>交货日期</th>
  323. <th>采购确认</th>
  324. <th>操作时间</th>
  325. </tr>
  326. </thead>
  327. <tbody>
  328. {notempty name="detailRows"}
  329. {volist name="detailRows" id="dr"}
  330. <tr>
  331. <td>{$dr.company_name|default=''|htmlentities}</td>
  332. <td>{$dr.amount|default=''|htmlentities}</td>
  333. <td>{$dr.delivery_ymd|default=''|htmlentities}</td>
  334. <td class="text-center">
  335. {if $dr.status == 1}
  336. <span class="label label-success">已选</span>
  337. {else /}
  338. <span class="text-muted"> </span>
  339. {/if}
  340. </td>
  341. <td>{$dr.createtime_text|default=''|htmlentities}</td>
  342. </tr>
  343. {/volist}
  344. {else /}
  345. <tr>
  346. <td colspan="6" class="text-center text-muted">暂无下发明细</td>
  347. </tr>
  348. {/notempty}
  349. </tbody>
  350. </table>
  351. </div>
  352. </div>