| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644 |
- <style>
- html.procuremen-details-dialog,
- html.procuremen-details-dialog body.procuremen-details-dialog {
- height: auto !important;
- min-height: 0 !important;
- margin: 0;
- overflow-x: hidden;
- overflow-y: auto;
- -webkit-overflow-scrolling: touch;
- background: #fff;
- }
- body.is-dialog .procuremen-details-wrap {
- margin: 0;
- padding: 12px 14px 28px;
- }
- .procuremen-details-wrap .section-title {
- font-size: 14px;
- font-weight: 600;
- margin: 18px 0 10px;
- color: #333;
- padding-bottom: 6px;
- border-bottom: 1px solid #eee;
- }
- .proc-steps-wrap {
- display: flex;
- flex-wrap: nowrap;
- justify-content: space-between;
- align-items: stretch;
- padding: 8px 4px 4px;
- overflow-x: auto;
- -webkit-overflow-scrolling: touch;
- }
- .proc-step-item {
- flex: 1 1 0;
- min-width: 100px;
- text-align: center;
- position: relative;
- padding: 0 4px;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .proc-step-item:not(:last-child)::after {
- content: '';
- position: absolute;
- top: 14px;
- left: 50%;
- width: 100%;
- height: 2px;
- background: #e0e0e0;
- z-index: 0;
- }
- .proc-step-item.is-done:not(:last-child)::after {
- background: #1890ff;
- }
- .proc-step-circle {
- width: 28px;
- height: 28px;
- line-height: 28px;
- border-radius: 50%;
- margin: 0 auto 6px;
- font-size: 13px;
- font-weight: 600;
- position: relative;
- z-index: 1;
- background: #f5f5f5;
- color: #999;
- border: 2px solid #ddd;
- flex: 0 0 auto;
- }
- .proc-step-item.is-done .proc-step-circle {
- background: #1890ff;
- border-color: #1890ff;
- color: #fff;
- }
- .proc-step-item.is-current .proc-step-circle {
- background: #1890ff;
- border-color: #1890ff;
- color: #fff;
- box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.25);
- }
- .proc-step-item.is-done .proc-step-circle .fa {
- line-height: 24px;
- }
- .proc-step-title {
- font-size: 12px;
- color: #333;
- line-height: 1.35;
- margin-bottom: 2px;
- flex: 0 0 auto;
- }
- .proc-step-sub {
- font-size: 11px;
- color: #888;
- line-height: 1.45;
- min-height: 3.2em;
- flex: 1 1 auto;
- white-space: pre-line;
- word-break: break-word;
- text-align: left;
- width: 100%;
- max-width: 100%;
- box-sizing: border-box;
- }
- .proc-step-time {
- font-size: 11px;
- color: #aaa;
- margin-top: auto;
- padding-top: 6px;
- white-space: pre-line;
- line-height: 1.35;
- text-align: left;
- width: 100%;
- max-width: 100%;
- box-sizing: border-box;
- min-height: 2.7em;
- flex: 0 0 auto;
- }
- .procuremen-details-wrap .procuremen-order-info-block {
- border: 1px solid #ddd;
- margin-top: 18px;
- margin-bottom: 0;
- }
- .procuremen-details-wrap .procuremen-order-info-head {
- background: #f0f0f0;
- border-bottom: 1px solid #ddd;
- padding: 10px 12px;
- font-size: 14px;
- font-weight: 700;
- color: #222;
- margin: 0;
- }
- .procuremen-details-wrap .procuremen-order-grid {
- width: 100%;
- border-collapse: collapse;
- table-layout: fixed;
- font-size: 13px;
- margin: 0;
- background: #fff;
- border: none;
- }
- .procuremen-details-wrap .procuremen-order-grid td {
- border: 1px solid #ddd;
- padding: 10px 12px;
- vertical-align: middle;
- }
- .procuremen-details-wrap .procuremen-order-grid .og-label {
- width: 14%;
- background: #f5f5f5;
- color: #333;
- text-align: right;
- font-weight: normal;
- }
- .procuremen-details-wrap .procuremen-order-grid .og-value {
- width: 36%;
- background: #fff;
- color: #000;
- text-align: left;
- font-weight: 700;
- word-break: break-word;
- }
- .procuremen-details-wrap .details-process-table-wrap {
- overflow-x: auto;
- -webkit-overflow-scrolling: touch;
- }
- .procuremen-details-wrap .details-process-table {
- margin: 0;
- font-size: 12px;
- table-layout: fixed;
- width: 100%;
- min-width: 880px;
- border-collapse: collapse;
- }
- .procuremen-details-wrap .details-process-table th {
- background: #f5f5f5;
- white-space: nowrap;
- font-weight: 600;
- padding: 8px 10px;
- vertical-align: middle;
- border: 1px solid #ddd !important;
- }
- .procuremen-details-wrap .details-process-table td {
- padding: 8px 10px;
- vertical-align: middle;
- word-wrap: break-word;
- border: 1px solid #ddd !important;
- }
- .procuremen-details-wrap .details-process-table th.col-order-no,
- .procuremen-details-wrap .details-process-table td.col-order-no {
- width: 150px;
- white-space: nowrap;
- word-wrap: normal;
- word-break: keep-all;
- }
- .procuremen-details-wrap .details-process-table th.text-center,
- .procuremen-details-wrap .details-process-table td.text-center {
- text-align: center;
- }
- .procuremen-details-wrap .procuremen-oper-log {
- list-style: none;
- margin: 0 0 8px;
- padding: 0;
- font-size: 13px;
- line-height: 1.65;
- border: 1px solid #e8e8e8;
- border-radius: 4px;
- background: #fafafa;
- /* 记录多时全部展开,由详情弹窗整体滚动 */
- max-height: none;
- overflow: visible;
- }
- .procuremen-details-wrap .procuremen-oper-log li {
- padding: 8px 12px;
- border-bottom: 1px solid #eee;
- word-break: break-word;
- }
- .procuremen-details-wrap .procuremen-oper-log li:last-child {
- border-bottom: none;
- }
- .procuremen-details-wrap .procuremen-oper-log .op-user {
- font-weight: 700;
- color: #000;
- }
- .procuremen-details-wrap .procuremen-oper-log .op-time {
- color: #666;
- margin: 0 6px;
- }
- .procuremen-details-wrap .procuremen-oper-log .op-text {
- color: #333;
- }
- .procuremen-details-wrap .procuremen-oper-log-empty {
- font-size: 13px;
- color: #999;
- padding: 10px 12px;
- border: 1px dashed #ddd;
- border-radius: 4px;
- margin-bottom: 8px;
- }
- .procuremen-details-wrap .detail-mini {
- font-size: 12px;
- border-collapse: collapse;
- }
- .procuremen-details-wrap .detail-mini th,
- .procuremen-details-wrap .detail-mini td {
- padding: 6px 8px;
- vertical-align: middle;
- border: 1px solid #ddd !important;
- }
- .procuremen-details-wrap .detail-mini thead th {
- background: #f5f5f5;
- font-weight: 600;
- white-space: nowrap;
- }
- .procuremen-details-wrap .detail-supplier-table {
- /* 固定表宽,避免 width:100% + table-layout:fixed 把名称列挤成竖排字 */
- table-layout: fixed;
- width: 1620px;
- min-width: 1620px;
- max-width: none;
- border-collapse: collapse;
- }
- .procuremen-details-wrap .detail-supplier-table.has-lead-score {
- width: 1620px;
- min-width: 1620px;
- }
- .procuremen-details-wrap .detail-supplier-table th.col-supplier-name,
- .procuremen-details-wrap .detail-supplier-table td.col-supplier-name {
- width: 180px;
- min-width: 180px;
- word-break: normal;
- overflow-wrap: break-word;
- white-space: normal;
- line-height: 1.4;
- }
- .procuremen-details-wrap .detail-supplier-table th.col-supplier-email,
- .procuremen-details-wrap .detail-supplier-table td.col-supplier-email {
- width: 86px;
- min-width: 86px;
- max-width: 86px;
- word-break: break-all;
- white-space: normal;
- line-height: 1.35;
- font-size: 12px;
- }
- .procuremen-details-wrap .detail-supplier-table th.col-supplier-user,
- .procuremen-details-wrap .detail-supplier-table td.col-supplier-user {
- width: 72px;
- }
- .procuremen-details-wrap .detail-supplier-table th.col-supplier-phone,
- .procuremen-details-wrap .detail-supplier-table td.col-supplier-phone {
- width: 98px;
- min-width: 98px;
- max-width: 98px;
- word-break: break-all;
- white-space: nowrap;
- font-size: 12px;
- }
- .procuremen-details-wrap .detail-supplier-table th.col-unit-price,
- .procuremen-details-wrap .detail-supplier-table td.col-unit-price {
- width: 90px;
- white-space: nowrap;
- }
- .procuremen-details-wrap .detail-supplier-table th.col-lead-days,
- .procuremen-details-wrap .detail-supplier-table td.col-lead-days {
- width: 90px;
- white-space: nowrap;
- }
- .procuremen-details-wrap .detail-supplier-table th.col-delivery,
- .procuremen-details-wrap .detail-supplier-table td.col-delivery {
- width: 110px;
- white-space: nowrap;
- }
- .procuremen-details-wrap .detail-supplier-table th.col-subtotal,
- .procuremen-details-wrap .detail-supplier-table td.col-subtotal {
- width: 90px;
- white-space: nowrap;
- }
- .procuremen-details-wrap .detail-supplier-table th.col-op-time,
- .procuremen-details-wrap .detail-supplier-table td.col-op-time {
- width: 150px;
- white-space: nowrap;
- }
- .procuremen-details-wrap .detail-supplier-table > thead > tr > th,
- .procuremen-details-wrap .detail-supplier-table > tbody > tr > td {
- border: 1px solid #ddd !important;
- }
- .procuremen-details-wrap .details-supplier-table-wrap {
- overflow-x: auto;
- overflow-y: visible;
- -webkit-overflow-scrolling: touch;
- margin-bottom: 4px;
- }
- .procuremen-details-wrap .detail-supplier-table td.detail-quote-empty,
- .procuremen-details-wrap .detail-supplier-table td.detail-quote-pending {
- color: #e67e22 !important;
- white-space: nowrap;
- }
- .procuremen-details-wrap .detail-supplier-remark-row td {
- background: #f5f5f5;
- vertical-align: middle;
- font-size: inherit;
- color: #333;
- }
- .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-label {
- white-space: nowrap;
- font-weight: 700;
- }
- .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-text {
- text-align: left;
- word-break: break-all;
- line-height: 1.45;
- }
- .procuremen-details-wrap .detail-supplier-remark-row .detail-remark-text.detail-quote-pending {
- color: #e67e22 !important;
- }
- html.procuremen-details-dialog .procuremen-details-wrap .proc-step-item .proc-step-time:empty {
- display: none;
- margin: 0;
- min-height: 0;
- }
- </style>
- <div class="panel panel-default panel-intro procuremen-details-wrap{if !empty($pdf_export)} procuremen-pdf-inner{/if}" style="border:0;box-shadow:none;">
- {notempty name="pdf_export"}
- <div class="page-head">
- {notempty name="ccydh"}
- <table class="proc-pdf-order-no" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0;padding:0;">
- <tr>
- <td style="font-size:15px;font-weight:700;color:#000;padding:0 8px 0 0;vertical-align:baseline;white-space:nowrap;">订单号</td>
- <td style="font-size:15px;font-weight:700;color:#000;vertical-align:baseline;word-break:break-all;">{$ccydh|htmlentities}</td>
- </tr>
- </table>
- {/notempty}
- </div>
- {/notempty}
- <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>
- {notempty name="pdf_export"}
- <div class="proc-pdf-steps-outer" style="overflow:hidden;margin:0;padding:0;">
- <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;">
- <tr>
- {volist name="steps" id="st"}
- <td style="vertical-align:top;text-align:center;padding:4px 1px 0;border:0 !important;width:16.666%;">
- <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;height:152px;margin:0 auto;">
- <tr>
- <td style="vertical-align:top;padding:0;border:0 !important;">
- <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse;margin:0 auto 4px;">
- <tr style="height:28px;">
- <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:28px;">
- {if $st.pdf_left_bg}
- <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};"> </td></tr></table>
- {/if}
- </td>
- <td style="width:28px;padding:0;border:0 !important;vertical-align:middle;text-align:center;height:28px;">
- {if $st.done}
- <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;">✓</span>
- {elseif $st.current /}
- <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>
- {else /}
- <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>
- {/if}
- </td>
- <td style="width:50%;padding:0;border:0 !important;vertical-align:middle;height:28px;">
- {if $st.pdf_right_bg}
- <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};"> </td></tr></table>
- {/if}
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <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>
- </tr>
- <tr>
- <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>
- </tr>
- <tr>
- <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>
- </tr>
- </table>
- </td>
- {/volist}
- </tr>
- </table>
- </div>
- {else /}
- <div class="proc-steps-wrap">
- {volist name="steps" id="st"}
- <div class="proc-step-item{if $st.done} is-done{/if}{if $st.current} is-current{/if}">
- <div class="proc-step-circle">
- {if $st.done}
- <i class="fa fa-check"></i>
- {else /}
- <span>{$i}</span>
- {/if}
- </div>
- <div class="proc-step-title">{$st.title|htmlentities}</div>
- <div class="proc-step-sub">{$st.subtitle|default=''|htmlentities}</div>
- <div class="proc-step-time">{$st.time|default=''|htmlentities}</div>
- </div>
- {/volist}
- </div>
- {/notempty}
- <div class="section-title">操作记录</div>
- {notempty name="operLogs"}
- <ul class="procuremen-oper-log">
- {volist name="operLogs" id="lg"}
- <li>
- <span class="op-user">{$lg.admin_name|default=''|htmlentities}</span>
- <span class="op-time">{$lg.createtime_text|default=''|htmlentities}</span>
- <span class="op-text">{$lg.content|default=''|htmlentities}</span>
- </li>
- {/volist}
- </ul>
- {else /}
- <p class="procuremen-oper-log-empty text-muted">暂无操作记录</p>
- {/notempty}
- <div class="procuremen-order-info-block">
- <div class="procuremen-order-info-head">本单工序({$processCount|default='1'} 项)</div>
- <div class="details-process-table-wrap">
- <table class="table table-bordered table-condensed details-process-table">
- <thead>
- <tr>
- <th class="text-center col-order-no">订单号</th>
- <th style="min-width:160px;">印件名称</th>
- <th style="width:88px;">工序名称</th>
- <th class="text-center" style="width:80px;">单位</th>
- <th class="text-center" style="width:88px;">本次数量</th>
- <th class="text-center" style="width:72px;">最高限价</th>
- <th class="text-center" style="width:80px;">订法</th>
- <th style="min-width:120px;">备注</th>
- </tr>
- </thead>
- <tbody>
- {notempty name="processDisplayRows"}
- {volist name="processDisplayRows" id="pr"}
- <tr>
- {if $pr.show_order_cells}
- <td class="text-center col-order-no"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''|htmlentities}</td>
- <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''|htmlentities}</td>
- {/if}
- <td>{$pr.CGYMC|default=''|htmlentities}</td>
- <td class="text-center">{$pr.CDW|default=''|htmlentities}</td>
- <td class="text-center">{$pr.This_quantity|default=''|htmlentities}</td>
- <td class="text-center">{$pr.ceilingPrice|default=''|htmlentities}</td>
- <td class="text-center">{$pr.CDF|default=''|htmlentities}</td>
- <td>{$pr.MBZ|default=''|htmlentities}</td>
- </tr>
- {/volist}
- {else /}
- <tr>
- <td colspan="8" class="text-center text-muted" style="padding:14px;">暂无工序数据</td>
- </tr>
- {/notempty}
- </tbody>
- </table>
- </div>
- </div>
- <div class="section-title">供应商</div>
- {notempty name="supplierScoreRuleText"}
- <p class="text-muted" style="margin:-4px 0 8px;font-size:12px;line-height:1.5;">
- <i class="fa fa-info-circle"></i>
- <strong>评分规则:</strong>{$supplierScoreRuleText|htmlentities}
- <span class="text-muted">(开标后可见)</span>
- </p>
- {/notempty}
- <div class="details-supplier-table-wrap table-responsive">
- <table class="table table-bordered table-condensed detail-mini detail-supplier-table{if !empty($showServiceLeadScore)} has-lead-score{/if}">
- <thead>
- <tr>
- <th class="col-supplier-name">供应商名称</th>
- <th class="col-supplier-user">姓名</th>
- <th class="col-supplier-email">邮箱</th>
- <th class="col-supplier-phone">手机号</th>
- <th class="text-center" style="width:56px;">排名</th>
- <th class="text-center" style="width:88px;">商务/技术得分</th>
- <th class="text-center" style="width:80px;" title="价格得分=(最低单价合计/本供应商单价合计)×价格权重%×100">价格得分</th>
- <th class="text-center" style="width:72px;">总分</th>
- <th style="width:100px;">工序名称</th>
- <th class="text-center col-unit-price">单价</th>
- <th class="text-center col-lead-days">预估工期</th>
- <th class="text-center col-delivery">交货日期</th>
- <th class="text-center col-subtotal">小计</th>
- <th class="text-center" style="width:72px;">状态</th>
- <th class="col-op-time">操作时间</th>
- </tr>
- </thead>
- <tbody>
- {notempty name="supplierQuoteGroups"}
- {volist name="supplierQuoteGroups" id="sg"}
- {volist name="sg.lines" id="ln" key="lk"}
- <tr{if !empty($sg.is_void)} class="text-muted"{/if}>
- {if $lk == 1}
- <td class="col-supplier-name"{if condition="$sg.display_rowspan gt 1"} rowspan="{$sg.display_rowspan}"{/if} style="vertical-align:middle;">
- {$sg.company_name|default=''|htmlentities}
- </td>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- <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>
- {/if}
- <td>{$ln.cgymc|default=''|htmlentities}</td>
- <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>
- <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>
- <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>
- <td class="text-center col-subtotal{if condition="!empty($ln.amount_quote_pending)"} detail-quote-pending{/if}">{$ln.subtotal_text|default=''|htmlentities}</td>
- <td class="text-center">
- {if !empty($ln.is_void)}
- <span class="label label-default">历史</span>
- {elseif !empty($showSupplierBidResult) && !empty($ln.is_picked) /}
- <span class="label label-success">中标</span>
- {elseif !empty($showSupplierBidResult) /}
- <span class="label label-danger">未中标</span>
- {else /}
- <span class="text-muted"> </span>
- {/if}
- </td>
- <td class="col-op-time{if condition="!empty($ln.oper_time_quote_pending)"} detail-quote-pending{/if}">{$ln.oper_time_text|default=''|htmlentities}</td>
- </tr>
- {/volist}
- {if !empty($sg.has_remark)}
- <tr class="detail-supplier-remark-row{if !empty($sg.is_void)} text-muted{/if}">
- <td class="detail-remark-label"><strong>备注</strong></td>
- <td class="detail-remark-text{if !empty($sg.remark_quote_pending)} detail-quote-pending{/if}" colspan="6">{$sg.remark|default=''|htmlentities}</td>
- </tr>
- {/if}
- {if !empty($sg.has_total)}
- <tr class="active detail-supplier-total-row">
- <td><strong>总计</strong></td>
- <td></td>
- <td></td>
- <td></td>
- <td class="text-center col-subtotal"><strong>{$sg.total_text|default=''|htmlentities}</strong></td>
- <td></td>
- <td></td>
- </tr>
- {/if}
- {/volist}
- {else /}
- {notempty name="detailRows"}
- {volist name="detailRows" id="dr"}
- <tr>
- <td class="col-supplier-name">{$dr.company_name|default=''|htmlentities}</td>
- <td class="col-supplier-user">{$dr.username|default=''|htmlentities}</td>
- <td class="col-supplier-email">{:htmlentities(mask_email(isset($dr['email']) ? $dr['email'] : ''))}</td>
- <td class="col-supplier-phone">{:htmlentities(mask_phone(isset($dr['phone']) ? $dr['phone'] : ''))}</td>
- <td class="text-center"></td>
- <td class="text-center"></td>
- <td class="text-center"></td>
- <td class="text-center"></td>
- <td></td>
- <td class="text-center col-unit-price">
- {if condition="$dr.amount !== '' && $dr.amount !== null && $dr.amount !== '0' && $dr.amount !== '0.00'"}
- {$dr.amount|htmlentities}
- {else /}
- <span class="detail-quote-empty">未填写</span>
- {/if}
- </td>
- <td class="text-center col-lead-days">
- {if condition="isset($dr.lead_days) && $dr.lead_days !== '' && $dr.lead_days !== null"}
- {$dr.lead_days|htmlentities}天
- {else /}
- <span class="detail-quote-empty">未填写</span>
- {/if}
- </td>
- <td class="text-center col-delivery">
- {if condition="$dr.delivery_ymd !== '' && $dr.delivery_ymd !== null"}
- {$dr.delivery_ymd|htmlentities}
- {else /}
- <span class="detail-quote-empty">未填写</span>
- {/if}
- </td>
- <td class="text-center col-subtotal"></td>
- <td class="text-center">
- {if isset($dr.is_void) && $dr.is_void}
- <span class="label label-default">历史下发</span>
- {elseif !empty($showSupplierBidResult) && !empty($dr.is_picked) /}
- <span class="label label-success">中标</span>
- {elseif !empty($showSupplierBidResult) /}
- <span class="label label-danger">未中标</span>
- {else /}
- <span class="text-muted"> </span>
- {/if}
- </td>
- <td class="col-op-time{if condition="!empty($dr.oper_time_quote_pending)"} detail-quote-pending{/if}">{$dr.oper_time_text|default=''|htmlentities}</td>
- </tr>
- {/volist}
- {else /}
- <tr>
- <td colspan="15" class="text-center text-muted">暂无下发明细</td>
- </tr>
- {/notempty}
- {/notempty}
- </tbody>
- </table>
- </div>
- </div>
|