| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490 |
- <style>
- /*
- * 上:订单信息(订单号、印件名称突出);下:左侧分类 + 右侧搜索与公司表格。
- */
- body.is-dialog #main,
- body.is-dialog #main > .tab-content,
- body.is-dialog #main #content {
- height: 100%;
- min-height: 0;
- }
- body.is-dialog #content > .row,
- body.is-dialog #content > .row > [class*="col-"] {
- height: 100%;
- min-height: 0;
- }
- body.is-dialog .content {
- height: 100%;
- min-height: 0;
- box-sizing: border-box;
- }
- body.is-dialog .review-dialog-form,
- .review-dialog-form {
- display: flex;
- flex-direction: column;
- height: 100%;
- max-height: 100%;
- min-height: min(72vh, 640px);
- box-sizing: border-box;
- padding: 8px 12px 0;
- }
- .review-split {
- display: flex;
- flex-direction: column;
- align-items: stretch;
- flex-wrap: nowrap;
- gap: 10px;
- flex: 1 1 0%;
- min-height: 0;
- overflow: hidden;
- }
- .review-split-left {
- flex: 0 0 auto;
- width: 100%;
- min-width: 0;
- padding-bottom: 10px;
- border-bottom: 1px solid #e5e5e5;
- overflow-x: hidden;
- }
- .review-split-right {
- flex: 1 1 0%;
- width: 100%;
- min-width: 0;
- min-height: 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .review-split-left .review-block-title {
- margin: 0 0 8px;
- font-weight: 600;
- font-size: 13px;
- color: #000;
- }
- /* 订单号、印件名称:标签与数值同字号;标题黑色,数值样式不变 */
- .review-order-highlight {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- align-items: baseline;
- gap: 6px 22px;
- margin-bottom: 8px;
- font-size: 15px;
- line-height: 1.5;
- }
- .review-order-highlight .review-highlight-item {
- display: flex;
- flex-direction: row;
- align-items: baseline;
- gap: 6px;
- min-width: 0;
- }
- .review-order-highlight .review-field-label {
- flex-shrink: 0;
- margin: 0;
- font-weight: 600;
- font-size: 15px;
- color: #000;
- }
- .review-order-highlight .review-highlight-value {
- margin: 0;
- color: #333;
- font-size: 15px;
- font-weight: 700;
- word-break: break-word;
- }
- /* 工序名称等:标题黑色;标签与内容同 13px */
- .review-order-meta {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- align-items: baseline;
- gap: 6px 22px;
- font-size: 13px;
- line-height: 1.5;
- }
- .review-order-meta .review-meta-item {
- display: flex;
- flex-direction: row;
- align-items: baseline;
- gap: 6px;
- min-width: 0;
- }
- .review-order-meta .review-field-label {
- flex-shrink: 0;
- margin: 0;
- font-weight: 600;
- font-size: 13px;
- color: #000;
- }
- .review-order-meta .review-meta-inline {
- margin: 0;
- color: #333;
- font-size: 13px;
- word-break: break-word;
- }
- .review-split-right .review-right-title {
- flex-shrink: 0;
- margin: 0 0 6px;
- font-weight: 600;
- font-size: 13px;
- color: #000;
- }
- .review-split-right .review-notice {
- flex-shrink: 0;
- display: block;
- margin: 0 0 8px;
- padding: 6px 8px;
- font-size: 12px;
- line-height: 1.5;
- color: #777;
- background: #f4f8fb;
- border: 1px solid #dce8f2;
- border-radius: 3px;
- }
- .review-split-right .review-notice .fa {
- margin-right: 4px;
- color: #3c8dbc;
- }
- /* 左侧分类 + 右侧列表 */
- .review-company-panel {
- flex: 1 1 0%;
- min-height: 0;
- display: flex;
- flex-direction: row;
- align-items: stretch;
- gap: 0;
- border: 1px solid #ddd;
- border-radius: 3px;
- background: #fff;
- overflow: hidden;
- }
- .review-category-sidebar {
- flex: 0 0 210px;
- width: 210px;
- min-width: 210px;
- max-width: 210px;
- border-right: 1px solid #e0e0e0;
- background: #f9fafb;
- overflow-y: auto;
- overflow-x: hidden;
- font-size: 12px;
- }
- .review-category-sidebar .review-cat-head {
- padding: 8px 10px;
- font-weight: 600;
- color: #000;
- border-bottom: 1px solid #e5e5e5;
- background: #f0f2f5;
- }
- .review-category-sidebar .review-cat-item {
- display: block;
- padding: 8px 10px;
- color: #333;
- text-decoration: none;
- border-bottom: 1px solid #eee;
- cursor: pointer;
- white-space: normal;
- word-break: break-word;
- overflow: visible;
- line-height: 1.45;
- }
- .review-category-sidebar .review-cat-item:hover {
- background: #eef6fb;
- color: #2c6f9c;
- }
- .review-category-sidebar .review-cat-item.active {
- background: #3c8dbc;
- color: #fff;
- font-weight: 600;
- }
- .review-category-sidebar .review-cat-item .review-cat-count {
- opacity: 0.85;
- font-weight: normal;
- font-size: 11px;
- }
- .review-category-sidebar .review-cat-item.active .review-cat-count {
- opacity: 0.95;
- }
- .review-company-main {
- flex: 1 1 0%;
- min-width: 0;
- min-height: 0;
- display: flex;
- flex-direction: column;
- overflow: hidden;
- }
- .review-company-toolbar {
- flex-shrink: 0;
- padding: 8px;
- border-bottom: 1px solid #eee;
- background: #fafafa;
- }
- .review-company-toolbar .form-control {
- font-size: 13px;
- height: 34px;
- }
- .review-table-scroll {
- flex: 1 1 0%;
- min-height: 0;
- box-sizing: border-box;
- width: 100%;
- overflow: auto;
- font-size: 12px;
- border: none;
- border-radius: 0;
- }
- .review-table-scroll .table-responsive {
- margin-bottom: 0;
- }
- .review-table-scroll table {
- margin-bottom: 0;
- }
- .review-table-scroll .table > thead > tr > th,
- .review-table-scroll .table > tbody > tr > td {
- padding: 5px 6px;
- }
- .review-company-table {
- table-layout: fixed;
- width: 100%;
- }
- /* 姓名、邮箱列收窄(colgroup 为主,此处补 max-width 防撑开) */
- .review-company-table > thead > tr > th:nth-child(3),
- .review-company-table > tbody > tr > td:nth-child(3) {
- max-width: 88px;
- }
- .review-company-table > thead > tr > th:nth-child(4),
- .review-company-table > tbody > tr > td:nth-child(4) {
- max-width: 200px;
- }
- .review-company-table > thead > tr > th.review-th-cb,
- .review-company-table > tbody > tr > td.review-td-cb {
- width: 34px;
- min-width: 34px;
- max-width: 34px;
- text-align: center;
- vertical-align: middle !important;
- padding-left: 2px;
- padding-right: 2px;
- }
- .review-company-table .review-th-cb input[type="checkbox"],
- .review-company-table .review-td-cb input[type="checkbox"] {
- margin: 0;
- vertical-align: middle;
- position: relative;
- top: 1px;
- }
- /* 单元格完整展示,不换行省略号 */
- .review-company-table > tbody > tr > td:not(.review-td-cb) {
- white-space: normal;
- word-wrap: break-word;
- word-break: break-word;
- overflow: visible;
- vertical-align: top;
- }
- .review-company-table > thead > tr > th:not(.review-th-cb) {
- white-space: normal;
- word-break: break-word;
- vertical-align: middle;
- }
- .review-company-empty {
- padding: 24px 12px;
- text-align: center;
- color: #999;
- font-size: 13px;
- }
- .review-dialog-form .layer-footer {
- flex-shrink: 0;
- width: 100%;
- box-sizing: border-box;
- margin-top: 12px;
- padding: 10px 14px 10px 0;
- border-top: 1px solid #e5e5e5;
- background: #fafafa;
- text-align: right !important;
- }
- .review-dialog-form .layer-footer .pull-right {
- padding-right: 4px;
- }
- .review-dialog-form .layer-footer .btn + .btn {
- margin-left: 8px;
- }
- /* 已选单位:介于订单信息与下方提示之间,筛选滚动时仍可看到 */
- .review-selected-summary {
- flex-shrink: 0;
- margin: 0 0 10px;
- padding: 8px 10px;
- background: #fafbfc;
- border: 1px solid #e3e8ee;
- border-radius: 3px;
- font-size: 12px;
- line-height: 1.45;
- }
- .review-selected-summary .review-selected-head {
- margin: 0 0 6px;
- font-weight: 600;
- color: #333;
- }
- .review-selected-summary .review-selected-count {
- font-weight: 700;
- color: #3c8dbc;
- }
- .review-selected-summary .review-selected-empty {
- margin: 0;
- color: #999;
- font-size: 12px;
- }
- .review-selected-summary .review-selected-tags {
- display: flex;
- flex-wrap: wrap;
- gap: 6px 8px;
- align-items: flex-start;
- max-height: 104px;
- overflow-y: auto;
- margin: 0;
- }
- .review-selected-summary .review-selected-chip {
- display: inline-flex;
- align-items: flex-start;
- max-width: 100%;
- padding: 2px 4px 2px 8px;
- gap: 2px;
- font-size: 12px;
- color: #2c6f9c;
- background: #e8f4fb;
- border: 1px solid #c5dce8;
- border-radius: 2px;
- box-sizing: border-box;
- }
- .review-selected-summary .review-chip-text {
- flex: 1 1 auto;
- min-width: 0;
- word-break: break-all;
- line-height: 1.35;
- padding-top: 1px;
- }
- .review-selected-summary .review-chip-remove {
- flex: 0 0 auto;
- margin: 0;
- padding: 0 2px;
- border: none;
- background: transparent;
- color: #c9302c;
- font-size: 15px;
- font-weight: 700;
- line-height: 1.1;
- cursor: pointer;
- vertical-align: middle;
- }
- .review-selected-summary .review-chip-remove:hover,
- .review-selected-summary .review-chip-remove:focus {
- color: #a94442;
- outline: none;
- }
- </style>
- <form id="review-form" class="review-dialog-form" role="form" data-toggle="validator" method="post" action="">
- {:token()}
- <textarea class="hide" name="row_json" id="c-row-json" rows="1" cols="1"></textarea>
- <div class="review-split">
- <div class="review-split-left">
- <div class="review-order-highlight">
- <div class="review-highlight-item">
- <span class="review-field-label">订单号:</span>
- <span class="review-highlight-value" id="review-ccydh"></span>
- </div>
- <div class="review-highlight-item">
- <span class="review-field-label">印件名称:</span>
- <span class="review-highlight-value" id="review-cyjmc"></span>
- </div>
- </div>
- <div class="review-order-meta">
- <div class="review-meta-item">
- <span class="review-field-label">工序名称:</span>
- <span class="review-meta-inline" id="review-CGYMC"></span>
- </div>
- <div class="review-meta-item">
- <span class="review-field-label">单位:</span>
- <span class="review-meta-inline" id="review-CDW"></span>
- </div>
- <div class="review-meta-item">
- <span class="review-field-label">工作量:</span>
- <span class="review-meta-inline" id="review-NGZL"></span>
- </div>
- <div class="review-meta-item">
- <span class="review-field-label">本次数量:</span>
- <span class="review-meta-inline" id="review-qty-display">—</span>
- </div>
- <div class="review-meta-item">
- <span class="review-field-label">最高限价:</span>
- <span class="review-meta-inline" id="review-price-display">—</span>
- </div>
- <div class="review-meta-item">
- <span class="review-field-label">订法:</span>
- <span class="review-meta-inline" id="review-CDF"></span>
- </div>
- <div class="review-meta-item">
- <span class="review-field-label">外厂单位:</span>
- <span class="review-meta-inline" id="review-cGzzxMc"></span>
- </div>
- </div>
- </div>
- <div class="review-selected-summary" id="review-selected-summary" aria-live="polite">
- <div class="review-selected-head">
- 已选单位(<span class="review-selected-count" id="review-selected-count">0</span>)
- </div>
- <p class="review-selected-empty" id="review-selected-empty">暂未选择;在下方表格中勾选后,公司名称会显示在此处。</p>
- <div class="review-selected-tags" id="review-selected-tags"></div>
- </div>
- <div class="review-split-right">
- <span class="review-notice" title="操作提示">
- <i class="fa fa-info-circle"></i>
- 提交将向<strong>已勾选</strong>单位发送<strong>邮件</strong>与<strong>手机短信</strong>通知。
- </span>
- <div class="review-company-panel">
- <aside class="review-category-sidebar" id="review-category-sidebar">
- <div class="review-cat-head">本次下发分组</div>
- <div id="review-category-list"></div>
- </aside>
- <div class="review-company-main">
- <div class="review-company-toolbar">
- <input type="text" class="form-control" id="review-company-search" placeholder="搜索公司名称、联系人、邮箱、手机号、业务分类…" autocomplete="off"/>
- </div>
- <div class="review-table-scroll">
- <div class="table-responsive">
- <table class="table table-bordered table-hover table-striped table-condensed review-company-table">
- <colgroup>
- <col style="width:6%"/>
- <col style="width:27%"/>
- <col style="width:7%"/>
- <col style="width:14%"/>
- <col style="width: 19%"/>
- <col style="width:27%"/>
- </colgroup>
- <thead>
- <tr>
- <th class="review-th-cb"><input type="checkbox" id="review-check-all"/></th>
- <th>公司名称</th>
- <th>姓名</th>
- <th>邮箱</th>
- <th>手机号</th>
- <th>业务分类</th>
- </tr>
- </thead>
- <tbody id="review-company-tbody">
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="layer-footer clearfix">
- <div class="pull-right">
- <button type="reset" style="margin-right: 20px" class="btn btn-default btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
- <button type="button" style="margin-right: 20px" id="btn-review-submit" class="btn btn-success btn-embossed">提交</button>
- </div>
- </div>
- </form>
|