details_fragment.html 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  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: 7.5em 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: 1620px;
  274. min-width: 1620px;
  275. max-width: none;
  276. border-collapse: collapse;
  277. }
  278. .procuremen-details-wrap .detail-supplier-table.has-lead-score {
  279. width: 1620px;
  280. min-width: 1620px;
  281. }
  282. .procuremen-details-wrap .detail-supplier-table th.col-supplier-name,
  283. .procuremen-details-wrap .detail-supplier-table td.col-supplier-name {
  284. width: 180px;
  285. min-width: 180px;
  286. word-break: normal;
  287. overflow-wrap: break-word;
  288. white-space: normal;
  289. line-height: 1.4;
  290. }
  291. .procuremen-details-wrap .detail-supplier-table th.col-supplier-email,
  292. .procuremen-details-wrap .detail-supplier-table td.col-supplier-email {
  293. width: 86px;
  294. min-width: 86px;
  295. max-width: 86px;
  296. word-break: break-all;
  297. white-space: normal;
  298. line-height: 1.35;
  299. font-size: 12px;
  300. }
  301. .procuremen-details-wrap .detail-supplier-table th.col-supplier-user,
  302. .procuremen-details-wrap .detail-supplier-table td.col-supplier-user {
  303. width: 72px;
  304. }
  305. .procuremen-details-wrap .detail-supplier-table th.col-supplier-phone,
  306. .procuremen-details-wrap .detail-supplier-table td.col-supplier-phone {
  307. width: 98px;
  308. min-width: 98px;
  309. max-width: 98px;
  310. word-break: break-all;
  311. white-space: nowrap;
  312. font-size: 12px;
  313. }
  314. .procuremen-details-wrap .detail-supplier-table th.col-rank,
  315. .procuremen-details-wrap .detail-supplier-table td.col-rank {
  316. width: 64px;
  317. min-width: 64px;
  318. text-align: center !important;
  319. vertical-align: middle !important;
  320. }
  321. .procuremen-details-wrap .detail-supplier-table td.col-rank {
  322. font-size: 17px;
  323. font-weight: 700;
  324. color: #1f1f1f;
  325. line-height: 1.2;
  326. }
  327. .procuremen-details-wrap .detail-supplier-table th.col-unit-price,
  328. .procuremen-details-wrap .detail-supplier-table td.col-unit-price {
  329. width: 90px;
  330. white-space: nowrap;
  331. }
  332. .procuremen-details-wrap .detail-supplier-table th.col-lead-days,
  333. .procuremen-details-wrap .detail-supplier-table td.col-lead-days {
  334. width: 90px;
  335. white-space: nowrap;
  336. }
  337. .procuremen-details-wrap .detail-supplier-table th.col-delivery,
  338. .procuremen-details-wrap .detail-supplier-table td.col-delivery {
  339. width: 110px;
  340. white-space: nowrap;
  341. }
  342. .procuremen-details-wrap .detail-supplier-table th.col-subtotal,
  343. .procuremen-details-wrap .detail-supplier-table td.col-subtotal {
  344. width: 90px;
  345. white-space: nowrap;
  346. }
  347. .procuremen-details-wrap .detail-supplier-table th.col-op-time,
  348. .procuremen-details-wrap .detail-supplier-table td.col-op-time {
  349. width: 150px;
  350. white-space: nowrap;
  351. }
  352. .procuremen-details-wrap .detail-supplier-table > thead > tr > th,
  353. .procuremen-details-wrap .detail-supplier-table > tbody > tr > td {
  354. border: 1px solid #ddd !important;
  355. }
  356. .procuremen-details-wrap .details-supplier-table-wrap {
  357. overflow-x: auto;
  358. overflow-y: visible;
  359. -webkit-overflow-scrolling: touch;
  360. margin-bottom: 4px;
  361. }
  362. .procuremen-details-wrap .detail-supplier-table td.detail-quote-empty,
  363. .procuremen-details-wrap .detail-supplier-table td.detail-quote-pending {
  364. color: #e67e22 !important;
  365. white-space: nowrap;
  366. }
  367. .procuremen-details-wrap .detail-supplier-remark-row td {
  368. background: #f5f5f5;
  369. vertical-align: middle;
  370. font-size: inherit;
  371. color: #333;
  372. }
  373. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-label {
  374. white-space: nowrap;
  375. font-weight: 700;
  376. }
  377. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-text {
  378. text-align: left;
  379. word-break: break-all;
  380. line-height: 1.45;
  381. }
  382. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-text.detail-quote-pending {
  383. color: #e67e22 !important;
  384. }
  385. html.procuremen-details-dialog .procuremen-details-wrap .proc-step-item .proc-step-time:empty {
  386. display: none;
  387. margin: 0;
  388. min-height: 0;
  389. }
  390. </style>
  391. <div class="panel panel-default panel-intro procuremen-details-wrap{if !empty($pdf_export)} procuremen-pdf-inner{/if}" style="border:0;box-shadow:none;">
  392. {notempty name="pdf_export"}
  393. <div class="page-head">
  394. {notempty name="ccydh"}
  395. <table class="proc-pdf-order-no" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0;padding:0;">
  396. <tr>
  397. <td style="font-size:15px;font-weight:700;color:#000;padding:0 8px 0 0;vertical-align:baseline;white-space:nowrap;">订单号</td>
  398. <td style="font-size:15px;font-weight:700;color:#000;vertical-align:baseline;word-break:break-all;">{$ccydh|htmlentities}</td>
  399. </tr>
  400. </table>
  401. {/notempty}
  402. </div>
  403. {/notempty}
  404. <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}>
  405. 状态进度
  406. </div>
  407. {notempty name="pdf_export"}
  408. <div class="proc-pdf-steps-outer" style="overflow:hidden;margin:0;padding:0;">
  409. <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;">
  410. <tr>
  411. {volist name="steps" id="st"}
  412. <td style="vertical-align:top;text-align:center;padding:4px 1px 0;border:0 !important;width:14.28%;">
  413. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;height:152px;margin:0 auto;">
  414. <tr>
  415. <td style="vertical-align:top;padding:0;border:0 !important;">
  416. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0 auto 4px;">
  417. <tr style="height:28px;">
  418. <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:28px;">
  419. {if $st.pdf_left_bg}
  420. <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>
  421. {/if}
  422. </td>
  423. <td style="width:28px;padding:0;border:0 !important;vertical-align:middle;text-align:center;height:28px;">
  424. {if $st.done}
  425. <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>
  426. {elseif $st.current /}
  427. <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>
  428. {else /}
  429. <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>
  430. {/if}
  431. </td>
  432. <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:28px;">
  433. {if $st.pdf_right_bg}
  434. <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>
  435. {/if}
  436. </td>
  437. </tr>
  438. </table>
  439. </td>
  440. </tr>
  441. <tr>
  442. <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>
  443. </tr>
  444. <tr>
  445. <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>
  446. </tr>
  447. <tr>
  448. <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>
  449. </tr>
  450. </table>
  451. </td>
  452. {/volist}
  453. </tr>
  454. </table>
  455. </div>
  456. {else /}
  457. <div class="proc-steps-wrap">
  458. {volist name="steps" id="st"}
  459. <div class="proc-step-item{if $st.done} is-done{/if}{if $st.current} is-current{/if}">
  460. <div class="proc-step-circle">
  461. {if $st.done}
  462. <i class="fa fa-check"></i>
  463. {else /}
  464. <span>{$i}</span>
  465. {/if}
  466. </div>
  467. <div class="proc-step-title">{$st.title|htmlentities}</div>
  468. <div class="proc-step-sub">{$st.subtitle|default=''|htmlentities}</div>
  469. <div class="proc-step-time">{$st.time|default=''|htmlentities}</div>
  470. </div>
  471. {/volist}
  472. </div>
  473. {/notempty}
  474. <div class="section-title">操作记录</div>
  475. {notempty name="operLogs"}
  476. <ul class="procuremen-oper-log">
  477. {volist name="operLogs" id="lg"}
  478. <li>
  479. <span class="op-user">{$lg.admin_name|default=''|htmlentities}</span>
  480. <span class="op-time">{$lg.createtime_text|default=''|htmlentities}</span>
  481. <span class="op-action">{notempty name="lg.action_text"}{$lg.action_text|htmlentities}{else /}{$lg.action|default='操作'|htmlentities}{/notempty}:</span>
  482. <span class="op-text">{$lg.content|default=''|htmlentities}</span>
  483. </li>
  484. {/volist}
  485. </ul>
  486. {else /}
  487. <p class="procuremen-oper-log-empty text-muted">暂无操作记录</p>
  488. {/notempty}
  489. <div class="procuremen-order-info-block">
  490. <div class="procuremen-order-info-head">本单工序({$processCount|default='1'} 项)</div>
  491. <div class="details-process-table-wrap">
  492. <table class="table table-bordered table-condensed details-process-table">
  493. <thead>
  494. <tr>
  495. <th class="text-center col-order-no">订单号</th>
  496. <th style="min-width:160px;">印件名称</th>
  497. <th style="width:88px;">工序名称</th>
  498. <th class="text-center" style="width:80px;">单位</th>
  499. <th class="text-center" style="width:88px;">本次数量</th>
  500. <th class="text-center" style="width:72px;">最高限价</th>
  501. <th class="text-center" style="width:80px;">订法</th>
  502. <th style="min-width:120px;">备注</th>
  503. </tr>
  504. </thead>
  505. <tbody>
  506. {notempty name="processDisplayRows"}
  507. {volist name="processDisplayRows" id="pr"}
  508. <tr>
  509. {if $pr.show_order_cells}
  510. <td class="text-center col-order-no"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''|htmlentities}</td>
  511. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''|htmlentities}</td>
  512. {/if}
  513. <td>{$pr.CGYMC|default=''|htmlentities}</td>
  514. <td class="text-center">{$pr.CDW|default=''|htmlentities}</td>
  515. <td class="text-center">{$pr.This_quantity|default=''|htmlentities}</td>
  516. <td class="text-center">{$pr.ceilingPrice|default=''|htmlentities}</td>
  517. <td class="text-center">{$pr.CDF|default=''|htmlentities}</td>
  518. <td>{$pr.MBZ|default=''|htmlentities}</td>
  519. </tr>
  520. {/volist}
  521. {else /}
  522. <tr>
  523. <td colspan="8" class="text-center text-muted" style="padding:14px;">暂无工序数据</td>
  524. </tr>
  525. {/notempty}
  526. </tbody>
  527. </table>
  528. </div>
  529. </div>
  530. <div class="section-title">供应商</div>
  531. {notempty name="supplierScoreRuleText"}
  532. <p class="text-muted" style="margin:-4px 0 8px;font-size:12px;line-height:1.5;">
  533. <i class="fa fa-info-circle"></i>
  534. {notempty name="orderScoreRuleName"}
  535. <strong>订单类型:</strong>{$orderScoreRuleName|htmlentities}
  536. <span class="text-muted">|</span>
  537. {/notempty}
  538. <strong>评分规则:</strong>{$supplierScoreRuleText|htmlentities}
  539. <span class="text-muted">(开标后可见)</span>
  540. </p>
  541. {/notempty}
  542. <div class="details-supplier-table-wrap table-responsive">
  543. <table class="table table-bordered table-condensed detail-mini detail-supplier-table{if !empty($showServiceLeadScore)} has-lead-score{/if}">
  544. <thead>
  545. <tr>
  546. <th class="col-supplier-name">供应商名称</th>
  547. <th class="col-supplier-user">姓名</th>
  548. <th class="col-supplier-email">邮箱</th>
  549. <th class="col-supplier-phone">手机号</th>
  550. <th class="text-center col-rank" style="width:64px;">排名</th>
  551. <th class="text-center" style="width:88px;">质量得分</th>
  552. <th class="text-center" style="width:80px;" title="价格得分=(最低单价合计/本供应商单价合计)×价格权重%×100">价格得分</th>
  553. {if !empty($showServiceLeadScore)}
  554. <th class="text-center" style="width:80px;" title="交货得分取月度评审(当月按上月起往前查,无则默认50)">交货得分</th>
  555. {/if}
  556. <th class="text-center" style="width:72px;">总分</th>
  557. <th style="width:100px;">工序名称</th>
  558. <th class="text-center col-unit-price">单价</th>
  559. <th class="text-center col-lead-days">预估工期</th>
  560. <th class="text-center col-delivery">交货日期</th>
  561. <th class="text-center col-subtotal">小计</th>
  562. <th class="text-center" style="width:72px;">状态</th>
  563. <th class="col-op-time">操作时间</th>
  564. </tr>
  565. </thead>
  566. <tbody>
  567. {notempty name="supplierQuoteGroups"}
  568. {volist name="supplierQuoteGroups" id="sg"}
  569. {volist name="sg.lines" id="ln" key="lk"}
  570. <tr{if !empty($sg.is_void)} class="text-muted"{/if}>
  571. {if $lk == 1}
  572. <td class="col-supplier-name"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;">
  573. {$sg.company_name|default=''|htmlentities}
  574. </td>
  575. <td class="col-supplier-user"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;">{$sg.username|default=''|htmlentities}</td>
  576. <td class="col-supplier-email"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;">{:htmlentities(mask_email(isset($sg['email']) ? $sg['email'] : ''))}</td>
  577. <td class="col-supplier-phone"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;">{:htmlentities(mask_phone(isset($sg['phone']) ? $sg['phone'] : ''))}</td>
  578. <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>
  579. <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>
  580. <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>
  581. {if !empty($showServiceLeadScore)}
  582. <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>
  583. {/if}
  584. <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>
  585. {/if}
  586. <td>{$ln.cgymc|default=''|htmlentities}</td>
  587. <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>
  588. <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>
  589. <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>
  590. <td class="text-center col-subtotal{if condition="!empty($ln.amount_quote_pending)"} detail-quote-pending{/if}">{$ln.subtotal_text|default=''|htmlentities}</td>
  591. <td class="text-center">
  592. {if !empty($ln.is_void)}
  593. <span class="label label-default">历史</span>
  594. {elseif !empty($showSupplierBidResult) && !empty($ln.is_picked) /}
  595. <span class="label label-success">中标</span>
  596. {elseif !empty($showSupplierBidResult) /}
  597. <span class="label label-danger">未中标</span>
  598. {else /}
  599. <span class="text-muted"> </span>
  600. {/if}
  601. </td>
  602. <td class="col-op-time{if condition="!empty($ln.oper_time_quote_pending)"} detail-quote-pending{/if}">{$ln.oper_time_text|default=''|htmlentities}</td>
  603. </tr>
  604. {/volist}
  605. {if !empty($sg.has_remark)}
  606. <tr class="detail-supplier-remark-row{if !empty($sg.is_void)} text-muted{/if}">
  607. <td class="detail-remark-label"><strong>备注</strong></td>
  608. <td class="detail-remark-text{if !empty($sg.remark_quote_pending)} detail-quote-pending{/if}" colspan="6">{$sg.remark|default=''|htmlentities}</td>
  609. </tr>
  610. {/if}
  611. {if !empty($sg.has_total)}
  612. <tr class="active detail-supplier-total-row">
  613. <td><strong>总计</strong></td>
  614. <td></td>
  615. <td></td>
  616. <td></td>
  617. <td class="text-center col-subtotal"><strong>{$sg.total_text|default=''|htmlentities}</strong></td>
  618. <td></td>
  619. <td></td>
  620. </tr>
  621. {/if}
  622. {/volist}
  623. {else /}
  624. {notempty name="detailRows"}
  625. {volist name="detailRows" id="dr"}
  626. <tr>
  627. <td class="col-supplier-name">{$dr.company_name|default=''|htmlentities}</td>
  628. <td class="col-supplier-user">{$dr.username|default=''|htmlentities}</td>
  629. <td class="col-supplier-email">{:htmlentities(mask_email(isset($dr['email']) ? $dr['email'] : ''))}</td>
  630. <td class="col-supplier-phone">{:htmlentities(mask_phone(isset($dr['phone']) ? $dr['phone'] : ''))}</td>
  631. <td class="text-center"></td>
  632. <td class="text-center"></td>
  633. <td class="text-center"></td>
  634. <td class="text-center"></td>
  635. <td></td>
  636. <td class="text-center col-unit-price">
  637. {if condition="$dr.amount !== '' && $dr.amount !== null && $dr.amount !== '0' && $dr.amount !== '0.00'"}
  638. {$dr.amount|htmlentities}
  639. {else /}
  640. <span class="detail-quote-empty">未填写</span>
  641. {/if}
  642. </td>
  643. <td class="text-center col-lead-days">
  644. {if condition="isset($dr.lead_days) && $dr.lead_days !== '' && $dr.lead_days !== null"}
  645. {$dr.lead_days|htmlentities}天
  646. {else /}
  647. <span class="detail-quote-empty">未填写</span>
  648. {/if}
  649. </td>
  650. <td class="text-center col-delivery">
  651. {if condition="$dr.delivery_ymd !== '' && $dr.delivery_ymd !== null"}
  652. {$dr.delivery_ymd|htmlentities}
  653. {else /}
  654. <span class="detail-quote-empty">未填写</span>
  655. {/if}
  656. </td>
  657. <td class="text-center col-subtotal"></td>
  658. <td class="text-center">
  659. {if isset($dr.is_void) && $dr.is_void}
  660. <span class="label label-default">历史下发</span>
  661. {elseif !empty($showSupplierBidResult) && !empty($dr.is_picked) /}
  662. <span class="label label-success">中标</span>
  663. {elseif !empty($showSupplierBidResult) /}
  664. <span class="label label-danger">未中标</span>
  665. {else /}
  666. <span class="text-muted"> </span>
  667. {/if}
  668. </td>
  669. <td class="col-op-time{if condition="!empty($dr.oper_time_quote_pending)"} detail-quote-pending{/if}">{$dr.oper_time_text|default=''|htmlentities}</td>
  670. </tr>
  671. {/volist}
  672. {else /}
  673. <tr>
  674. <td colspan="15" class="text-center text-muted">暂无下发明细</td>
  675. </tr>
  676. {/notempty}
  677. {/notempty}
  678. </tbody>
  679. </table>
  680. </div>
  681. </div>