details_fragment.html 31 KB

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