details_fragment.html 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644
  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. }
  92. .proc-step-sub {
  93. font-size: 11px;
  94. color: #888;
  95. line-height: 1.45;
  96. min-height: 3.2em;
  97. flex: 1 1 auto;
  98. white-space: pre-line;
  99. word-break: break-word;
  100. text-align: left;
  101. width: 100%;
  102. max-width: 100%;
  103. box-sizing: border-box;
  104. }
  105. .proc-step-time {
  106. font-size: 11px;
  107. color: #aaa;
  108. margin-top: auto;
  109. padding-top: 6px;
  110. white-space: pre-line;
  111. line-height: 1.35;
  112. text-align: left;
  113. width: 100%;
  114. max-width: 100%;
  115. box-sizing: border-box;
  116. min-height: 2.7em;
  117. flex: 0 0 auto;
  118. }
  119. .procuremen-details-wrap .procuremen-order-info-block {
  120. border: 1px solid #ddd;
  121. margin-top: 18px;
  122. margin-bottom: 0;
  123. }
  124. .procuremen-details-wrap .procuremen-order-info-head {
  125. background: #f0f0f0;
  126. border-bottom: 1px solid #ddd;
  127. padding: 10px 12px;
  128. font-size: 14px;
  129. font-weight: 700;
  130. color: #222;
  131. margin: 0;
  132. }
  133. .procuremen-details-wrap .procuremen-order-grid {
  134. width: 100%;
  135. border-collapse: collapse;
  136. table-layout: fixed;
  137. font-size: 13px;
  138. margin: 0;
  139. background: #fff;
  140. border: none;
  141. }
  142. .procuremen-details-wrap .procuremen-order-grid td {
  143. border: 1px solid #ddd;
  144. padding: 10px 12px;
  145. vertical-align: middle;
  146. }
  147. .procuremen-details-wrap .procuremen-order-grid .og-label {
  148. width: 14%;
  149. background: #f5f5f5;
  150. color: #333;
  151. text-align: right;
  152. font-weight: normal;
  153. }
  154. .procuremen-details-wrap .procuremen-order-grid .og-value {
  155. width: 36%;
  156. background: #fff;
  157. color: #000;
  158. text-align: left;
  159. font-weight: 700;
  160. word-break: break-word;
  161. }
  162. .procuremen-details-wrap .details-process-table-wrap {
  163. overflow-x: auto;
  164. -webkit-overflow-scrolling: touch;
  165. }
  166. .procuremen-details-wrap .details-process-table {
  167. margin: 0;
  168. font-size: 12px;
  169. table-layout: fixed;
  170. width: 100%;
  171. min-width: 880px;
  172. border-collapse: collapse;
  173. }
  174. .procuremen-details-wrap .details-process-table th {
  175. background: #f5f5f5;
  176. white-space: nowrap;
  177. font-weight: 600;
  178. padding: 8px 10px;
  179. vertical-align: middle;
  180. border: 1px solid #ddd !important;
  181. }
  182. .procuremen-details-wrap .details-process-table td {
  183. padding: 8px 10px;
  184. vertical-align: middle;
  185. word-wrap: break-word;
  186. border: 1px solid #ddd !important;
  187. }
  188. .procuremen-details-wrap .details-process-table th.col-order-no,
  189. .procuremen-details-wrap .details-process-table td.col-order-no {
  190. width: 150px;
  191. white-space: nowrap;
  192. word-wrap: normal;
  193. word-break: keep-all;
  194. }
  195. .procuremen-details-wrap .details-process-table th.text-center,
  196. .procuremen-details-wrap .details-process-table td.text-center {
  197. text-align: center;
  198. }
  199. .procuremen-details-wrap .procuremen-oper-log {
  200. list-style: none;
  201. margin: 0 0 8px;
  202. padding: 0;
  203. font-size: 13px;
  204. line-height: 1.65;
  205. border: 1px solid #e8e8e8;
  206. border-radius: 4px;
  207. background: #fafafa;
  208. /* 记录多时全部展开,由详情弹窗整体滚动 */
  209. max-height: none;
  210. overflow: visible;
  211. }
  212. .procuremen-details-wrap .procuremen-oper-log li {
  213. padding: 8px 12px;
  214. border-bottom: 1px solid #eee;
  215. word-break: break-word;
  216. }
  217. .procuremen-details-wrap .procuremen-oper-log li:last-child {
  218. border-bottom: none;
  219. }
  220. .procuremen-details-wrap .procuremen-oper-log .op-user {
  221. font-weight: 700;
  222. color: #000;
  223. }
  224. .procuremen-details-wrap .procuremen-oper-log .op-time {
  225. color: #666;
  226. margin: 0 6px;
  227. }
  228. .procuremen-details-wrap .procuremen-oper-log .op-text {
  229. color: #333;
  230. }
  231. .procuremen-details-wrap .procuremen-oper-log-empty {
  232. font-size: 13px;
  233. color: #999;
  234. padding: 10px 12px;
  235. border: 1px dashed #ddd;
  236. border-radius: 4px;
  237. margin-bottom: 8px;
  238. }
  239. .procuremen-details-wrap .detail-mini {
  240. font-size: 12px;
  241. border-collapse: collapse;
  242. }
  243. .procuremen-details-wrap .detail-mini th,
  244. .procuremen-details-wrap .detail-mini td {
  245. padding: 6px 8px;
  246. vertical-align: middle;
  247. border: 1px solid #ddd !important;
  248. }
  249. .procuremen-details-wrap .detail-mini thead th {
  250. background: #f5f5f5;
  251. font-weight: 600;
  252. white-space: nowrap;
  253. }
  254. .procuremen-details-wrap .detail-supplier-table {
  255. /* 固定表宽,避免 width:100% + table-layout:fixed 把名称列挤成竖排字 */
  256. table-layout: fixed;
  257. width: 1620px;
  258. min-width: 1620px;
  259. max-width: none;
  260. border-collapse: collapse;
  261. }
  262. .procuremen-details-wrap .detail-supplier-table.has-lead-score {
  263. width: 1620px;
  264. min-width: 1620px;
  265. }
  266. .procuremen-details-wrap .detail-supplier-table th.col-supplier-name,
  267. .procuremen-details-wrap .detail-supplier-table td.col-supplier-name {
  268. width: 180px;
  269. min-width: 180px;
  270. word-break: normal;
  271. overflow-wrap: break-word;
  272. white-space: normal;
  273. line-height: 1.4;
  274. }
  275. .procuremen-details-wrap .detail-supplier-table th.col-supplier-email,
  276. .procuremen-details-wrap .detail-supplier-table td.col-supplier-email {
  277. width: 86px;
  278. min-width: 86px;
  279. max-width: 86px;
  280. word-break: break-all;
  281. white-space: normal;
  282. line-height: 1.35;
  283. font-size: 12px;
  284. }
  285. .procuremen-details-wrap .detail-supplier-table th.col-supplier-user,
  286. .procuremen-details-wrap .detail-supplier-table td.col-supplier-user {
  287. width: 72px;
  288. }
  289. .procuremen-details-wrap .detail-supplier-table th.col-supplier-phone,
  290. .procuremen-details-wrap .detail-supplier-table td.col-supplier-phone {
  291. width: 98px;
  292. min-width: 98px;
  293. max-width: 98px;
  294. word-break: break-all;
  295. white-space: nowrap;
  296. font-size: 12px;
  297. }
  298. .procuremen-details-wrap .detail-supplier-table th.col-unit-price,
  299. .procuremen-details-wrap .detail-supplier-table td.col-unit-price {
  300. width: 90px;
  301. white-space: nowrap;
  302. }
  303. .procuremen-details-wrap .detail-supplier-table th.col-lead-days,
  304. .procuremen-details-wrap .detail-supplier-table td.col-lead-days {
  305. width: 90px;
  306. white-space: nowrap;
  307. }
  308. .procuremen-details-wrap .detail-supplier-table th.col-delivery,
  309. .procuremen-details-wrap .detail-supplier-table td.col-delivery {
  310. width: 110px;
  311. white-space: nowrap;
  312. }
  313. .procuremen-details-wrap .detail-supplier-table th.col-subtotal,
  314. .procuremen-details-wrap .detail-supplier-table td.col-subtotal {
  315. width: 90px;
  316. white-space: nowrap;
  317. }
  318. .procuremen-details-wrap .detail-supplier-table th.col-op-time,
  319. .procuremen-details-wrap .detail-supplier-table td.col-op-time {
  320. width: 150px;
  321. white-space: nowrap;
  322. }
  323. .procuremen-details-wrap .detail-supplier-table > thead > tr > th,
  324. .procuremen-details-wrap .detail-supplier-table > tbody > tr > td {
  325. border: 1px solid #ddd !important;
  326. }
  327. .procuremen-details-wrap .details-supplier-table-wrap {
  328. overflow-x: auto;
  329. overflow-y: visible;
  330. -webkit-overflow-scrolling: touch;
  331. margin-bottom: 4px;
  332. }
  333. .procuremen-details-wrap .detail-supplier-table td.detail-quote-empty,
  334. .procuremen-details-wrap .detail-supplier-table td.detail-quote-pending {
  335. color: #e67e22 !important;
  336. white-space: nowrap;
  337. }
  338. .procuremen-details-wrap .detail-supplier-remark-row td {
  339. background: #f5f5f5;
  340. vertical-align: middle;
  341. font-size: inherit;
  342. color: #333;
  343. }
  344. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-label {
  345. white-space: nowrap;
  346. font-weight: 700;
  347. }
  348. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-text {
  349. text-align: left;
  350. word-break: break-all;
  351. line-height: 1.45;
  352. }
  353. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-text.detail-quote-pending {
  354. color: #e67e22 !important;
  355. }
  356. html.procuremen-details-dialog .procuremen-details-wrap .proc-step-item .proc-step-time:empty {
  357. display: none;
  358. margin: 0;
  359. min-height: 0;
  360. }
  361. </style>
  362. <div class="panel panel-default panel-intro procuremen-details-wrap{if !empty($pdf_export)} procuremen-pdf-inner{/if}" style="border:0;box-shadow:none;">
  363. {notempty name="pdf_export"}
  364. <div class="page-head">
  365. {notempty name="ccydh"}
  366. <table class="proc-pdf-order-no" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0;padding:0;">
  367. <tr>
  368. <td style="font-size:15px;font-weight:700;color:#000;padding:0 8px 0 0;vertical-align:baseline;white-space:nowrap;">订单号</td>
  369. <td style="font-size:15px;font-weight:700;color:#000;vertical-align:baseline;word-break:break-all;">{$ccydh|htmlentities}</td>
  370. </tr>
  371. </table>
  372. {/notempty}
  373. </div>
  374. {/notempty}
  375. <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>
  376. {notempty name="pdf_export"}
  377. <div class="proc-pdf-steps-outer" style="overflow:hidden;margin:0;padding:0;">
  378. <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;">
  379. <tr>
  380. {volist name="steps" id="st"}
  381. <td style="vertical-align:top;text-align:center;padding:4px 1px 0;border:0 !important;width:16.666%;">
  382. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;height:152px;margin:0 auto;">
  383. <tr>
  384. <td style="vertical-align:top;padding:0;border:0 !important;">
  385. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0 auto 4px;">
  386. <tr style="height:28px;">
  387. <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:28px;">
  388. {if $st.pdf_left_bg}
  389. <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>
  390. {/if}
  391. </td>
  392. <td style="width:28px;padding:0;border:0 !important;vertical-align:middle;text-align:center;height:28px;">
  393. {if $st.done}
  394. <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>
  395. {elseif $st.current /}
  396. <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>
  397. {else /}
  398. <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>
  399. {/if}
  400. </td>
  401. <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:28px;">
  402. {if $st.pdf_right_bg}
  403. <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>
  404. {/if}
  405. </td>
  406. </tr>
  407. </table>
  408. </td>
  409. </tr>
  410. <tr>
  411. <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>
  412. </tr>
  413. <tr>
  414. <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:left;overflow:hidden;">{$st.subtitle|default=''|htmlentities|nl2br}</td>
  415. </tr>
  416. <tr>
  417. <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>
  418. </tr>
  419. </table>
  420. </td>
  421. {/volist}
  422. </tr>
  423. </table>
  424. </div>
  425. {else /}
  426. <div class="proc-steps-wrap">
  427. {volist name="steps" id="st"}
  428. <div class="proc-step-item{if $st.done} is-done{/if}{if $st.current} is-current{/if}">
  429. <div class="proc-step-circle">
  430. {if $st.done}
  431. <i class="fa fa-check"></i>
  432. {else /}
  433. <span>{$i}</span>
  434. {/if}
  435. </div>
  436. <div class="proc-step-title">{$st.title|htmlentities}</div>
  437. <div class="proc-step-sub">{$st.subtitle|default=''|htmlentities}</div>
  438. <div class="proc-step-time">{$st.time|default=''|htmlentities}</div>
  439. </div>
  440. {/volist}
  441. </div>
  442. {/notempty}
  443. <div class="section-title">操作记录</div>
  444. {notempty name="operLogs"}
  445. <ul class="procuremen-oper-log">
  446. {volist name="operLogs" id="lg"}
  447. <li>
  448. <span class="op-user">{$lg.admin_name|default=''|htmlentities}</span>
  449. <span class="op-time">{$lg.createtime_text|default=''|htmlentities}</span>
  450. <span class="op-text">{$lg.content|default=''|htmlentities}</span>
  451. </li>
  452. {/volist}
  453. </ul>
  454. {else /}
  455. <p class="procuremen-oper-log-empty text-muted">暂无操作记录</p>
  456. {/notempty}
  457. <div class="procuremen-order-info-block">
  458. <div class="procuremen-order-info-head">本单工序({$processCount|default='1'} 项)</div>
  459. <div class="details-process-table-wrap">
  460. <table class="table table-bordered table-condensed details-process-table">
  461. <thead>
  462. <tr>
  463. <th class="text-center col-order-no">订单号</th>
  464. <th style="min-width:160px;">印件名称</th>
  465. <th style="width:88px;">工序名称</th>
  466. <th class="text-center" style="width:80px;">单位</th>
  467. <th class="text-center" style="width:88px;">本次数量</th>
  468. <th class="text-center" style="width:72px;">最高限价</th>
  469. <th class="text-center" style="width:80px;">订法</th>
  470. <th style="min-width:120px;">备注</th>
  471. </tr>
  472. </thead>
  473. <tbody>
  474. {notempty name="processDisplayRows"}
  475. {volist name="processDisplayRows" id="pr"}
  476. <tr>
  477. {if $pr.show_order_cells}
  478. <td class="text-center col-order-no"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''|htmlentities}</td>
  479. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''|htmlentities}</td>
  480. {/if}
  481. <td>{$pr.CGYMC|default=''|htmlentities}</td>
  482. <td class="text-center">{$pr.CDW|default=''|htmlentities}</td>
  483. <td class="text-center">{$pr.This_quantity|default=''|htmlentities}</td>
  484. <td class="text-center">{$pr.ceilingPrice|default=''|htmlentities}</td>
  485. <td class="text-center">{$pr.CDF|default=''|htmlentities}</td>
  486. <td>{$pr.MBZ|default=''|htmlentities}</td>
  487. </tr>
  488. {/volist}
  489. {else /}
  490. <tr>
  491. <td colspan="8" class="text-center text-muted" style="padding:14px;">暂无工序数据</td>
  492. </tr>
  493. {/notempty}
  494. </tbody>
  495. </table>
  496. </div>
  497. </div>
  498. <div class="section-title">供应商</div>
  499. {notempty name="supplierScoreRuleText"}
  500. <p class="text-muted" style="margin:-4px 0 8px;font-size:12px;line-height:1.5;">
  501. <i class="fa fa-info-circle"></i>
  502. <strong>评分规则:</strong>{$supplierScoreRuleText|htmlentities}
  503. <span class="text-muted">(开标后可见)</span>
  504. </p>
  505. {/notempty}
  506. <div class="details-supplier-table-wrap table-responsive">
  507. <table class="table table-bordered table-condensed detail-mini detail-supplier-table{if !empty($showServiceLeadScore)} has-lead-score{/if}">
  508. <thead>
  509. <tr>
  510. <th class="col-supplier-name">供应商名称</th>
  511. <th class="col-supplier-user">姓名</th>
  512. <th class="col-supplier-email">邮箱</th>
  513. <th class="col-supplier-phone">手机号</th>
  514. <th class="text-center" style="width:56px;">排名</th>
  515. <th class="text-center" style="width:88px;">商务/技术得分</th>
  516. <th class="text-center" style="width:80px;" title="价格得分=(最低单价合计/本供应商单价合计)×价格权重%×100">价格得分</th>
  517. <th class="text-center" style="width:72px;">总分</th>
  518. <th style="width:100px;">工序名称</th>
  519. <th class="text-center col-unit-price">单价</th>
  520. <th class="text-center col-lead-days">预估工期</th>
  521. <th class="text-center col-delivery">交货日期</th>
  522. <th class="text-center col-subtotal">小计</th>
  523. <th class="text-center" style="width:72px;">状态</th>
  524. <th class="col-op-time">操作时间</th>
  525. </tr>
  526. </thead>
  527. <tbody>
  528. {notempty name="supplierQuoteGroups"}
  529. {volist name="supplierQuoteGroups" id="sg"}
  530. {volist name="sg.lines" id="ln" key="lk"}
  531. <tr{if !empty($sg.is_void)} class="text-muted"{/if}>
  532. {if $lk == 1}
  533. <td class="col-supplier-name"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;">
  534. {$sg.company_name|default=''|htmlentities}
  535. </td>
  536. <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>
  537. <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>
  538. <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>
  539. <td class="text-center"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;">{$sg.service_rank_text|default=''|htmlentities}</td>
  540. <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>
  541. <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>
  542. <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>
  543. {/if}
  544. <td>{$ln.cgymc|default=''|htmlentities}</td>
  545. <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>
  546. <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>
  547. <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>
  548. <td class="text-center col-subtotal{if condition="!empty($ln.amount_quote_pending)"} detail-quote-pending{/if}">{$ln.subtotal_text|default=''|htmlentities}</td>
  549. <td class="text-center">
  550. {if !empty($ln.is_void)}
  551. <span class="label label-default">历史</span>
  552. {elseif !empty($showSupplierBidResult) && !empty($ln.is_picked) /}
  553. <span class="label label-success">中标</span>
  554. {elseif !empty($showSupplierBidResult) /}
  555. <span class="label label-danger">未中标</span>
  556. {else /}
  557. <span class="text-muted"> </span>
  558. {/if}
  559. </td>
  560. <td class="col-op-time{if condition="!empty($ln.oper_time_quote_pending)"} detail-quote-pending{/if}">{$ln.oper_time_text|default=''|htmlentities}</td>
  561. </tr>
  562. {/volist}
  563. {if !empty($sg.has_remark)}
  564. <tr class="detail-supplier-remark-row{if !empty($sg.is_void)} text-muted{/if}">
  565. <td class="detail-remark-label"><strong>备注</strong></td>
  566. <td class="detail-remark-text{if !empty($sg.remark_quote_pending)} detail-quote-pending{/if}" colspan="6">{$sg.remark|default=''|htmlentities}</td>
  567. </tr>
  568. {/if}
  569. {if !empty($sg.has_total)}
  570. <tr class="active detail-supplier-total-row">
  571. <td><strong>总计</strong></td>
  572. <td></td>
  573. <td></td>
  574. <td></td>
  575. <td class="text-center col-subtotal"><strong>{$sg.total_text|default=''|htmlentities}</strong></td>
  576. <td></td>
  577. <td></td>
  578. </tr>
  579. {/if}
  580. {/volist}
  581. {else /}
  582. {notempty name="detailRows"}
  583. {volist name="detailRows" id="dr"}
  584. <tr>
  585. <td class="col-supplier-name">{$dr.company_name|default=''|htmlentities}</td>
  586. <td class="col-supplier-user">{$dr.username|default=''|htmlentities}</td>
  587. <td class="col-supplier-email">{:htmlentities(mask_email(isset($dr['email']) ? $dr['email'] : ''))}</td>
  588. <td class="col-supplier-phone">{:htmlentities(mask_phone(isset($dr['phone']) ? $dr['phone'] : ''))}</td>
  589. <td class="text-center"></td>
  590. <td class="text-center"></td>
  591. <td class="text-center"></td>
  592. <td class="text-center"></td>
  593. <td></td>
  594. <td class="text-center col-unit-price">
  595. {if condition="$dr.amount !== '' && $dr.amount !== null && $dr.amount !== '0' && $dr.amount !== '0.00'"}
  596. {$dr.amount|htmlentities}
  597. {else /}
  598. <span class="detail-quote-empty">未填写</span>
  599. {/if}
  600. </td>
  601. <td class="text-center col-lead-days">
  602. {if condition="isset($dr.lead_days) && $dr.lead_days !== '' && $dr.lead_days !== null"}
  603. {$dr.lead_days|htmlentities}天
  604. {else /}
  605. <span class="detail-quote-empty">未填写</span>
  606. {/if}
  607. </td>
  608. <td class="text-center col-delivery">
  609. {if condition="$dr.delivery_ymd !== '' && $dr.delivery_ymd !== null"}
  610. {$dr.delivery_ymd|htmlentities}
  611. {else /}
  612. <span class="detail-quote-empty">未填写</span>
  613. {/if}
  614. </td>
  615. <td class="text-center col-subtotal"></td>
  616. <td class="text-center">
  617. {if isset($dr.is_void) && $dr.is_void}
  618. <span class="label label-default">历史下发</span>
  619. {elseif !empty($showSupplierBidResult) && !empty($dr.is_picked) /}
  620. <span class="label label-success">中标</span>
  621. {elseif !empty($showSupplierBidResult) /}
  622. <span class="label label-danger">未中标</span>
  623. {else /}
  624. <span class="text-muted"> </span>
  625. {/if}
  626. </td>
  627. <td class="col-op-time{if condition="!empty($dr.oper_time_quote_pending)"} detail-quote-pending{/if}">{$dr.oper_time_text|default=''|htmlentities}</td>
  628. </tr>
  629. {/volist}
  630. {else /}
  631. <tr>
  632. <td colspan="15" class="text-center text-muted">暂无下发明细</td>
  633. </tr>
  634. {/notempty}
  635. {/notempty}
  636. </tbody>
  637. </table>
  638. </div>
  639. </div>