details_fragment.html 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  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: flex-start;
  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. }
  40. .proc-step-item:not(:last-child)::after {
  41. content: '';
  42. position: absolute;
  43. top: 14px;
  44. left: 50%;
  45. width: 100%;
  46. height: 2px;
  47. background: #e0e0e0;
  48. z-index: 0;
  49. }
  50. .proc-step-item.is-done:not(:last-child)::after {
  51. background: #1890ff;
  52. }
  53. .proc-step-circle {
  54. width: 28px;
  55. height: 28px;
  56. line-height: 28px;
  57. border-radius: 50%;
  58. margin: 0 auto 6px;
  59. font-size: 13px;
  60. font-weight: 600;
  61. position: relative;
  62. z-index: 1;
  63. background: #f5f5f5;
  64. color: #999;
  65. border: 2px solid #ddd;
  66. }
  67. .proc-step-item.is-done .proc-step-circle {
  68. background: #1890ff;
  69. border-color: #1890ff;
  70. color: #fff;
  71. }
  72. .proc-step-item.is-current .proc-step-circle {
  73. background: #1890ff;
  74. border-color: #1890ff;
  75. color: #fff;
  76. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.25);
  77. }
  78. .proc-step-item.is-done .proc-step-circle .fa {
  79. line-height: 24px;
  80. }
  81. .proc-step-title {
  82. font-size: 12px;
  83. color: #333;
  84. line-height: 1.35;
  85. margin-bottom: 2px;
  86. }
  87. .proc-step-sub {
  88. font-size: 11px;
  89. color: #888;
  90. line-height: 1.3;
  91. min-height: 2.6em;
  92. }
  93. .proc-step-time {
  94. font-size: 11px;
  95. color: #aaa;
  96. margin-top: 4px;
  97. white-space: nowrap;
  98. }
  99. .procuremen-details-wrap .procuremen-order-info-block {
  100. border: 1px solid #ddd;
  101. margin-top: 18px;
  102. margin-bottom: 0;
  103. }
  104. .procuremen-details-wrap .procuremen-order-info-head {
  105. background: #f0f0f0;
  106. border-bottom: 1px solid #ddd;
  107. padding: 10px 12px;
  108. font-size: 14px;
  109. font-weight: 700;
  110. color: #222;
  111. margin: 0;
  112. }
  113. .procuremen-details-wrap .procuremen-order-grid {
  114. width: 100%;
  115. border-collapse: collapse;
  116. table-layout: fixed;
  117. font-size: 13px;
  118. margin: 0;
  119. background: #fff;
  120. border: none;
  121. }
  122. .procuremen-details-wrap .procuremen-order-grid td {
  123. border: 1px solid #ddd;
  124. padding: 10px 12px;
  125. vertical-align: middle;
  126. }
  127. .procuremen-details-wrap .procuremen-order-grid .og-label {
  128. width: 14%;
  129. background: #f5f5f5;
  130. color: #333;
  131. text-align: right;
  132. font-weight: normal;
  133. }
  134. .procuremen-details-wrap .procuremen-order-grid .og-value {
  135. width: 36%;
  136. background: #fff;
  137. color: #000;
  138. text-align: left;
  139. font-weight: 700;
  140. word-break: break-word;
  141. }
  142. .procuremen-details-wrap .details-process-table-wrap {
  143. overflow-x: auto;
  144. -webkit-overflow-scrolling: touch;
  145. }
  146. .procuremen-details-wrap .details-process-table {
  147. margin: 0;
  148. font-size: 12px;
  149. table-layout: fixed;
  150. width: 100%;
  151. min-width: 820px;
  152. border-collapse: collapse;
  153. }
  154. .procuremen-details-wrap .details-process-table th {
  155. background: #f5f5f5;
  156. white-space: nowrap;
  157. font-weight: 600;
  158. padding: 8px 10px;
  159. vertical-align: middle;
  160. border: 1px solid #ddd !important;
  161. }
  162. .procuremen-details-wrap .details-process-table td {
  163. padding: 8px 10px;
  164. vertical-align: middle;
  165. word-wrap: break-word;
  166. border: 1px solid #ddd !important;
  167. }
  168. .procuremen-details-wrap .details-process-table th.text-center,
  169. .procuremen-details-wrap .details-process-table td.text-center {
  170. text-align: center;
  171. }
  172. .procuremen-details-wrap .procuremen-oper-log {
  173. list-style: none;
  174. margin: 0 0 8px;
  175. padding: 0;
  176. font-size: 13px;
  177. line-height: 1.65;
  178. border: 1px solid #e8e8e8;
  179. border-radius: 4px;
  180. background: #fafafa;
  181. max-height: 280px;
  182. overflow-y: auto;
  183. }
  184. .procuremen-details-wrap .procuremen-oper-log li {
  185. padding: 8px 12px;
  186. border-bottom: 1px solid #eee;
  187. word-break: break-word;
  188. }
  189. .procuremen-details-wrap .procuremen-oper-log li:last-child {
  190. border-bottom: none;
  191. }
  192. .procuremen-details-wrap .procuremen-oper-log .op-user {
  193. font-weight: 700;
  194. color: #000;
  195. }
  196. .procuremen-details-wrap .procuremen-oper-log .op-time {
  197. color: #666;
  198. margin: 0 6px;
  199. }
  200. .procuremen-details-wrap .procuremen-oper-log .op-text {
  201. color: #333;
  202. }
  203. .procuremen-details-wrap .procuremen-oper-log-empty {
  204. font-size: 13px;
  205. color: #999;
  206. padding: 10px 12px;
  207. border: 1px dashed #ddd;
  208. border-radius: 4px;
  209. margin-bottom: 8px;
  210. }
  211. .procuremen-details-wrap .detail-mini {
  212. font-size: 12px;
  213. border-collapse: collapse;
  214. }
  215. .procuremen-details-wrap .detail-mini th,
  216. .procuremen-details-wrap .detail-mini td {
  217. padding: 6px 8px;
  218. vertical-align: middle;
  219. border: 1px solid #ddd !important;
  220. }
  221. .procuremen-details-wrap .detail-mini thead th {
  222. background: #f5f5f5;
  223. font-weight: 600;
  224. white-space: nowrap;
  225. }
  226. .procuremen-details-wrap .detail-supplier-table {
  227. table-layout: fixed;
  228. width: 100%;
  229. min-width: 1100px;
  230. border-collapse: collapse;
  231. }
  232. .procuremen-details-wrap .detail-supplier-table th.col-supplier-name,
  233. .procuremen-details-wrap .detail-supplier-table td.col-supplier-name {
  234. width: 22%;
  235. min-width: 250px;
  236. word-break: break-word;
  237. }
  238. .procuremen-details-wrap .detail-supplier-table th.col-supplier-email,
  239. .procuremen-details-wrap .detail-supplier-table td.col-supplier-email {
  240. width: 110px;
  241. word-break: break-all;
  242. }
  243. .procuremen-details-wrap .detail-supplier-table th.col-supplier-user,
  244. .procuremen-details-wrap .detail-supplier-table td.col-supplier-user {
  245. width: 72px;
  246. }
  247. .procuremen-details-wrap .detail-supplier-table th.col-supplier-phone,
  248. .procuremen-details-wrap .detail-supplier-table td.col-supplier-phone {
  249. width: 120px;
  250. word-break: break-all;
  251. }
  252. .procuremen-details-wrap .detail-supplier-table th.col-unit-price,
  253. .procuremen-details-wrap .detail-supplier-table td.col-unit-price {
  254. width: 112px;
  255. white-space: nowrap;
  256. }
  257. .procuremen-details-wrap .detail-supplier-table th.col-op-time,
  258. .procuremen-details-wrap .detail-supplier-table td.col-op-time {
  259. width: 148px;
  260. white-space: nowrap;
  261. }
  262. .procuremen-details-wrap .detail-supplier-table > thead > tr > th,
  263. .procuremen-details-wrap .detail-supplier-table > tbody > tr > td {
  264. border: 1px solid #ddd !important;
  265. }
  266. .procuremen-details-wrap .details-supplier-table-wrap {
  267. overflow-x: auto;
  268. overflow-y: visible;
  269. -webkit-overflow-scrolling: touch;
  270. margin-bottom: 4px;
  271. }
  272. .procuremen-details-wrap .detail-supplier-table td.detail-quote-empty,
  273. .procuremen-details-wrap .detail-supplier-table td.detail-quote-pending {
  274. color: #e67e22 !important;
  275. }
  276. .procuremen-details-wrap .detail-supplier-remark-row td {
  277. background: #f5f5f5;
  278. vertical-align: middle;
  279. font-size: inherit;
  280. color: #333;
  281. }
  282. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-label {
  283. white-space: nowrap;
  284. font-weight: 700;
  285. }
  286. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-text {
  287. text-align: left;
  288. word-break: break-all;
  289. line-height: 1.45;
  290. }
  291. .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-text.detail-quote-pending {
  292. color: #e67e22 !important;
  293. }
  294. html.procuremen-details-dialog .procuremen-details-wrap .proc-step-item .proc-step-time:empty {
  295. display: none;
  296. margin: 0;
  297. min-height: 0;
  298. }
  299. </style>
  300. <div class="panel panel-default panel-intro procuremen-details-wrap{if !empty($pdf_export)} procuremen-pdf-inner{/if}" style="border:0;box-shadow:none;">
  301. {notempty name="pdf_export"}
  302. <div class="page-head">
  303. {notempty name="ccydh"}
  304. <table class="proc-pdf-order-no" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0;padding:0;">
  305. <tr>
  306. <td style="font-size:15px;font-weight:700;color:#000;padding:0 8px 0 0;vertical-align:baseline;white-space:nowrap;">订单号</td>
  307. <td style="font-size:15px;font-weight:700;color:#000;vertical-align:baseline;word-break:break-all;">{$ccydh|htmlentities}</td>
  308. </tr>
  309. </table>
  310. {/notempty}
  311. </div>
  312. {/notempty}
  313. <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>
  314. {notempty name="pdf_export"}
  315. <div class="proc-pdf-steps-outer" style="overflow:hidden;margin:0;padding:0;">
  316. <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;">
  317. <tr>
  318. {volist name="steps" id="st"}
  319. <td style="vertical-align:top;text-align:center;padding:4px 1px 0;border:0 !important;width:16.666%;">
  320. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;height:152px;margin:0 auto;">
  321. <tr>
  322. <td style="vertical-align:top;padding:0;border:0 !important;">
  323. <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0 auto 4px;">
  324. <tr style="height:28px;">
  325. <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:28px;">
  326. {if $st.pdf_left_bg}
  327. <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>
  328. {/if}
  329. </td>
  330. <td style="width:28px;padding:0;border:0 !important;vertical-align:middle;text-align:center;height:28px;">
  331. {if $st.done}
  332. <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>
  333. {elseif $st.current /}
  334. <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>
  335. {else /}
  336. <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>
  337. {/if}
  338. </td>
  339. <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:28px;">
  340. {if $st.pdf_right_bg}
  341. <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>
  342. {/if}
  343. </td>
  344. </tr>
  345. </table>
  346. </td>
  347. </tr>
  348. <tr>
  349. <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>
  350. </tr>
  351. <tr>
  352. <td style="vertical-align:top;padding:2px 2px 0;height:44px;border:0 !important;font-size:11px;color:#888;line-height:1.3;text-align:center;overflow:hidden;">{$st.subtitle|default=''|htmlentities}</td>
  353. </tr>
  354. <tr>
  355. <td style="vertical-align:bottom;padding:2px 2px 0;border:0 !important;font-size:11px;color:#aaa;text-align:center;white-space:nowrap;">{$st.time|default=''|htmlentities}</td>
  356. </tr>
  357. </table>
  358. </td>
  359. {/volist}
  360. </tr>
  361. </table>
  362. </div>
  363. {else /}
  364. <div class="proc-steps-wrap">
  365. {volist name="steps" id="st"}
  366. <div class="proc-step-item{if $st.done} is-done{/if}{if $st.current} is-current{/if}">
  367. <div class="proc-step-circle">
  368. {if $st.done}
  369. <i class="fa fa-check"></i>
  370. {else /}
  371. <span>{$i}</span>
  372. {/if}
  373. </div>
  374. <div class="proc-step-title">{$st.title|htmlentities}</div>
  375. <div class="proc-step-sub">{$st.subtitle|default=''|htmlentities}</div>
  376. <div class="proc-step-time">{$st.time|default=''|htmlentities}</div>
  377. </div>
  378. {/volist}
  379. </div>
  380. {/notempty}
  381. <div class="section-title">操作记录</div>
  382. {notempty name="operLogs"}
  383. <ul class="procuremen-oper-log">
  384. {volist name="operLogs" id="lg"}
  385. <li>
  386. <span class="op-user">{$lg.admin_name|default=''|htmlentities}</span>
  387. <span class="op-time">{$lg.createtime_text|default=''|htmlentities}</span>
  388. <span class="op-text">{$lg.content|default=''|htmlentities}</span>
  389. </li>
  390. {/volist}
  391. </ul>
  392. {else /}
  393. <p class="procuremen-oper-log-empty text-muted">暂无操作记录</p>
  394. {/notempty}
  395. <div class="procuremen-order-info-block">
  396. <div class="procuremen-order-info-head">本单工序({$processCount|default='1'} 项)</div>
  397. <div class="details-process-table-wrap">
  398. <table class="table table-bordered table-condensed details-process-table">
  399. <thead>
  400. <tr>
  401. <th class="text-center" style="width:100px;">订单号</th>
  402. <th style="min-width:160px;">印件名称</th>
  403. <th style="width:88px;">工序名称</th>
  404. <th class="text-center" style="width:80px;">单位</th>
  405. <th class="text-center" style="width:88px;">本次数量</th>
  406. <th class="text-center" style="width:72px;">最高限价</th>
  407. <th class="text-center" style="width:80px;">订法</th>
  408. <th style="min-width:120px;">备注</th>
  409. </tr>
  410. </thead>
  411. <tbody>
  412. {notempty name="processDisplayRows"}
  413. {volist name="processDisplayRows" id="pr"}
  414. <tr>
  415. {if $pr.show_order_cells}
  416. <td class="text-center"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''|htmlentities}</td>
  417. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''|htmlentities}</td>
  418. {/if}
  419. <td>{$pr.CGYMC|default=''|htmlentities}</td>
  420. <td class="text-center">{$pr.CDW|default=''|htmlentities}</td>
  421. <td class="text-center">{$pr.This_quantity|default=''|htmlentities}</td>
  422. <td class="text-center">{$pr.ceilingPrice|default=''|htmlentities}</td>
  423. <td class="text-center">{$pr.CDF|default=''|htmlentities}</td>
  424. <td>{$pr.MBZ|default=''|htmlentities}</td>
  425. </tr>
  426. {/volist}
  427. {else /}
  428. <tr>
  429. <td colspan="8" class="text-center text-muted" style="padding:14px;">暂无工序数据</td>
  430. </tr>
  431. {/notempty}
  432. </tbody>
  433. </table>
  434. </div>
  435. </div>
  436. <div class="section-title">供应商</div>
  437. <div class="details-supplier-table-wrap table-responsive">
  438. <table class="table table-bordered table-condensed detail-mini detail-supplier-table">
  439. <thead>
  440. <tr>
  441. <th class="col-supplier-name">供应商名称</th>
  442. <th class="col-supplier-user" style="width:72px;">姓名</th>
  443. <th class="col-supplier-email" style="width:110px;">邮箱</th>
  444. <th class="col-supplier-phone" style="width:120px;">手机号</th>
  445. <th style="width:120px;">工序名称</th>
  446. <th class="text-center col-unit-price" style="width:112px;">单价</th>
  447. <th class="text-center" style="width:100px;">交货日期</th>
  448. <th class="text-center" style="width:88px;">小计</th>
  449. <th class="text-center" style="width:88px;">状态</th>
  450. <th class="col-op-time" style="width:148px;">操作时间</th>
  451. </tr>
  452. </thead>
  453. <tbody>
  454. {notempty name="supplierQuoteGroups"}
  455. {volist name="supplierQuoteGroups" id="sg"}
  456. {volist name="sg.lines" id="ln" key="lk"}
  457. <tr{if !empty($sg.is_void)} class="text-muted"{/if}>
  458. {if $lk == 1}
  459. <td class="col-supplier-name"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;">
  460. {$sg.company_name|default=''|htmlentities}
  461. </td>
  462. <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>
  463. <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>
  464. <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>
  465. {/if}
  466. <td>{$ln.cgymc|default=''|htmlentities}</td>
  467. <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>
  468. <td class="text-center{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>
  469. <td class="text-center{if condition="!empty($ln.amount_quote_pending)"} detail-quote-pending{/if}">{$ln.subtotal_text|default=''|htmlentities}</td>
  470. <td class="text-center">
  471. {if !empty($ln.is_void)}
  472. <span class="label label-default">历史</span>
  473. {elseif !empty($showSupplierBidResult) && !empty($ln.is_picked) /}
  474. <span class="label label-success">中标</span>
  475. {elseif !empty($showSupplierBidResult) /}
  476. <span class="label label-danger">未中标</span>
  477. {else /}
  478. <span class="text-muted"> </span>
  479. {/if}
  480. </td>
  481. <td class="col-op-time">{$ln.oper_time_text|default=''|htmlentities}</td>
  482. </tr>
  483. {/volist}
  484. {if !empty($sg.has_remark)}
  485. <tr class="detail-supplier-remark-row{if !empty($sg.is_void)} text-muted{/if}">
  486. <td class="detail-remark-label"><strong>备注</strong></td>
  487. <td class="detail-remark-text{if !empty($sg.remark_quote_pending)} detail-quote-pending{/if}" colspan="5">{$sg.remark|default=''|htmlentities}</td>
  488. </tr>
  489. {/if}
  490. {if !empty($sg.has_total)}
  491. <tr class="active">
  492. <td><strong>总计</strong></td>
  493. <td></td>
  494. <td></td>
  495. <td class="text-center"><strong>{$sg.total_text|default=''|htmlentities}</strong></td>
  496. <td colspan="2"></td>
  497. </tr>
  498. {/if}
  499. {/volist}
  500. {else /}
  501. {notempty name="detailRows"}
  502. {volist name="detailRows" id="dr"}
  503. <tr>
  504. <td class="col-supplier-name">{$dr.company_name|default=''|htmlentities}</td>
  505. <td class="col-supplier-user">{$dr.username|default=''|htmlentities}</td>
  506. <td class="col-supplier-email">{:htmlentities(mask_email(isset($dr['email']) ? $dr['email'] : ''))}</td>
  507. <td class="col-supplier-phone">{:htmlentities(mask_phone(isset($dr['phone']) ? $dr['phone'] : ''))}</td>
  508. <td></td>
  509. <td class="text-center col-unit-price">
  510. {if condition="$dr.amount !== '' && $dr.amount !== null && $dr.amount !== '0' && $dr.amount !== '0.00'"}
  511. {$dr.amount|htmlentities}
  512. {else /}
  513. <span class="detail-quote-empty">未填写</span>
  514. {/if}
  515. </td>
  516. <td class="text-center">
  517. {if condition="$dr.delivery_ymd !== '' && $dr.delivery_ymd !== null"}
  518. {$dr.delivery_ymd|htmlentities}
  519. {else /}
  520. <span class="detail-quote-empty">未填写</span>
  521. {/if}
  522. </td>
  523. <td class="text-center"></td>
  524. <td class="text-center">
  525. {if isset($dr.is_void) && $dr.is_void}
  526. <span class="label label-default">历史下发</span>
  527. {elseif !empty($showSupplierBidResult) && !empty($dr.is_picked) /}
  528. <span class="label label-success">中标</span>
  529. {elseif !empty($showSupplierBidResult) /}
  530. <span class="label label-danger">未中标</span>
  531. {else /}
  532. <span class="text-muted"> </span>
  533. {/if}
  534. </td>
  535. <td class="col-op-time">{$dr.oper_time_text|default=''|htmlentities}</td>
  536. </tr>
  537. {/volist}
  538. {else /}
  539. <tr>
  540. <td colspan="10" class="text-center text-muted">暂无下发明细</td>
  541. </tr>
  542. {/notempty}
  543. {/notempty}
  544. </tbody>
  545. </table>
  546. </div>
  547. </div>