| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 |
- <div class="panel panel-default panel-intro procuremen-rfqlist-wrap" data-super-admin="{if condition='$isSuperAdmin'}1{else /}0{/if}">
- {:build_heading()}
- <style>
- .procuremen-rfqlist-wrap .procuremen-supplier-lines-cell {
- position: relative;
- }
- .procuremen-rfqlist-wrap .procuremen-supplier-lines-cell .procuremen-supplier-caret {
- position: absolute;
- right: 0;
- top: 0;
- height: 100%;
- line-height: 1;
- background: #eee;
- color: #ddd;
- padding: 0 5px;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- }
- .procuremen-rfqlist-wrap .procuremen-supplier-lines-cell .procuremen-supplier-caret:hover {
- color: #999;
- }
- .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-container thead th,
- .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-container tbody td {
- vertical-align: middle !important;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- /* 仅主表固定布局 */
- .procuremen-rfqlist-wrap .bootstrap-table > .fixed-table-container > .fixed-table-header > table,
- .procuremen-rfqlist-wrap .bootstrap-table > .fixed-table-container > .fixed-table-body > table {
- table-layout: fixed;
- }
- /* 操作列吸顶右侧,横向滚动时始终可见 */
- .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-header th.procuremen-rfq-operate-col,
- .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-body td.procuremen-rfq-operate-col,
- .procuremen-rfqlist-wrap .bootstrap-table th[data-field="operate"],
- .procuremen-rfqlist-wrap .bootstrap-table td[data-field="operate"] {
- position: sticky;
- right: 0;
- background: #fff;
- z-index: 5;
- overflow: visible !important;
- box-shadow: none;
- border-left: 1px solid #e8e8e8 !important;
- padding-left: 10px !important;
- padding-right: 10px !important;
- }
- .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-header th.procuremen-rfq-operate-col,
- .procuremen-rfqlist-wrap .bootstrap-table th[data-field="operate"] {
- z-index: 6;
- background: #f5f5f5;
- }
- .procuremen-rfqlist-wrap .procuremen-rfq-op-btns {
- display: inline-flex;
- flex-wrap: nowrap;
- align-items: center;
- justify-content: center;
- gap: 6px;
- white-space: nowrap;
- max-width: 100%;
- }
- .procuremen-rfqlist-wrap .procuremen-rfq-op-btns .btn {
- margin: 0 !important;
- flex: 0 0 auto;
- }
- .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-container thead th.procuremen-rfq-num-col,
- .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-container tbody td.procuremen-rfq-num-col,
- .procuremen-rfqlist-wrap .bootstrap-table th[data-field="CDW"],
- .procuremen-rfqlist-wrap .bootstrap-table td[data-field="CDW"],
- .procuremen-rfqlist-wrap .bootstrap-table th[data-field="This_quantity"],
- .procuremen-rfqlist-wrap .bootstrap-table td[data-field="This_quantity"],
- .procuremen-rfqlist-wrap .bootstrap-table th[data-field="ceilingPrice"],
- .procuremen-rfqlist-wrap .bootstrap-table td[data-field="ceilingPrice"],
- .procuremen-rfqlist-wrap .bootstrap-table th[data-field="CDF"],
- .procuremen-rfqlist-wrap .bootstrap-table td[data-field="CDF"] {
- text-align: center !important;
- vertical-align: middle !important;
- }
- .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-container thead th.procuremen-rfq-num-col .th-inner,
- .procuremen-rfqlist-wrap .bootstrap-table th[data-field="This_quantity"] .th-inner,
- .procuremen-rfqlist-wrap .bootstrap-table th[data-field="ceilingPrice"] .th-inner,
- .procuremen-rfqlist-wrap .bootstrap-table th[data-field="CDW"] .th-inner,
- .procuremen-rfqlist-wrap .bootstrap-table th[data-field="CDF"] .th-inner {
- text-align: center !important;
- }
- .procuremen-rfq-notify-wrap {
- padding: 12px 16px 8px;
- height: 270px;
- overflow: auto;
- box-sizing: border-box;
- }
- .procuremen-rfq-notify-wrap table {
- width: 100%;
- margin: 0;
- }
- .procuremen-rfq-notify-wrap th,
- .procuremen-rfq-notify-wrap td {
- padding: 8px 10px;
- vertical-align: middle !important;
- border-bottom: 1px solid #eee;
- }
- .procuremen-rfq-notify-wrap th {
- background: #f7f7f7;
- font-weight: 600;
- }
- .procuremen-rfq-notify-empty {
- padding: 80px 12px;
- text-align: center;
- color: #999;
- }
- /* 左侧月份栏 */
- .procuremen-rfqlist-wrap > .panel-body {
- padding: 4px 0 0 0 !important;
- }
- .procuremen-rfqlist-wrap .procuremen-rfq-layout {
- display: flex !important;
- flex-direction: row !important;
- flex-wrap: nowrap !important;
- align-items: stretch;
- margin: 0 !important;
- min-height: calc(100vh - 140px);
- }
- .procuremen-rfqlist-wrap .procuremen-sidebar {
- flex: 0 0 96px;
- width: 96px;
- min-width: 96px;
- max-width: 96px;
- overflow-x: hidden;
- overflow-y: auto;
- border-right: 1px solid #d9d9d9;
- background: #fff;
- padding: 4px 0 12px;
- }
- .procuremen-rfqlist-wrap .procuremen-sidebar .year-title {
- font-weight: 600;
- padding: 8px 4px 4px;
- margin: 4px 0 2px;
- font-size: 12px;
- color: #8c8c8c;
- }
- .procuremen-rfqlist-wrap .procuremen-sidebar .procuremen-ym-item {
- display: block;
- padding: 7px 4px;
- margin: 2px 6px;
- color: #595959;
- border-radius: 6px;
- text-decoration: none;
- font-size: 13px;
- text-align: center;
- }
- .procuremen-rfqlist-wrap .procuremen-sidebar .procuremen-ym-item:hover {
- background: #f0f0f0;
- color: #1f1f1f;
- }
- .procuremen-rfqlist-wrap .procuremen-sidebar .procuremen-ym-item.active {
- background: #e6f4ff;
- color: #1677ff;
- font-weight: 500;
- }
- .procuremen-rfqlist-wrap .procuremen-rfq-main {
- flex: 1 1 0%;
- min-width: 0;
- width: 0;
- overflow: hidden;
- padding-left: 8px;
- box-sizing: border-box;
- }
- </style>
- <div class="panel-body" data-default-ym="{$defaultYm|default=''|htmlentities}">
- <div class="row procuremen-rfq-layout">
- <div class="procuremen-sidebar">
- {foreach name="sidebarYearMonths" item="block"}
- <div class="procuremen-year-block">
- <div class="year-title">{$block.year}年</div>
- {foreach name="block.months" item="item"}
- <a href="javascript:;" class="procuremen-ym-item{if $item.ym == $defaultYm} active{/if}" data-ym="{$item.ym|htmlentities}">{$item.label|htmlentities}</a>
- {/foreach}
- </div>
- {/foreach}
- </div>
- <div class="procuremen-rfq-main">
- <div class="widget-body no-padding">
- <div id="toolbar" class="toolbar">
- <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i class="fa fa-refresh"></i> 刷新</a>
- </div>
- <table id="table" class="table table-striped table-bordered table-hover table-nowrap" width="100%"></table>
- </div>
- </div>
- </div>
- </div>
- </div>
|