index.html 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979
  1. <style>
  2. /* 本页在 iframe 内:收紧外层边距,但保留少量内边距,避免左侧月份栏/上方工具栏被裁切 */
  3. html, body.inside-aside, body.inside-header {
  4. margin: 0 !important;
  5. padding: 0 !important;
  6. background: #fff !important;
  7. }
  8. #main,
  9. #content,
  10. .tab-content.tab-addtabs {
  11. margin-left: 0 !important;
  12. margin-right: 0 !important;
  13. }
  14. .content {
  15. padding: 10px 8px 0 8px !important;
  16. }
  17. #procuremen-layout > .panel-body {
  18. padding: 4px 0 0 0 !important;
  19. }
  20. #procuremen-layout.panel-default,
  21. #procuremen-layout.panel-intro {
  22. margin: 0 !important;
  23. border-radius: 0 !important;
  24. border-left: none !important;
  25. border-right: none !important;
  26. border-top: none !important;
  27. box-shadow: none !important;
  28. }
  29. #procuremen-layout.panel-intro > .panel-heading {
  30. padding: 8px 8px 0 8px !important;
  31. overflow: visible;
  32. min-height: 0;
  33. }
  34. #procuremen-layout.panel-intro > .panel-heading .panel-lead {
  35. margin-bottom: 0;
  36. }
  37. #procuremen-layout .tab-content,
  38. #procuremen-layout .tab-pane {
  39. padding: 0;
  40. margin: 0;
  41. }
  42. /* 月份栏与表格并排:主区 width:0 + flex:1,防止撑破导致左侧列被裁切 */
  43. .procuremen-layout { margin: 0 !important; }
  44. #procuremen-layout .procuremen-layout.row {
  45. display: flex !important;
  46. flex-direction: row !important;
  47. flex-wrap: nowrap !important;
  48. align-items: stretch;
  49. margin-left: 0 !important;
  50. margin-right: 0 !important;
  51. }
  52. @media (min-width: 768px) {
  53. #procuremen-layout .procuremen-layout.row {
  54. min-height: calc(100vh - 132px);
  55. }
  56. #procuremen-layout .procuremen-layout > .procuremen-sidebar,
  57. #procuremen-layout .procuremen-layout > .procuremen-main {
  58. float: none !important;
  59. display: flex;
  60. flex-direction: column;
  61. padding-left: 0 !important;
  62. padding-right: 0 !important;
  63. }
  64. #procuremen-layout .procuremen-layout > .procuremen-sidebar {
  65. flex: 0 0 96px !important;
  66. max-width: 96px !important;
  67. width: 96px !important;
  68. min-width: 96px !important;
  69. }
  70. #procuremen-layout .procuremen-layout > .procuremen-main {
  71. flex: 1 1 0% !important;
  72. width: 0 !important;
  73. max-width: none !important;
  74. min-width: 0 !important;
  75. }
  76. }
  77. #procuremen-layout .procuremen-main {
  78. overflow: hidden !important;
  79. padding-left: 0 !important;
  80. padding-right: 0 !important;
  81. flex: 1 1 0%;
  82. min-width: 0;
  83. width: 0;
  84. max-width: none !important;
  85. background: #fff;
  86. position: relative;
  87. z-index: 0;
  88. }
  89. .procuremen-sidebar {
  90. flex: 0 0 96px;
  91. width: 96px;
  92. min-width: 96px;
  93. max-width: 96px;
  94. align-self: stretch;
  95. min-height: 0;
  96. overflow-x: hidden;
  97. overflow-y: auto;
  98. border-right: 1px solid #d9d9d9;
  99. background: #fff;
  100. margin: 0 !important;
  101. padding: 4px 0 !important;
  102. box-sizing: border-box;
  103. position: relative;
  104. z-index: 1;
  105. float: none !important;
  106. }
  107. @media (max-width: 767px) {
  108. #procuremen-layout .procuremen-layout.row {
  109. flex-wrap: wrap;
  110. }
  111. .procuremen-sidebar {
  112. flex: 0 0 100%;
  113. width: 100% !important;
  114. min-width: 0 !important;
  115. max-width: 100% !important;
  116. border-right: none;
  117. border-bottom: 1px solid #d9d9d9;
  118. max-height: 160px;
  119. }
  120. #procuremen-layout .procuremen-main {
  121. flex: 1 1 100%;
  122. width: 100% !important;
  123. }
  124. }
  125. .procuremen-sidebar .year-title {
  126. font-weight: 600;
  127. padding: 8px 4px 4px;
  128. margin: 4px 0 2px;
  129. background: transparent;
  130. border-radius: 0;
  131. font-size: 12px;
  132. color: #8c8c8c;
  133. }
  134. .procuremen-sidebar .procuremen-ym-item {
  135. display: block;
  136. padding: 7px 4px;
  137. margin: 2px 6px;
  138. color: #595959;
  139. border-radius: 6px;
  140. text-decoration: none;
  141. border: none;
  142. font-size: 13px;
  143. text-align: center;
  144. }
  145. .procuremen-sidebar .procuremen-ym-item:hover {
  146. background: #f0f0f0;
  147. color: #1f1f1f;
  148. }
  149. .procuremen-sidebar .procuremen-ym-item.active {
  150. background: #e6f4ff;
  151. color: #1677ff;
  152. font-weight: 500;
  153. }
  154. #procuremen-layout .procuremen-main .widget-body {
  155. overflow: hidden;
  156. flex: 1 1 auto;
  157. min-height: 0;
  158. min-width: 0;
  159. display: flex;
  160. flex-direction: column;
  161. }
  162. /* 工具栏必须在 overflow 裁切区之外,否则会被裁掉上半截 */
  163. .procuremen-toolbar-host {
  164. display: block !important;
  165. flex: 0 0 auto !important;
  166. flex-shrink: 0 !important;
  167. height: auto !important;
  168. min-height: 44px !important;
  169. max-height: none !important;
  170. padding: 8px 8px 8px 4px !important;
  171. margin: 0 !important;
  172. border: none !important;
  173. border-bottom: 1px solid #f0f0f0 !important;
  174. width: 100%;
  175. box-sizing: border-box;
  176. overflow: visible !important;
  177. position: relative;
  178. z-index: 40;
  179. background: #fff;
  180. visibility: visible !important;
  181. opacity: 1 !important;
  182. }
  183. #procuremen-layout .procuremen-toolbar-host,
  184. #procuremen-layout .procuremen-wff-tabs {
  185. flex-shrink: 0;
  186. }
  187. #procuremen-layout .procuremen-main .fixed-table-pagination {
  188. background: #fff;
  189. border-top: 1px solid #e7e7e7;
  190. box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
  191. }
  192. /* 主表 loading 遮罩盖不住右侧固定列克隆体,刷新时短暂露出旧「操作」按钮,加载中先隐藏 */
  193. #procuremen-layout .fixed-columns-right.procuremen-hide-fixed-right-loading {
  194. visibility: hidden !important;
  195. pointer-events: none !important;
  196. }
  197. /* 表格内若残留工具栏占位则隐藏(已挪到 host) */
  198. #procuremen-layout .procuremen-table-area .bootstrap-table > .fixed-table-toolbar {
  199. display: none !important;
  200. height: 0 !important;
  201. margin: 0 !important;
  202. padding: 0 !important;
  203. overflow: hidden !important;
  204. border: 0 !important;
  205. }
  206. /* 宿主内工具栏:完整可见 */
  207. #procuremen-layout .procuremen-toolbar-host > .fixed-table-toolbar,
  208. .procuremen-toolbar-host .fixed-table-toolbar {
  209. border: none !important;
  210. margin: 0 !important;
  211. padding: 0 !important;
  212. display: flex !important;
  213. align-items: center;
  214. justify-content: flex-start !important;
  215. flex-wrap: nowrap !important;
  216. flex-direction: row !important;
  217. gap: 12px;
  218. width: 100% !important;
  219. box-sizing: border-box;
  220. overflow: visible !important;
  221. min-height: 36px;
  222. height: auto !important;
  223. max-height: none !important;
  224. background: #fff;
  225. visibility: visible !important;
  226. opacity: 1 !important;
  227. position: relative;
  228. z-index: 20;
  229. }
  230. .procuremen-toolbar-host .fixed-table-toolbar .btn-group,
  231. .procuremen-toolbar-host .fixed-table-toolbar .columns {
  232. overflow: visible !important;
  233. }
  234. .procuremen-toolbar-host .fixed-table-toolbar .dropdown-menu {
  235. z-index: 2000;
  236. max-height: min(70vh, 520px);
  237. overflow-y: auto;
  238. overflow-x: hidden;
  239. }
  240. .procuremen-toolbar-host .fixed-table-toolbar > .pull-left,
  241. .procuremen-toolbar-host .fixed-table-toolbar > .bars.pull-left,
  242. .procuremen-toolbar-host .fixed-table-toolbar > .bs-bars.pull-left {
  243. float: none !important;
  244. margin: 0 !important;
  245. flex: 0 0 auto;
  246. max-width: 100%;
  247. visibility: visible !important;
  248. }
  249. .procuremen-toolbar-host .fixed-table-toolbar .toolbar,
  250. .procuremen-toolbar-host .fixed-table-toolbar .bs-bars .toolbar {
  251. display: inline-block !important;
  252. visibility: visible !important;
  253. margin: 0 !important;
  254. }
  255. .procuremen-toolbar-host .fixed-table-toolbar .toolbar .btn:not(.hide):not(.procuremen-stage-hide):not(.btn-selected-tips),
  256. .procuremen-toolbar-host .fixed-table-toolbar .btn:not(.hide):not(.procuremen-stage-hide):not(.btn-selected-tips) {
  257. display: inline-block !important;
  258. visibility: visible !important;
  259. opacity: 1 !important;
  260. font-size: 13px !important;
  261. line-height: 1.4 !important;
  262. height: auto !important;
  263. min-height: 30px;
  264. max-height: none !important;
  265. padding: 5px 12px !important;
  266. vertical-align: middle;
  267. overflow: visible !important;
  268. }
  269. /* 跨页选择提示 / 非本阶段按钮:必须能隐藏 */
  270. #procuremen-layout .btn-selected-tips,
  271. .procuremen-toolbar-host .btn-selected-tips,
  272. .procuremen-toolbar-host .fixed-table-toolbar .toolbar .btn.btn-selected-tips,
  273. .procuremen-toolbar-host .fixed-table-toolbar .btn.btn-selected-tips,
  274. .procuremen-toolbar-host .fixed-table-toolbar .toolbar .btn.hide,
  275. .procuremen-toolbar-host .fixed-table-toolbar .btn.hide,
  276. .procuremen-toolbar-host .fixed-table-toolbar .toolbar .btn.procuremen-stage-hide,
  277. .procuremen-toolbar-host .fixed-table-toolbar .btn.procuremen-stage-hide,
  278. #toolbar .btn.procuremen-stage-hide,
  279. #toolbar .btn.hide {
  280. display: none !important;
  281. visibility: hidden !important;
  282. pointer-events: none !important;
  283. }
  284. .procuremen-toolbar-host .fixed-table-toolbar .toolbar .btn .fa {
  285. font-size: 14px !important;
  286. }
  287. /* 表头标题文字后的小筛选图标 */
  288. #procuremen-layout .bootstrap-table th .th-inner.procuremen-th-with-filter {
  289. display: inline-flex !important;
  290. flex-direction: row;
  291. align-items: center;
  292. justify-content: center;
  293. gap: 4px;
  294. white-space: nowrap !important;
  295. line-height: 1.3 !important;
  296. }
  297. #procuremen-layout .bootstrap-table th .procuremen-th-label {
  298. display: inline;
  299. font-weight: 600;
  300. }
  301. #procuremen-layout .bootstrap-table th .procuremen-th-filter-dd {
  302. display: inline-block;
  303. vertical-align: middle;
  304. position: relative;
  305. }
  306. #procuremen-layout .bootstrap-table th .procuremen-th-filter-btn {
  307. color: #999;
  308. padding: 0 2px;
  309. font-size: 12px;
  310. line-height: 1;
  311. text-decoration: none !important;
  312. cursor: pointer;
  313. }
  314. #procuremen-layout .bootstrap-table th .procuremen-th-filter-btn:hover,
  315. #procuremen-layout .bootstrap-table th .procuremen-th-filter-btn.active {
  316. color: #3c8dbc;
  317. }
  318. #procuremen-layout .bootstrap-table th .procuremen-th-filter-dd > .dropdown-menu {
  319. min-width: 140px;
  320. max-height: 260px;
  321. overflow-y: auto;
  322. font-size: 12px;
  323. z-index: 1060;
  324. }
  325. body > .procuremen-th-filter-menu-float.dropdown-menu {
  326. min-width: 140px;
  327. max-height: 260px;
  328. overflow-y: auto;
  329. font-size: 12px;
  330. display: block;
  331. }
  332. #procuremen-layout .bootstrap-table th .procuremen-th-filter-dd > .dropdown-menu > li > a,
  333. body > .procuremen-th-filter-menu-float.dropdown-menu > li > a {
  334. padding: 4px 12px;
  335. white-space: nowrap;
  336. }
  337. #procuremen-layout .bootstrap-table th .procuremen-th-filter-dd > .dropdown-menu > li.active > a,
  338. body > .procuremen-th-filter-menu-float.dropdown-menu > li.active > a {
  339. background: #3c8dbc;
  340. color: #fff;
  341. }
  342. .procuremen-toolbar-host .fixed-table-toolbar > .pull-right,
  343. .procuremen-toolbar-host .fixed-table-toolbar > .columns.pull-right,
  344. .procuremen-toolbar-host .fixed-table-toolbar > .columns.columns-right,
  345. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap {
  346. float: none !important;
  347. clear: none !important;
  348. margin: 0 0 0 auto !important;
  349. margin-right: 0 !important;
  350. padding: 0 !important;
  351. flex: 0 0 auto !important;
  352. display: flex !important;
  353. flex-direction: row !important;
  354. flex-wrap: nowrap !important;
  355. align-items: center !important;
  356. gap: 6px !important;
  357. visibility: visible !important;
  358. width: auto !important;
  359. max-width: none !important;
  360. order: 9 !important;
  361. white-space: nowrap !important;
  362. line-height: normal !important;
  363. }
  364. /* 图二:右侧图标按钮紧凑方形,与左侧彩色操作按钮区分 */
  365. .procuremen-toolbar-host .procuremen-toolbar-search-wrap > .btn,
  366. .procuremen-toolbar-host .procuremen-toolbar-search-wrap > .btn-group > .btn,
  367. .procuremen-toolbar-host .procuremen-toolbar-search-wrap .keep-open > .btn,
  368. .procuremen-toolbar-host .procuremen-toolbar-search-wrap .export > .btn {
  369. padding: 5px 10px !important;
  370. min-width: 34px;
  371. min-height: 30px !important;
  372. line-height: 1.2 !important;
  373. background: #fff !important;
  374. border: 1px solid #d9d9d9 !important;
  375. color: #595959 !important;
  376. border-radius: 4px !important;
  377. box-shadow: none !important;
  378. float: none !important;
  379. flex: 0 0 auto !important;
  380. }
  381. .procuremen-toolbar-host .procuremen-toolbar-search-wrap > .btn-group,
  382. .procuremen-toolbar-host .procuremen-toolbar-search-wrap .keep-open,
  383. .procuremen-toolbar-host .procuremen-toolbar-search-wrap .export {
  384. margin: 0 !important;
  385. float: none !important;
  386. display: inline-flex !important;
  387. flex: 0 0 auto !important;
  388. }
  389. /* 搜索框:仅作为 wrap 内子项;勿盖掉 .procuremen-toolbar-search-wrap 的 flex */
  390. .procuremen-toolbar-host .procuremen-toolbar-search-wrap > .search,
  391. .procuremen-toolbar-host .fixed-table-toolbar > .search:not(.procuremen-toolbar-search-wrap) {
  392. float: none !important;
  393. clear: none !important;
  394. margin: 0 !important;
  395. padding: 0 !important;
  396. display: inline-block !important;
  397. visibility: visible !important;
  398. width: auto !important;
  399. max-width: none !important;
  400. flex: 0 0 auto !important;
  401. line-height: normal !important;
  402. position: static !important;
  403. order: 0 !important;
  404. }
  405. /* 兜底:万一 wrap 落在 .search 上,仍强制单行 flex */
  406. .procuremen-toolbar-host .fixed-table-toolbar .search.procuremen-toolbar-search-wrap {
  407. display: flex !important;
  408. flex-direction: row !important;
  409. flex-wrap: nowrap !important;
  410. align-items: center !important;
  411. margin-left: auto !important;
  412. }
  413. .procuremen-toolbar-host .fixed-table-toolbar .search .form-control,
  414. .procuremen-toolbar-host .procuremen-toolbar-search-wrap .search .form-control {
  415. display: inline-block !important;
  416. width: 160px !important;
  417. min-width: 140px !important;
  418. max-width: 180px !important;
  419. height: 30px !important;
  420. margin: 0 !important;
  421. opacity: 1 !important;
  422. border-radius: 4px !important;
  423. border: 1px solid #d9d9d9 !important;
  424. box-shadow: none !important;
  425. vertical-align: middle;
  426. }
  427. /* 顺序:搜索框(0) → 切换/列/导出(2) → 通用搜索放大镜(5) */
  428. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > .search {
  429. order: 0 !important;
  430. }
  431. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > button[name="toggle"] {
  432. order: 1 !important;
  433. }
  434. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > .keep-open {
  435. order: 2 !important;
  436. }
  437. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > .export {
  438. order: 3 !important;
  439. }
  440. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > button[name="commonSearch"] {
  441. order: 5 !important;
  442. }
  443. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > *:not(.search):not([name="toggle"]):not(.keep-open):not(.export):not([name="commonSearch"]) {
  444. order: 4;
  445. }
  446. #procuremen-layout .procuremen-main .procuremen-table-area {
  447. flex: 1 1 auto;
  448. min-height: 0;
  449. min-width: 0;
  450. overflow: hidden;
  451. display: flex;
  452. flex-direction: column;
  453. }
  454. /* 表格高度由 JS 控制,勿再 flex 压缩,避免连带裁切 */
  455. #procuremen-layout .procuremen-table-area > .bootstrap-table {
  456. flex: 0 0 auto;
  457. min-height: 0;
  458. min-width: 0;
  459. width: 100%;
  460. overflow: visible !important;
  461. }
  462. #procuremen-layout .bootstrap-table .fixed-table-container {
  463. width: 100% !important;
  464. }
  465. .procuremen-table-area .toolbar.procuremen-toolbar-empty {
  466. display: none !important;
  467. }
  468. .procuremen-wff-tabs {
  469. margin-bottom: 0;
  470. margin-top: 0;
  471. border-bottom: 1px solid #f0f0f0;
  472. background: #fff;
  473. }
  474. .procuremen-wff-tabs > li > a {
  475. padding: 10px 16px;
  476. color: #8c8c8c;
  477. border: none !important;
  478. border-bottom: 2px solid transparent !important;
  479. border-radius: 0 !important;
  480. margin-right: 0;
  481. }
  482. .procuremen-wff-tabs > li.active > a,
  483. .procuremen-wff-tabs > li.active > a:hover,
  484. .procuremen-wff-tabs > li.active > a:focus {
  485. color: #1677ff !important;
  486. background: transparent !important;
  487. border: none !important;
  488. border-bottom: 2px solid #1677ff !important;
  489. }
  490. /* 表头:padding 只写在 .th-inner;th 自身 padding:0,避免色条与文字分离 */
  491. #procuremen-layout .bootstrap-table .table > thead > tr > th {
  492. padding: 0 !important;
  493. line-height: 1.4;
  494. vertical-align: middle;
  495. height: auto !important;
  496. }
  497. #procuremen-layout .bootstrap-table .fixed-table-container thead th .th-inner {
  498. padding: 8px 10px !important;
  499. line-height: 1.4;
  500. box-sizing: border-box;
  501. }
  502. #procuremen-layout .bootstrap-table .table > tbody > tr > td {
  503. padding: 8px 10px;
  504. line-height: 1.4;
  505. vertical-align: middle;
  506. height: auto !important;
  507. }
  508. /* 复选框列:表头 .th-inner 与表体 td 内边距一致,避免全选与行勾选框错位 */
  509. #procuremen-layout .bootstrap-table th.bs-checkbox,
  510. #procuremen-layout .bootstrap-table td.bs-checkbox {
  511. width: 42px !important;
  512. min-width: 42px !important;
  513. max-width: 42px !important;
  514. padding: 0 !important;
  515. text-align: center !important;
  516. vertical-align: middle !important;
  517. box-sizing: border-box;
  518. }
  519. #procuremen-layout .bootstrap-table th.bs-checkbox .th-inner {
  520. padding: 8px 4px !important;
  521. margin: 0 !important;
  522. text-align: center !important;
  523. line-height: 1;
  524. min-height: 0;
  525. }
  526. #procuremen-layout .bootstrap-table td.bs-checkbox {
  527. padding: 8px 4px !important;
  528. }
  529. #procuremen-layout .bootstrap-table th.bs-checkbox input[type="checkbox"],
  530. #procuremen-layout .bootstrap-table td.bs-checkbox input[type="checkbox"] {
  531. margin: 0 auto !important;
  532. vertical-align: middle !important;
  533. float: none;
  534. position: static;
  535. top: auto;
  536. width: 16px;
  537. height: 16px;
  538. cursor: pointer;
  539. display: block;
  540. }
  541. #procuremen-layout .bootstrap-table tbody td.bs-checkbox {
  542. min-height: 28px;
  543. cursor: pointer;
  544. }
  545. /* 表头与表体同步横向滚动;强制 table-layout:fixed,避免内容把表体列撑宽导致竖线错位 */
  546. #procuremen-layout .bootstrap-table .fixed-table-body {
  547. overflow: auto !important;
  548. -webkit-overflow-scrolling: touch;
  549. box-sizing: border-box;
  550. }
  551. #procuremen-layout .bootstrap-table .fixed-table-header > table.table,
  552. #procuremen-layout .bootstrap-table .fixed-table-body > table.table,
  553. #procuremen-layout .bootstrap-table .fixed-columns-right table.table {
  554. margin-right: 0 !important;
  555. margin-left: 0 !important;
  556. table-layout: fixed !important;
  557. }
  558. #procuremen-layout .bootstrap-table .fixed-table-header {
  559. overflow: hidden;
  560. padding-right: 0 !important;
  561. box-sizing: border-box;
  562. }
  563. #procuremen-layout .bootstrap-table .fixed-table-header,
  564. #procuremen-layout .bootstrap-table .fixed-table-body {
  565. box-sizing: border-box;
  566. }
  567. #procuremen-layout .bootstrap-table .fixed-table-header .fht-cell {
  568. display: block !important;
  569. height: 0 !important;
  570. overflow: hidden !important;
  571. box-sizing: border-box !important;
  572. }
  573. #procuremen-layout .bootstrap-table .table > thead > tr > th,
  574. #procuremen-layout .bootstrap-table .table > tbody > tr > td {
  575. box-sizing: border-box;
  576. overflow: hidden;
  577. text-overflow: ellipsis;
  578. white-space: nowrap;
  579. vertical-align: middle;
  580. line-height: 1.4;
  581. }
  582. /* 表头:浅灰底 + 完整边框 */
  583. #procuremen-layout .bootstrap-table .table > thead > tr > th,
  584. #procuremen-layout .bootstrap-table .fixed-table-header .table > thead > tr > th,
  585. #procuremen-layout .bootstrap-table .fixed-columns-right .table > thead > tr > th {
  586. background: #f5f7fa !important;
  587. color: #303133 !important;
  588. font-weight: 600 !important;
  589. border: 1px solid #e4e7ed !important;
  590. padding: 0 !important;
  591. }
  592. /* 表体:白底 + 单元格边框 */
  593. #procuremen-layout .bootstrap-table .table > tbody > tr > td,
  594. #procuremen-layout .bootstrap-table .fixed-columns-right .table > tbody > tr > td {
  595. background: #fff !important;
  596. border: 1px solid #ebeef5 !important;
  597. color: #606266;
  598. }
  599. #procuremen-layout .bootstrap-table .table,
  600. #procuremen-layout .bootstrap-table .table-bordered {
  601. border: 1px solid #e4e7ed !important;
  602. }
  603. /* 长文本列:不省略,允许换行完整显示 */
  604. #procuremen-layout .bootstrap-table .table > tbody > tr > td.procuremen-cell-wrap,
  605. #procuremen-layout .bootstrap-table .table > thead > tr > th.procuremen-cell-wrap,
  606. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="CYJMC"],
  607. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="CCLBMMC"],
  608. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="CGYMC"],
  609. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="CDF"],
  610. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="cGzzxMc"],
  611. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="MBZ"],
  612. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="notify_supplier_text"],
  613. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="picked_supplier_name"] {
  614. white-space: normal !important;
  615. word-break: break-all !important;
  616. overflow: visible !important;
  617. text-overflow: clip !important;
  618. line-height: 1.4 !important;
  619. vertical-align: middle !important;
  620. }
  621. /* 操作列按钮不可省略裁切 */
  622. #procuremen-layout .bootstrap-table thead th[data-field="operate"],
  623. #procuremen-layout .bootstrap-table tbody td[data-field="operate"],
  624. #procuremen-layout .bootstrap-table .fixed-columns-right td[data-field="operate"],
  625. #procuremen-layout .bootstrap-table .fixed-columns-right th[data-field="operate"] {
  626. overflow: visible !important;
  627. text-overflow: clip !important;
  628. white-space: nowrap !important;
  629. }
  630. /* 固定右列:外层定宽即可,内部必须是整表 + scrollLeft 到最右,禁止压成单列宽的假表 */
  631. #procuremen-layout .bootstrap-table .fixed-columns-right {
  632. min-width: 156px;
  633. overflow: hidden !important;
  634. background: #fff;
  635. }
  636. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-header,
  637. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body {
  638. overflow-x: hidden !important;
  639. }
  640. #procuremen-layout .bootstrap-table .fixed-columns-right table {
  641. /* 勿强制单列宽,否则只能看到左侧复选框/订单号 */
  642. width: auto !important;
  643. min-width: 100% !important;
  644. max-width: none !important;
  645. }
  646. #procuremen-layout .bootstrap-table thead th[data-field="operate"],
  647. #procuremen-layout .bootstrap-table tbody td[data-field="operate"] {
  648. width: 168px !important;
  649. min-width: 156px !important;
  650. max-width: 176px !important;
  651. padding-left: 6px !important;
  652. padding-right: 6px !important;
  653. }
  654. /* 日期列加宽并禁止省略,避免滚到最右仍被竖向滚动条挡住 */
  655. #procuremen-layout .bootstrap-table thead th[data-field="dStamp"],
  656. #procuremen-layout .bootstrap-table thead th[data-field="dputrecord"],
  657. #procuremen-layout .bootstrap-table tbody td[data-field="dStamp"],
  658. #procuremen-layout .bootstrap-table tbody td[data-field="dputrecord"] {
  659. min-width: 176px !important;
  660. width: 176px !important;
  661. max-width: 176px !important;
  662. white-space: nowrap;
  663. overflow: hidden;
  664. text-overflow: clip;
  665. }
  666. #procuremen-layout .nice-validator .bootstrap-table td.bs-checkbox input[type="checkbox"],
  667. #procuremen-layout .nice-validator .bootstrap-table th.bs-checkbox input[type="checkbox"] {
  668. vertical-align: middle !important;
  669. }
  670. #procuremen-layout .bootstrap-table .table > tbody > tr > td .btn-xs {
  671. padding: 2px 6px;
  672. font-size: 12px;
  673. }
  674. /*
  675. * 右固定列与主表 .fixed-table-body 为同级兄弟,主表全宽时最后一列会叠在固定层「下面」。
  676. * 全局 backend.css 里 .fixed-columns-right 仅 z-index:2,易被主表内层盖住,表现为要点多次才打开弹窗。
  677. * 抬高固定列整体叠层,并把主表滚动区压在 z-index:0,保证命中的是固定层上的按钮。
  678. */
  679. #procuremen-layout .bootstrap-table .fixed-table-container > .fixed-table-body {
  680. position: relative;
  681. z-index: 0;
  682. }
  683. #procuremen-layout .bootstrap-table .fixed-columns-right {
  684. box-shadow: none !important;
  685. border-left: 1px solid #e3e6ea;
  686. background-color: #fff;
  687. z-index: 18 !important;
  688. /* 盖住主表横向滚动条伸到操作列下方的那段,避免「操作按钮下面还能滑」 */
  689. height: 100% !important;
  690. bottom: 0 !important;
  691. }
  692. #procuremen-layout .bootstrap-table .fixed-columns-right::after {
  693. content: '';
  694. position: absolute;
  695. left: 0;
  696. right: 0;
  697. bottom: 0;
  698. height: 17px;
  699. background: #fff;
  700. pointer-events: none;
  701. z-index: 1;
  702. }
  703. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-header,
  704. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body {
  705. background: #fff;
  706. }
  707. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-header table thead th,
  708. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body table tbody td {
  709. border-left-color: transparent;
  710. }
  711. /* 操作列按钮在固定层内置于可点区域之上,减少与主表透明重叠导致的「多点一次」 */
  712. /* 固定列操作按钮:抬高层级 + 明确可点,减轻与主表空白区域叠层的「点了没反应」 */
  713. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body {
  714. pointer-events: auto;
  715. }
  716. #procuremen-layout .bootstrap-table .fixed-columns-right a.procuremen-op-open {
  717. position: relative;
  718. z-index: 6;
  719. pointer-events: auto;
  720. display: inline-block;
  721. vertical-align: middle;
  722. }
  723. #procuremen-layout .procuremen-op-btns .btn + .btn {
  724. margin-left: 6px;
  725. }
  726. /* 可排序列表头:去掉默认排序背景图,保留 .th-inner 内边距与文字对齐 */
  727. #procuremen-layout .bootstrap-table thead th.sortable,
  728. #procuremen-layout .bootstrap-table thead th .th-inner.sortable {
  729. background-image: none !important;
  730. background-position: unset !important;
  731. }
  732. #procuremen-layout .bootstrap-table thead th.sortable .th-inner,
  733. #procuremen-layout .bootstrap-table thead th .th-inner.sortable {
  734. display: block !important;
  735. width: 100% !important;
  736. max-width: 100%;
  737. padding: 8px 10px !important;
  738. box-sizing: border-box;
  739. vertical-align: middle;
  740. white-space: nowrap;
  741. overflow: hidden;
  742. text-overflow: ellipsis;
  743. }
  744. #procuremen-layout .bootstrap-table thead th.sortable .th-inner:after,
  745. #procuremen-layout .bootstrap-table thead th .th-inner.sortable:after {
  746. content: '\f0dc';
  747. font-family: FontAwesome;
  748. font-size: 11px;
  749. line-height: 1;
  750. color: #bbb;
  751. margin-left: 4px;
  752. vertical-align: middle;
  753. }
  754. #procuremen-layout .bootstrap-table thead th.sortable.asc .th-inner:after,
  755. #procuremen-layout .bootstrap-table thead th.sortable.desc .th-inner:after,
  756. #procuremen-layout .bootstrap-table thead th .th-inner.sortable.asc:after,
  757. #procuremen-layout .bootstrap-table thead th .th-inner.sortable.desc:after {
  758. color: #337ab7;
  759. }
  760. /* 采购确认弹层(完结/删除等) */
  761. body .layui-layer-procuremen-finish {
  762. display: flex !important;
  763. flex-direction: column !important;
  764. height: 400px !important;
  765. border-radius: 8px;
  766. overflow: hidden;
  767. box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  768. }
  769. body .layui-layer-procuremen-finish .layui-layer-title {
  770. background: #fff !important;
  771. color: #1f1f1f !important;
  772. border-bottom: 1px solid #f0f0f0;
  773. height: 48px;
  774. line-height: 48px;
  775. font-size: 15px;
  776. font-weight: 600;
  777. flex-shrink: 0;
  778. padding: 0 20px;
  779. }
  780. body .layui-layer-procuremen-finish .layui-layer-setwin {
  781. top: 2px;
  782. right: 12px;
  783. }
  784. body .layui-layer-procuremen-finish .layui-layer-content {
  785. flex: 1 1 auto !important;
  786. min-height: 0 !important;
  787. padding: 16px 20px !important;
  788. overflow: hidden !important;
  789. height: auto !important;
  790. display: flex !important;
  791. flex-direction: column !important;
  792. }
  793. body .layui-layer-procuremen-finish .procuremen-confirm-body {
  794. flex: 1 1 auto;
  795. min-height: 0;
  796. display: flex;
  797. flex-direction: column;
  798. text-align: left;
  799. line-height: 1.6;
  800. font-size: 13px;
  801. color: #434343;
  802. }
  803. body .layui-layer-procuremen-finish .procuremen-confirm-intro {
  804. margin: 0 0 12px;
  805. flex-shrink: 0;
  806. }
  807. body .layui-layer-procuremen-finish .procuremen-confirm-scroll {
  808. flex: 1 1 auto;
  809. min-height: 0;
  810. overflow-y: auto;
  811. overflow-x: hidden;
  812. border: 1px solid #f0f0f0;
  813. border-radius: 6px;
  814. background: #fafafa;
  815. }
  816. body .layui-layer-procuremen-finish .procuremen-confirm-table {
  817. margin: 0;
  818. font-size: 12px;
  819. border: none;
  820. background: #fff;
  821. width: 100%;
  822. table-layout: fixed;
  823. }
  824. body .layui-layer-procuremen-finish .procuremen-confirm-table th:nth-child(1),
  825. body .layui-layer-procuremen-finish .procuremen-confirm-table td:nth-child(1) {
  826. width: 150px;
  827. white-space: nowrap;
  828. }
  829. body .layui-layer-procuremen-finish .procuremen-confirm-table th:nth-child(2),
  830. body .layui-layer-procuremen-finish .procuremen-confirm-table td:nth-child(2) {
  831. width: 140px;
  832. }
  833. body .layui-layer-procuremen-finish .procuremen-confirm-table th:nth-child(3),
  834. body .layui-layer-procuremen-finish .procuremen-confirm-table td:nth-child(3) {
  835. width: auto;
  836. }
  837. body .layui-layer-procuremen-finish .procuremen-confirm-table thead th {
  838. position: sticky;
  839. top: 0;
  840. background: #f5f5f5;
  841. z-index: 1;
  842. border: 1px solid #ddd !important;
  843. color: #333;
  844. font-weight: 600;
  845. }
  846. body .layui-layer-procuremen-finish .procuremen-confirm-table tbody td {
  847. border: 1px solid #ddd !important;
  848. color: #434343;
  849. }
  850. body .layui-layer-procuremen-finish .layui-layer-btn {
  851. flex-shrink: 0 !important;
  852. text-align: right !important;
  853. padding: 12px 20px !important;
  854. background: #fff !important;
  855. border-top: 1px solid #f0f0f0;
  856. margin-top: auto;
  857. }
  858. body .layui-layer-procuremen-finish .layui-layer-btn a {
  859. height: 32px;
  860. line-height: 32px;
  861. margin: 0 0 0 8px;
  862. padding: 0 16px;
  863. font-size: 13px;
  864. border-radius: 4px;
  865. }
  866. body .layui-layer-procuremen-finish .layui-layer-btn1 {
  867. background: #fff !important;
  868. border: 1px solid #d9d9d9 !important;
  869. color: #333 !important;
  870. }
  871. body .layui-layer-procuremen-finish .layui-layer-btn1:hover {
  872. border-color: #1677ff !important;
  873. color: #1677ff !important;
  874. }
  875. body .layui-layer-procuremen-finish .layui-layer-btn0 {
  876. background-color: #27C24C !important;
  877. border-color: #23ad44 !important;
  878. color: #fff !important;
  879. }
  880. body .layui-layer-procuremen-finish .layui-layer-btn0:hover {
  881. background-color: #1e983e !important;
  882. border-color: #1a8737 !important;
  883. color: #fff !important;
  884. }
  885. #procuremen-layout .procuremen-po-field.procuremen-po-dirty {
  886. border-color: #f0ad4e;
  887. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(240, 173, 78, 0.45);
  888. }
  889. .procuremen-po-popover {
  890. position: fixed;
  891. z-index: 100050;
  892. padding: 6px 8px;
  893. background: #fff;
  894. border: 1px solid #d2d6de;
  895. border-radius: 4px;
  896. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  897. }
  898. .procuremen-po-popover-inner {
  899. white-space: nowrap;
  900. }
  901. .procuremen-po-popover-inner .btn + .btn {
  902. margin-left: 6px;
  903. }
  904. #procuremen-layout .procuremen-supplier-lines-cell {
  905. position: relative;
  906. }
  907. #procuremen-layout .procuremen-supplier-lines-cell .procuremen-supplier-caret {
  908. position: absolute;
  909. right: 0;
  910. top: 0;
  911. height: 100%;
  912. line-height: 1;
  913. background: #eee;
  914. color: #ddd;
  915. padding: 0 5px;
  916. display: flex;
  917. justify-content: center;
  918. align-items: center;
  919. cursor: pointer;
  920. }
  921. #procuremen-layout .procuremen-supplier-lines-cell .procuremen-supplier-caret:hover {
  922. color: #999;
  923. }
  924. </style>
  925. <div class="panel panel-default panel-intro" id="procuremen-layout"
  926. data-default-ym="{$defaultYm|htmlentities}"
  927. data-procuremen-redis-api="{$procuremenRedisApi|htmlentities}"
  928. data-procuremen-stage="{$procuremenStage|default='pick'|htmlentities}"
  929. data-can-dispatch="{$procuremenBtnDispatch|default=0}"
  930. data-can-pick-delete="{$procuremenBtnPickDelete|default=0}"
  931. data-can-complete="{$procuremenBtnComplete|default=0}"
  932. data-can-audit-abandon="{$procuremenBtnAuditAbandon|default=0}">
  933. {:build_heading()}
  934. <div class="panel-body">
  935. <div class="row procuremen-layout">
  936. <div class="procuremen-sidebar">
  937. {foreach name="sidebarYearMonths" item="block"}
  938. <div class="procuremen-year-block">
  939. <div class="year-title">{$block.year}年</div>
  940. {foreach name="block.months" item="item"}
  941. <a href="javascript:;" class="procuremen-ym-item{if $item.ym == $defaultYm} active{/if}" data-ym="{$item.ym|htmlentities}">{$item.label|htmlentities}</a>
  942. {/foreach}
  943. </div>
  944. {/foreach}
  945. </div>
  946. <div class="procuremen-main">
  947. <div id="myTabContent" class="tab-content">
  948. <div class="tab-pane fade active in" id="one">
  949. <div class="widget-body no-padding">
  950. <div id="procuremen-toolbar-host" class="procuremen-toolbar-host clearfix"></div>
  951. <div class="procuremen-table-area">
  952. <div id="toolbar" class="toolbar">
  953. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" >刷新 <i class="fa fa-refresh"></i> </a>
  954. {if isset($procuremenBtnAuditAbandon) && $procuremenBtnAuditAbandon}
  955. <a href="javascript:;" class="btn btn-danger procuremen-stage-hide hide" id="btn-procuremen-audit-abandon" title="勾选一条或多条订单退回协助初选重新下发(历史记录保留)"><i class="fa fa-repeat"></i> 重新下发</a>
  956. {/if}
  957. {if isset($procuremenBtnDispatch) && $procuremenBtnDispatch}
  958. <a href="javascript:;" class="btn btn-info procuremen-stage-hide hide" id="btn-procuremen-pick-review" title="勾选一条或多条工序进行下发(多条须同一订单号)"><i class="fa fa-paper-plane"></i> 下发</a>
  959. {/if}
  960. {if isset($procuremenBtnComplete) && $procuremenBtnComplete}
  961. <a href="javascript:;" class="btn btn-success procuremen-stage-hide hide" id="btn-procuremen-batch-finish" title="勾选一条或多条工序标记为已完结"><i class="fa fa-flag-checkered"></i> 完结</a>
  962. {/if}
  963. {if isset($procuremenBtnPickDelete) && $procuremenBtnPickDelete}
  964. <a href="javascript:;" class="btn btn-danger procuremen-stage-hide hide" id="btn-procuremen-pick-delete" title="勾选一条或多条工序从初选列表移除"><i class="fa fa-trash"></i> 删除</a>
  965. {/if}
  966. </div>
  967. <table id="table"
  968. class="table table-bordered table-hover">
  969. </table>
  970. </div>
  971. </div>
  972. </div>
  973. </div>
  974. </div>
  975. </div>
  976. </div>
  977. </div>