details_fragment.html 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. <style>
  2. .procuremen-score-tip {
  3. margin-left: 2px;
  4. cursor: help;
  5. color: #999;
  6. font-size: 12px;
  7. font-weight: normal;
  8. }
  9. .procuremen-score-tip:hover { color: #3c8dbc; }
  10. html.procuremen-details-dialog,
  11. html.procuremen-details-dialog body.procuremen-details-dialog {
  12. height: auto !important;
  13. min-height: 0 !important;
  14. margin: 0;
  15. overflow-x: hidden;
  16. overflow-y: auto;
  17. -webkit-overflow-scrolling: touch;
  18. background: #fff;
  19. }
  20. body.is-dialog .procuremen-details-wrap {
  21. margin: 0;
  22. padding: 12px 14px 28px;
  23. }
  24. .procuremen-details-wrap .section-title {
  25. font-size: 14px;
  26. font-weight: 600;
  27. margin: 18px 0 10px;
  28. color: #333;
  29. padding-bottom: 6px;
  30. border-bottom: 1px solid #eee;
  31. }
  32. .proc-steps-wrap {
  33. display: flex;
  34. flex-wrap: nowrap;
  35. justify-content: space-between;
  36. align-items: stretch;
  37. padding: 8px 4px 4px;
  38. overflow-x: auto;
  39. -webkit-overflow-scrolling: touch;
  40. }
  41. .proc-step-item {
  42. flex: 1 1 0;
  43. min-width: 100px;
  44. text-align: center;
  45. position: relative;
  46. padding: 0 4px;
  47. display: flex;
  48. flex-direction: column;
  49. align-items: center;
  50. }
  51. .proc-step-item:not(:last-child)::after {
  52. content: '';
  53. position: absolute;
  54. top: 14px;
  55. left: 50%;
  56. width: 100%;
  57. height: 2px;
  58. background: #e0e0e0;
  59. z-index: 0;
  60. }
  61. .proc-step-item.is-done:not(:last-child)::after {
  62. background: #1890ff;
  63. }
  64. .proc-step-circle {
  65. width: 28px;
  66. height: 28px;
  67. line-height: 28px;
  68. border-radius: 50%;
  69. margin: 0 auto 6px;
  70. font-size: 13px;
  71. font-weight: 600;
  72. position: relative;
  73. z-index: 1;
  74. background: #f5f5f5;
  75. color: #999;
  76. border: 2px solid #ddd;
  77. flex: 0 0 auto;
  78. }
  79. .proc-step-item.is-done .proc-step-circle {
  80. background: #1890ff;
  81. border-color: #1890ff;
  82. color: #fff;
  83. }
  84. .proc-step-item.is-current .proc-step-circle {
  85. background: #1890ff;
  86. border-color: #1890ff;
  87. color: #fff;
  88. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.25);
  89. }
  90. .proc-step-item.is-done .proc-step-circle .fa {
  91. line-height: 24px;
  92. }
  93. .proc-step-title {
  94. font-size: 12px;
  95. color: #333;
  96. line-height: 1.35;
  97. margin-bottom: 2px;
  98. flex: 0 0 auto;
  99. text-align: center;
  100. width: 100%;
  101. }
  102. .proc-step-sub {
  103. font-size: 11px;
  104. color: #888;
  105. line-height: 1.45;
  106. min-height: 3.2em;
  107. flex: 1 1 auto;
  108. white-space: pre-line;
  109. word-break: break-word;
  110. text-align: center;
  111. width: 100%;
  112. max-width: 100%;
  113. box-sizing: border-box;
  114. }
  115. .proc-step-time {
  116. font-size: 11px;
  117. color: #aaa;
  118. margin-top: auto;
  119. padding-top: 6px;
  120. white-space: pre-line;
  121. line-height: 1.35;
  122. text-align: center;
  123. width: 100%;
  124. max-width: 100%;
  125. box-sizing: border-box;
  126. min-height: 2.7em;
  127. flex: 0 0 auto;
  128. }
  129. .procuremen-details-wrap .procuremen-order-info-block {
  130. border: 1px solid #ddd;
  131. margin-top: 18px;
  132. margin-bottom: 0;
  133. }
  134. .procuremen-details-wrap .procuremen-order-info-head {
  135. background: #f0f0f0;
  136. border-bottom: 1px solid #ddd;
  137. padding: 10px 12px;
  138. font-size: 14px;
  139. font-weight: 700;
  140. color: #222;
  141. margin: 0;
  142. }
  143. .procuremen-details-wrap .procuremen-order-info-head .procuremen-batch-no {
  144. font-weight: 700;
  145. font-size: 14px;
  146. color: #337ab7;
  147. }
  148. .procuremen-details-wrap .procuremen-order-grid {
  149. width: 100%;
  150. border-collapse: collapse;
  151. table-layout: fixed;
  152. font-size: 13px;
  153. margin: 0;
  154. background: #fff;
  155. border: none;
  156. }
  157. .procuremen-details-wrap .procuremen-order-grid td {
  158. border: 1px solid #ddd;
  159. padding: 10px 12px;
  160. vertical-align: middle;
  161. }
  162. .procuremen-details-wrap .procuremen-order-grid .og-label {
  163. width: 14%;
  164. background: #f5f5f5;
  165. color: #333;
  166. text-align: right;
  167. font-weight: normal;
  168. }
  169. .procuremen-details-wrap .procuremen-order-grid .og-value {
  170. width: 36%;
  171. background: #fff;
  172. color: #000;
  173. text-align: left;
  174. font-weight: 700;
  175. word-break: break-word;
  176. }
  177. .procuremen-details-wrap .details-process-table-wrap {
  178. overflow-x: auto;
  179. -webkit-overflow-scrolling: touch;
  180. }
  181. .procuremen-details-wrap .details-process-table {
  182. margin: 0;
  183. font-size: 12px;
  184. table-layout: fixed;
  185. width: 100%;
  186. min-width: 880px;
  187. border-collapse: collapse;
  188. }
  189. .procuremen-details-wrap .details-process-table th {
  190. background: #f5f5f5;
  191. white-space: nowrap;
  192. font-weight: 600;
  193. padding: 8px 10px;
  194. vertical-align: middle;
  195. border: 1px solid #ddd !important;
  196. }
  197. .procuremen-details-wrap .details-process-table td {
  198. padding: 8px 10px;
  199. vertical-align: middle;
  200. word-wrap: break-word;
  201. border: 1px solid #ddd !important;
  202. }
  203. .procuremen-details-wrap .details-process-table th.col-order-no,
  204. .procuremen-details-wrap .details-process-table td.col-order-no {
  205. width: 150px;
  206. white-space: nowrap;
  207. word-wrap: normal;
  208. word-break: keep-all;
  209. }
  210. .procuremen-details-wrap .details-process-table th.text-center,
  211. .procuremen-details-wrap .details-process-table td.text-center {
  212. text-align: center;
  213. }
  214. .procuremen-details-wrap .procuremen-oper-log {
  215. list-style: none;
  216. margin: 0 0 8px;
  217. padding: 0;
  218. font-size: 13px;
  219. line-height: 1.65;
  220. border: 1px solid #e8e8e8;
  221. border-radius: 4px;
  222. background: #fafafa;
  223. max-height: none;
  224. overflow: visible;
  225. }
  226. .procuremen-details-wrap .procuremen-oper-log li {
  227. display: grid;
  228. grid-template-columns: 12em 10em 8em minmax(0, 1fr);
  229. column-gap: 6px;
  230. align-items: start;
  231. padding: 8px 12px;
  232. border-bottom: 1px solid #eee;
  233. word-break: break-word;
  234. }
  235. .procuremen-details-wrap .procuremen-oper-log li:last-child {
  236. border-bottom: none;
  237. }
  238. .procuremen-details-wrap .procuremen-oper-log .op-user {
  239. font-weight: 700;
  240. color: #000;
  241. white-space: nowrap;
  242. overflow: hidden;
  243. text-overflow: ellipsis;
  244. }
  245. .procuremen-details-wrap .procuremen-oper-log .op-time {
  246. color: #666;
  247. margin: 0;
  248. white-space: nowrap;
  249. font-variant-numeric: tabular-nums;
  250. }
  251. .procuremen-details-wrap .procuremen-oper-log .op-action {
  252. font-weight: normal;
  253. color: #303133;
  254. white-space: nowrap;
  255. }
  256. .procuremen-details-wrap .procuremen-oper-log .op-text {
  257. color: #333;
  258. min-width: 0;
  259. }
  260. .procuremen-details-wrap .procuremen-oper-log-empty {
  261. font-size: 13px;
  262. color: #999;
  263. padding: 10px 12px;
  264. border: 1px dashed #ddd;
  265. border-radius: 4px;
  266. margin-bottom: 8px;
  267. }
  268. .procuremen-details-wrap .detail-mini {
  269. font-size: 12px;
  270. border-collapse: collapse;
  271. }
  272. .procuremen-details-wrap .detail-mini th,
  273. .procuremen-details-wrap .detail-mini td {
  274. padding: 6px 8px;
  275. vertical-align: middle;
  276. border: 1px solid #ddd !important;
  277. }
  278. .procuremen-details-wrap .detail-mini thead th {
  279. background: #f5f5f5;
  280. font-weight: 600;
  281. white-space: nowrap;
  282. }
  283. .procuremen-details-wrap .detail-supplier-table {
  284. /* 固定表宽,避免 width:100% + table-layout:fixed 把名称列挤成竖排字 */
  285. table-layout: fixed;
  286. width: 1480px;
  287. min-width: 1480px;
  288. max-width: none;
  289. border-collapse: collapse;
  290. }
  291. .procuremen-details-wrap .detail-supplier-table.has-lead-score {
  292. width: 1560px;
  293. min-width: 1560px;
  294. }
  295. .procuremen-details-wrap .detail-supplier-table th.col-supplier-info,
  296. .procuremen-details-wrap .detail-supplier-table td.col-supplier-info {
  297. width: 220px;
  298. min-width: 220px;
  299. vertical-align: middle !important;
  300. }
  301. .procuremen-details-wrap .detail-supplier-kv {
  302. display: flex;
  303. flex-direction: column;
  304. gap: 4px;
  305. font-size: 12px;
  306. line-height: 1.45;
  307. }
  308. .procuremen-details-wrap .detail-supplier-kv-row {
  309. display: flex;
  310. align-items: flex-start;
  311. gap: 8px;
  312. }
  313. .procuremen-details-wrap .detail-supplier-kv-label {
  314. flex: 0 0 52px;
  315. color: #666;
  316. white-space: nowrap;
  317. }
  318. .procuremen-details-wrap .detail-supplier-kv-val {
  319. flex: 1 1 auto;
  320. min-width: 0;
  321. word-break: break-all;
  322. color: #333;
  323. }
  324. .procuremen-details-wrap .detail-supplier-table th.col-rank,
  325. .procuremen-details-wrap .detail-supplier-table td.col-rank {
  326. width: 64px;
  327. min-width: 64px;
  328. text-align: center !important;
  329. vertical-align: middle !important;
  330. }
  331. .procuremen-details-wrap .detail-supplier-table td.col-rank {
  332. font-size: 17px;
  333. font-weight: 700;
  334. color: #1f1f1f;
  335. line-height: 1.2;
  336. }
  337. .procuremen-details-wrap .detail-supplier-table th.col-unit-price,
  338. .procuremen-details-wrap .detail-supplier-table td.col-unit-price {
  339. width: 90px;
  340. white-space: nowrap;
  341. }
  342. .procuremen-details-wrap .detail-supplier-table th.col-lead-days,
  343. .procuremen-details-wrap .detail-supplier-table td.col-lead-days {
  344. width: 90px;
  345. white-space: nowrap;
  346. }
  347. .procuremen-details-wrap .detail-supplier-table th.col-delivery,
  348. .procuremen-details-wrap .detail-supplier-table td.col-delivery {
  349. width: 110px;
  350. white-space: nowrap;
  351. }
  352. .procuremen-details-wrap .detail-supplier-table th.col-subtotal,
  353. .procuremen-details-wrap .detail-supplier-table td.col-subtotal {
  354. width: 90px;
  355. white-space: nowrap;
  356. }
  357. .procuremen-details-wrap .detail-supplier-table th.col-op-time,
  358. .procuremen-details-wrap .detail-supplier-table td.col-op-time {
  359. width: 150px;
  360. white-space: nowrap;
  361. }
  362. .procuremen-details-wrap .detail-supplier-table > thead > tr > th,
  363. .procuremen-details-wrap .detail-supplier-table > tbody > tr > td {
  364. border: 1px solid #ddd !important;
  365. }
  366. .procuremen-details-wrap .details-supplier-table-wrap {
  367. overflow-x: auto;
  368. overflow-y: visible;
  369. -webkit-overflow-scrolling: touch;
  370. margin-bottom: 4px;
  371. }
  372. .procuremen-details-wrap .detail-supplier-table td.detail-quote-empty,
  373. .procuremen-details-wrap .detail-supplier-table td.detail-quote-pending {
  374. color: #e67e22 !important;
  375. white-space: nowrap;
  376. }
  377. .procuremen-details-wrap .proc-process-name-cell {
  378. line-height: 1.35;
  379. white-space: normal;
  380. word-break: break-all;
  381. vertical-align: middle;
  382. }
  383. .procuremen-details-wrap .proc-process-name-cell .proc-line-ccydh {
  384. color: #333;
  385. font-weight: 600;
  386. }
  387. .procuremen-details-wrap .proc-process-name-cell .proc-line-cgymc {
  388. color: #555;
  389. margin-top: 2px;
  390. }
  391. .procuremen-details-wrap .detail-supplier-remark-row td {
  392. background: #f5f5f5;
  393. vertical-align: middle;
  394. font-size: inherit;
  395. color: #333;
  396. }
  397. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-label {
  398. white-space: nowrap;
  399. font-weight: 700;
  400. }
  401. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-text {
  402. text-align: left;
  403. word-break: break-all;
  404. line-height: 1.45;
  405. }
  406. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-text.detail-quote-pending {
  407. color: #e67e22 !important;
  408. }
  409. html.procuremen-details-dialog .procuremen-details-wrap .proc-step-item .proc-step-time:empty {
  410. display: none;
  411. margin: 0;
  412. min-height: 0;
  413. }
  414. </style>
  415. <div class="panel panel-default panel-intro procuremen-details-wrap{if !empty($pdf_export)} procuremen-pdf-inner{/if}" style="border:0;box-shadow:none;">
  416. {notempty name="pdf_export"}
  417. <div class="page-head">
  418. {notempty name="ccydh"}
  419. <table class="proc-pdf-order-no" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0;padding:0;">
  420. <tr>
  421. <td style="font-size:15px;font-weight:700;color:#000;padding:0 8px 0 0;vertical-align:baseline;white-space:nowrap;">订单号</td>
  422. <td style="font-size:15px;font-weight:700;color:#000;vertical-align:baseline;word-break:break-all;">{$ccydh|htmlentities}</td>
  423. </tr>
  424. </table>
  425. {/notempty}
  426. </div>
  427. {/notempty}
  428. <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}>
  429. 状态进度
  430. </div>
  431. {notempty name="pdf_export"}
  432. <div class="proc-pdf-steps-outer" style="overflow:hidden;margin:0;padding:0 0 18px;">
  433. <table class="proc-steps-table-pdf" width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;table-layout:fixed;width:100%;margin:0;">
  434. <tr>
  435. {volist name="pdfSteps" id="st"}
  436. <td style="vertical-align:top;text-align:center;padding:4px 1px 0;border:0 !important;width:{$pdfStepWidth|default='16.66%'|htmlentities};">
  437. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;height:152px;margin:0 auto;">
  438. <tr>
  439. <td style="vertical-align:top;padding:0;border:0 !important;">
  440. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0 auto 6px;">
  441. <tr style="height:16px;">
  442. <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:16px;">
  443. {notempty name="st.pdf_left_bg"}
  444. <div style="height:2px;background-color:{$st.pdf_left_bg};font-size:0;line-height:0;width:100%;">&nbsp;</div>
  445. {/notempty}
  446. </td>
  447. <td style="width:16px;padding:0;border:0 !important;vertical-align:middle;text-align:center;height:16px;">
  448. {if condition="!empty($st['done']) || !empty($st['current'])"}
  449. <span style="display:inline-block;width:12px;height:12px;background-color:#1890ff;border:2px solid #1890ff;border-radius:8px;font-size:0;line-height:0;">&nbsp;</span>
  450. {else /}
  451. <span style="display:inline-block;width:12px;height:12px;background-color:#ffffff;border:2px solid #d9d9d9;border-radius:8px;font-size:0;line-height:0;">&nbsp;</span>
  452. {/if}
  453. </td>
  454. <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:16px;">
  455. {notempty name="st.pdf_right_bg"}
  456. <div style="height:2px;background-color:{$st.pdf_right_bg};font-size:0;line-height:0;width:100%;">&nbsp;</div>
  457. {/notempty}
  458. </td>
  459. </tr>
  460. </table>
  461. </td>
  462. </tr>
  463. <tr>
  464. <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>
  465. </tr>
  466. <tr>
  467. <td style="vertical-align:top;padding:2px 2px 0;height:72px;border:0 !important;font-size:11px;color:#888;line-height:1.45;text-align:center;overflow:hidden;">{$st.subtitle|default=''|htmlentities|nl2br}</td>
  468. </tr>
  469. <tr>
  470. <td style="vertical-align:bottom;padding:2px 2px 0;border:0 !important;font-size:11px;color:#aaa;text-align:center;line-height:1.3;">{$st.time|default=''|htmlentities|nl2br}</td>
  471. </tr>
  472. </table>
  473. </td>
  474. {/volist}
  475. </tr>
  476. </table>
  477. </div>
  478. {else /}
  479. <div class="proc-steps-wrap">
  480. {volist name="steps" id="st"}
  481. <div class="proc-step-item{if $st.done} is-done{/if}{if $st.current} is-current{/if}">
  482. <div class="proc-step-circle">
  483. {if $st.done}
  484. <i class="fa fa-check"></i>
  485. {else /}
  486. <span>{$i}</span>
  487. {/if}
  488. </div>
  489. <div class="proc-step-title">{$st.title|htmlentities}</div>
  490. <div class="proc-step-sub">{$st.subtitle|default=''|htmlentities}</div>
  491. <div class="proc-step-time">{$st.time|default=''|htmlentities}</div>
  492. </div>
  493. {/volist}
  494. </div>
  495. {/notempty}
  496. <div class="section-title">操作记录</div>
  497. {notempty name="operLogs"}
  498. <ul class="procuremen-oper-log">
  499. {volist name="operLogs" id="lg"}
  500. <li>
  501. <span class="op-user">{$lg.admin_name|default=''|htmlentities}</span>
  502. <span class="op-time">{$lg.createtime_text|default=''|htmlentities}</span>
  503. <span class="op-action">{notempty name="lg.action_text"}{$lg.action_text|htmlentities}{else /}{$lg.action|default='操作'|htmlentities}{/notempty}:</span>
  504. <span class="op-text">{$lg.content|default=''|htmlentities}</span>
  505. </li>
  506. {/volist}
  507. </ul>
  508. {else /}
  509. <p class="procuremen-oper-log-empty text-muted">暂无操作记录</p>
  510. {/notempty}
  511. <div class="procuremen-order-info-block">
  512. <div class="procuremen-order-info-head">
  513. <span class="procuremen-batch-no">批次号:{notempty name="orderBatchNo"}{$orderBatchNo|htmlentities}{/notempty}</span>
  514. </div>
  515. <div class="details-process-table-wrap">
  516. <table class="table table-bordered table-condensed details-process-table">
  517. <thead>
  518. <tr>
  519. <th class="text-center col-order-no">订单号</th>
  520. <th style="min-width:160px;">印件名称</th>
  521. <th style="width:88px;">工序名称</th>
  522. <th class="text-center" style="width:80px;">单位</th>
  523. <th class="text-center" style="width:88px;">本次数量</th>
  524. <th class="text-center" style="width:72px;">最高限价</th>
  525. <th class="text-center" style="width:80px;">订法</th>
  526. <th style="min-width:120px;">招标备注</th>
  527. </tr>
  528. </thead>
  529. <tbody>
  530. {notempty name="processDisplayRows"}
  531. {volist name="processDisplayRows" id="pr"}
  532. <tr>
  533. {if $pr.show_order_cells}
  534. <td class="text-center col-order-no"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''|htmlentities}</td>
  535. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''|htmlentities}</td>
  536. {/if}
  537. <td>{$pr.CGYMC|default=''|htmlentities}</td>
  538. <td class="text-center">{$pr.CDW|default=''|htmlentities}</td>
  539. <td class="text-center">{$pr.This_quantity|default=''|htmlentities}</td>
  540. <td class="text-center">{$pr.ceilingPrice|default=''|htmlentities}</td>
  541. <td class="text-center">{$pr.CDF|default=''|htmlentities}</td>
  542. <td>{$pr.MBZ|default=''|htmlentities}</td>
  543. </tr>
  544. {/volist}
  545. {else /}
  546. <tr>
  547. <td colspan="8" class="text-center text-muted" style="padding:14px;">暂无工序数据</td>
  548. </tr>
  549. {/notempty}
  550. </tbody>
  551. </table>
  552. </div>
  553. </div>
  554. <div class="section-title">供应商</div>
  555. {notempty name="supplierScoreRuleText"}
  556. <p class="text-muted" style="margin:-4px 0 8px;font-size:12px;line-height:1.5;">
  557. <i class="fa fa-info-circle"></i>
  558. {notempty name="orderScoreRuleName"}
  559. <strong>订单类型:</strong>{$orderScoreRuleName|htmlentities}
  560. <span class="text-muted">|</span>
  561. {/notempty}
  562. <strong>评分规则:</strong>{$supplierScoreRuleText|htmlentities}
  563. <span class="text-muted">(开标后可见)</span>
  564. </p>
  565. {/notempty}
  566. <div class="details-supplier-table-wrap table-responsive">
  567. <table class="table table-bordered table-condensed detail-mini detail-supplier-table{if !empty($showServiceLeadScore)} has-lead-score{/if}">
  568. <thead>
  569. <tr>
  570. <th class="col-supplier-info">供应商信息</th>
  571. <th class="text-center col-rank" style="width:64px;">排名</th>
  572. <th class="text-center" style="width:88px;">质量得分 <i class="fa fa-question-circle procuremen-score-tip" title="质量得分取月度评审(当月按上月起往前查,无则默认40)"></i></th>
  573. <th class="text-center" style="width:80px;">价格得分 <i class="fa fa-question-circle procuremen-score-tip" title="单订单:价格得分=(最低单价合计/本供应商单价合计)×价格权重%×100;一批多订单:按比例加权,比例=数量×最高限价/Σ(数量×最高限价)"></i></th>
  574. {if !empty($showServiceLeadScore)}
  575. <th class="text-center" style="width:80px;">交货得分 <i class="fa fa-question-circle procuremen-score-tip" title="交货得分=月度交货分×50%+报价交期分×50%(按订单算,一批多订单平均;报价交期满分40,提前+1/滞后-1)"></i></th>
  576. {/if}
  577. <th class="text-center" style="width:72px;">总分</th>
  578. <th style="width:100px;">工序名称</th>
  579. <th class="text-center col-unit-price">单价</th>
  580. <th class="text-center col-lead-days">预估工期</th>
  581. <th class="text-center col-delivery">交货日期</th>
  582. <th class="text-center col-subtotal">小计</th>
  583. <th class="text-center" style="width:72px;">状态</th>
  584. <th class="col-op-time">操作时间</th>
  585. </tr>
  586. </thead>
  587. <tbody>
  588. {notempty name="supplierQuoteGroups"}
  589. {volist name="supplierQuoteGroups" id="sg"}
  590. {volist name="sg.lines" id="ln" key="lk"}
  591. <tr{if !empty($sg.is_void)} class="text-muted"{/if}>
  592. {if $lk == 1}
  593. <td class="col-supplier-info"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if}>
  594. <div class="detail-supplier-kv">
  595. <div class="detail-supplier-kv-row"><span class="detail-supplier-kv-label">供应商</span><span class="detail-supplier-kv-val">{$sg.company_name|default=''|htmlentities}</span></div>
  596. <div class="detail-supplier-kv-row"><span class="detail-supplier-kv-label">姓名</span><span class="detail-supplier-kv-val">{$sg.username|default=''|htmlentities}</span></div>
  597. <div class="detail-supplier-kv-row"><span class="detail-supplier-kv-label">邮箱</span><span class="detail-supplier-kv-val">{:htmlentities(mask_email(isset($sg['email']) ? $sg['email'] : ''))}</span></div>
  598. <div class="detail-supplier-kv-row"><span class="detail-supplier-kv-label">手机号</span><span class="detail-supplier-kv-val">{:htmlentities(mask_phone(isset($sg['phone']) ? $sg['phone'] : ''))}</span></div>
  599. </div>
  600. </td>
  601. <td class="text-center col-rank"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if}>{$sg.service_rank_text|default=''|htmlentities}</td>
  602. <td class="text-center"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;">{$sg.service_quality_score_text|default=''|htmlentities}</td>
  603. <td class="text-center"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;" title="单价合计 {$sg.service_price_sum_text|default=''|htmlentities}">{$sg.service_price_score_text|default=''|htmlentities}</td>
  604. {if !empty($showServiceLeadScore)}
  605. <td class="text-center"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;">{$sg.service_lead_score_text|default=''|htmlentities}</td>
  606. {/if}
  607. <td class="text-center"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;font-weight:600;">{$sg.service_score_text|default=''|htmlentities}</td>
  608. {/if}
  609. <td class="proc-process-name-cell">
  610. {notempty name="ln.ccydh"}
  611. <div class="proc-line-ccydh">{$ln.ccydh|htmlentities}</div>
  612. {/notempty}
  613. <div class="proc-line-cgymc">{$ln.cgymc|default=''|htmlentities}</div>
  614. </td>
  615. <td class="text-center col-unit-price{if condition="!empty($ln.amount_quote_pending)"} detail-quote-pending{elseif condition="empty($ln.amount_filled) || $ln.amount_filled neq 1"} detail-quote-empty{/if}">{$ln.unit_price_text|default='未填写'|htmlentities}</td>
  616. <td class="text-center col-lead-days{if condition="!empty($ln.lead_days_quote_pending)"} detail-quote-pending{elseif condition="isset($ln.lead_days_filled) && $ln.lead_days_filled neq 1"} detail-quote-empty{/if}">{$ln.lead_days_show|default='未填写'|htmlentities}</td>
  617. <td class="text-center col-delivery{if condition="!empty($ln.delivery_quote_pending)"} detail-quote-pending{elseif condition="isset($ln.delivery_filled) && $ln.delivery_filled neq 1"} detail-quote-empty{/if}">{$ln.delivery_show|default=''|htmlentities}</td>
  618. <td class="text-center col-subtotal{if condition="!empty($ln.amount_quote_pending)"} detail-quote-pending{/if}">{$ln.subtotal_text|default=''|htmlentities}</td>
  619. <td class="text-center">
  620. {if !empty($ln.is_void)}
  621. <span class="label label-default">历史</span>
  622. {elseif !empty($showSupplierBidResult) && !empty($ln.is_picked) /}
  623. <span class="label label-success">中标</span>
  624. {elseif !empty($showSupplierBidResult) /}
  625. <span class="label label-danger">未中标</span>
  626. {else /}
  627. <span class="text-muted"> </span>
  628. {/if}
  629. </td>
  630. <td class="col-op-time{if condition="!empty($ln.oper_time_quote_pending)"} detail-quote-pending{/if}">{$ln.oper_time_text|default=''|htmlentities}</td>
  631. </tr>
  632. {/volist}
  633. {if !empty($sg.has_remark)}
  634. <tr class="detail-supplier-remark-row{if !empty($sg.is_void)} text-muted{/if}">
  635. <td class="detail-remark-label"><strong>投标备注</strong></td>
  636. <td class="detail-remark-text{if !empty($sg.remark_quote_pending)} detail-quote-pending{/if}" colspan="6">{$sg.remark|default=''|htmlentities}</td>
  637. </tr>
  638. {/if}
  639. {if !empty($sg.has_total)}
  640. <tr class="active detail-supplier-total-row">
  641. <td colspan="4"><strong>总计</strong></td>
  642. <td class="text-center col-subtotal"><strong>{$sg.total_text|default=''|htmlentities}</strong></td>
  643. <td></td>
  644. <td></td>
  645. </tr>
  646. {/if}
  647. {/volist}
  648. {else /}
  649. {notempty name="detailRows"}
  650. {volist name="detailRows" id="dr"}
  651. <tr>
  652. <td class="col-supplier-info">
  653. <div class="detail-supplier-kv">
  654. <div class="detail-supplier-kv-row"><span class="detail-supplier-kv-label">供应商</span><span class="detail-supplier-kv-val">{$dr.company_name|default=''|htmlentities}</span></div>
  655. <div class="detail-supplier-kv-row"><span class="detail-supplier-kv-label">姓名</span><span class="detail-supplier-kv-val">{$dr.username|default=''|htmlentities}</span></div>
  656. <div class="detail-supplier-kv-row"><span class="detail-supplier-kv-label">邮箱</span><span class="detail-supplier-kv-val">{:htmlentities(mask_email(isset($dr['email']) ? $dr['email'] : ''))}</span></div>
  657. <div class="detail-supplier-kv-row"><span class="detail-supplier-kv-label">手机号</span><span class="detail-supplier-kv-val">{:htmlentities(mask_phone(isset($dr['phone']) ? $dr['phone'] : ''))}</span></div>
  658. </div>
  659. </td>
  660. <td class="text-center"></td>
  661. <td class="text-center"></td>
  662. <td class="text-center"></td>
  663. {if !empty($showServiceLeadScore)}
  664. <td class="text-center"></td>
  665. {/if}
  666. <td class="text-center"></td>
  667. <td></td>
  668. <td class="text-center col-unit-price">
  669. {if condition="$dr.amount !== '' && $dr.amount !== null && $dr.amount !== '0' && $dr.amount !== '0.00'"}
  670. {$dr.amount|htmlentities}
  671. {else /}
  672. <span class="detail-quote-empty">未填写</span>
  673. {/if}
  674. </td>
  675. <td class="text-center col-lead-days">
  676. {if condition="isset($dr.lead_days) && $dr.lead_days !== '' && $dr.lead_days !== null"}
  677. {$dr.lead_days|htmlentities}天
  678. {else /}
  679. <span class="detail-quote-empty">未填写</span>
  680. {/if}
  681. </td>
  682. <td class="text-center col-delivery">
  683. {if condition="$dr.delivery_ymd !== '' && $dr.delivery_ymd !== null"}
  684. {$dr.delivery_ymd|htmlentities}
  685. {else /}
  686. <span class="detail-quote-empty">未填写</span>
  687. {/if}
  688. </td>
  689. <td class="text-center col-subtotal"></td>
  690. <td class="text-center">
  691. {if isset($dr.is_void) && $dr.is_void}
  692. <span class="label label-default">历史下发</span>
  693. {elseif !empty($showSupplierBidResult) && !empty($dr.is_picked) /}
  694. <span class="label label-success">中标</span>
  695. {elseif !empty($showSupplierBidResult) /}
  696. <span class="label label-danger">未中标</span>
  697. {else /}
  698. <span class="text-muted"> </span>
  699. {/if}
  700. </td>
  701. <td class="col-op-time{if condition="!empty($dr.oper_time_quote_pending)"} detail-quote-pending{/if}">{$dr.oper_time_text|default=''|htmlentities}</td>
  702. </tr>
  703. {/volist}
  704. {else /}
  705. <tr>
  706. <td colspan="15" class="text-center text-muted">暂无下发明细</td>
  707. </tr>
  708. {/notempty}
  709. {/notempty}
  710. </tbody>
  711. </table>
  712. </div>
  713. </div>