rfqlist.html 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <div class="panel panel-default panel-intro procuremen-rfqlist-wrap" data-super-admin="{if condition='$isSuperAdmin'}1{else /}0{/if}">
  2. {:build_heading()}
  3. <style>
  4. .procuremen-rfqlist-wrap .procuremen-supplier-lines-cell {
  5. position: relative;
  6. }
  7. .procuremen-rfqlist-wrap .procuremen-supplier-lines-cell .procuremen-supplier-caret {
  8. position: absolute;
  9. right: 0;
  10. top: 0;
  11. height: 100%;
  12. line-height: 1;
  13. background: #eee;
  14. color: #ddd;
  15. padding: 0 5px;
  16. display: flex;
  17. justify-content: center;
  18. align-items: center;
  19. cursor: pointer;
  20. }
  21. .procuremen-rfqlist-wrap .procuremen-supplier-lines-cell .procuremen-supplier-caret:hover {
  22. color: #999;
  23. }
  24. .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-container thead th,
  25. .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-container tbody td {
  26. vertical-align: middle !important;
  27. overflow: hidden;
  28. text-overflow: ellipsis;
  29. }
  30. /* 仅主表固定布局 */
  31. .procuremen-rfqlist-wrap .bootstrap-table > .fixed-table-container > .fixed-table-header > table,
  32. .procuremen-rfqlist-wrap .bootstrap-table > .fixed-table-container > .fixed-table-body > table {
  33. table-layout: fixed;
  34. }
  35. /* 操作列吸顶右侧,横向滚动时始终可见 */
  36. .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-header th.procuremen-rfq-operate-col,
  37. .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-body td.procuremen-rfq-operate-col,
  38. .procuremen-rfqlist-wrap .bootstrap-table th[data-field="operate"],
  39. .procuremen-rfqlist-wrap .bootstrap-table td[data-field="operate"] {
  40. position: sticky;
  41. right: 0;
  42. background: #fff;
  43. z-index: 5;
  44. overflow: visible !important;
  45. box-shadow: none;
  46. border-left: 1px solid #e8e8e8 !important;
  47. padding-left: 10px !important;
  48. padding-right: 10px !important;
  49. }
  50. .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-header th.procuremen-rfq-operate-col,
  51. .procuremen-rfqlist-wrap .bootstrap-table th[data-field="operate"] {
  52. z-index: 6;
  53. background: #f5f5f5;
  54. }
  55. .procuremen-rfqlist-wrap .procuremen-rfq-op-btns {
  56. display: inline-flex;
  57. flex-wrap: nowrap;
  58. align-items: center;
  59. justify-content: center;
  60. gap: 6px;
  61. white-space: nowrap;
  62. max-width: 100%;
  63. }
  64. .procuremen-rfqlist-wrap .procuremen-rfq-op-btns .btn {
  65. margin: 0 !important;
  66. flex: 0 0 auto;
  67. }
  68. .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-container thead th.procuremen-rfq-num-col,
  69. .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-container tbody td.procuremen-rfq-num-col,
  70. .procuremen-rfqlist-wrap .bootstrap-table th[data-field="CDW"],
  71. .procuremen-rfqlist-wrap .bootstrap-table td[data-field="CDW"],
  72. .procuremen-rfqlist-wrap .bootstrap-table th[data-field="This_quantity"],
  73. .procuremen-rfqlist-wrap .bootstrap-table td[data-field="This_quantity"],
  74. .procuremen-rfqlist-wrap .bootstrap-table th[data-field="ceilingPrice"],
  75. .procuremen-rfqlist-wrap .bootstrap-table td[data-field="ceilingPrice"],
  76. .procuremen-rfqlist-wrap .bootstrap-table th[data-field="CDF"],
  77. .procuremen-rfqlist-wrap .bootstrap-table td[data-field="CDF"] {
  78. text-align: center !important;
  79. vertical-align: middle !important;
  80. }
  81. .procuremen-rfqlist-wrap .bootstrap-table .fixed-table-container thead th.procuremen-rfq-num-col .th-inner,
  82. .procuremen-rfqlist-wrap .bootstrap-table th[data-field="This_quantity"] .th-inner,
  83. .procuremen-rfqlist-wrap .bootstrap-table th[data-field="ceilingPrice"] .th-inner,
  84. .procuremen-rfqlist-wrap .bootstrap-table th[data-field="CDW"] .th-inner,
  85. .procuremen-rfqlist-wrap .bootstrap-table th[data-field="CDF"] .th-inner {
  86. text-align: center !important;
  87. }
  88. .procuremen-rfq-notify-wrap {
  89. padding: 12px 16px 8px;
  90. height: 270px;
  91. overflow: auto;
  92. box-sizing: border-box;
  93. }
  94. .procuremen-rfq-notify-wrap table {
  95. width: 100%;
  96. margin: 0;
  97. }
  98. .procuremen-rfq-notify-wrap th,
  99. .procuremen-rfq-notify-wrap td {
  100. padding: 8px 10px;
  101. vertical-align: middle !important;
  102. border-bottom: 1px solid #eee;
  103. }
  104. .procuremen-rfq-notify-wrap th {
  105. background: #f7f7f7;
  106. font-weight: 600;
  107. }
  108. .procuremen-rfq-notify-empty {
  109. padding: 80px 12px;
  110. text-align: center;
  111. color: #999;
  112. }
  113. /* 左侧月份栏 */
  114. .procuremen-rfqlist-wrap > .panel-body {
  115. padding: 4px 0 0 0 !important;
  116. }
  117. .procuremen-rfqlist-wrap .procuremen-rfq-layout {
  118. display: flex !important;
  119. flex-direction: row !important;
  120. flex-wrap: nowrap !important;
  121. align-items: stretch;
  122. margin: 0 !important;
  123. min-height: calc(100vh - 140px);
  124. }
  125. .procuremen-rfqlist-wrap .procuremen-sidebar {
  126. flex: 0 0 96px;
  127. width: 96px;
  128. min-width: 96px;
  129. max-width: 96px;
  130. overflow-x: hidden;
  131. overflow-y: auto;
  132. border-right: 1px solid #d9d9d9;
  133. background: #fff;
  134. padding: 4px 0 12px;
  135. }
  136. .procuremen-rfqlist-wrap .procuremen-sidebar .year-title {
  137. font-weight: 600;
  138. padding: 8px 4px 4px;
  139. margin: 4px 0 2px;
  140. font-size: 12px;
  141. color: #8c8c8c;
  142. }
  143. .procuremen-rfqlist-wrap .procuremen-sidebar .procuremen-ym-item {
  144. display: block;
  145. padding: 7px 4px;
  146. margin: 2px 6px;
  147. color: #595959;
  148. border-radius: 6px;
  149. text-decoration: none;
  150. font-size: 13px;
  151. text-align: center;
  152. }
  153. .procuremen-rfqlist-wrap .procuremen-sidebar .procuremen-ym-item:hover {
  154. background: #f0f0f0;
  155. color: #1f1f1f;
  156. }
  157. .procuremen-rfqlist-wrap .procuremen-sidebar .procuremen-ym-item.active {
  158. background: #e6f4ff;
  159. color: #1677ff;
  160. font-weight: 500;
  161. }
  162. .procuremen-rfqlist-wrap .procuremen-rfq-main {
  163. flex: 1 1 0%;
  164. min-width: 0;
  165. width: 0;
  166. overflow: hidden;
  167. padding-left: 8px;
  168. box-sizing: border-box;
  169. }
  170. </style>
  171. <div class="panel-body" data-default-ym="{$defaultYm|default=''|htmlentities}">
  172. <div class="row procuremen-rfq-layout">
  173. <div class="procuremen-sidebar">
  174. {foreach name="sidebarYearMonths" item="block"}
  175. <div class="procuremen-year-block">
  176. <div class="year-title">{$block.year}年</div>
  177. {foreach name="block.months" item="item"}
  178. <a href="javascript:;" class="procuremen-ym-item{if $item.ym == $defaultYm} active{/if}" data-ym="{$item.ym|htmlentities}">{$item.label|htmlentities}</a>
  179. {/foreach}
  180. </div>
  181. {/foreach}
  182. </div>
  183. <div class="procuremen-rfq-main">
  184. <div class="widget-body no-padding">
  185. <div id="toolbar" class="toolbar">
  186. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i class="fa fa-refresh"></i> 刷新</a>
  187. </div>
  188. <table id="table" class="table table-striped table-bordered table-hover table-nowrap" width="100%"></table>
  189. </div>
  190. </div>
  191. </div>
  192. </div>
  193. </div>