index.html 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918
  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. .procuremen-toolbar-host .fixed-table-toolbar > .pull-right,
  288. .procuremen-toolbar-host .fixed-table-toolbar > .columns.pull-right,
  289. .procuremen-toolbar-host .fixed-table-toolbar > .columns.columns-right,
  290. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap {
  291. float: none !important;
  292. clear: none !important;
  293. margin: 0 0 0 auto !important;
  294. margin-right: 0 !important;
  295. padding: 0 !important;
  296. flex: 0 0 auto !important;
  297. display: flex !important;
  298. flex-direction: row !important;
  299. flex-wrap: nowrap !important;
  300. align-items: center !important;
  301. gap: 6px !important;
  302. visibility: visible !important;
  303. width: auto !important;
  304. max-width: none !important;
  305. order: 9 !important;
  306. white-space: nowrap !important;
  307. line-height: normal !important;
  308. }
  309. /* 图二:右侧图标按钮紧凑方形,与左侧彩色操作按钮区分 */
  310. .procuremen-toolbar-host .procuremen-toolbar-search-wrap > .btn,
  311. .procuremen-toolbar-host .procuremen-toolbar-search-wrap > .btn-group > .btn,
  312. .procuremen-toolbar-host .procuremen-toolbar-search-wrap .keep-open > .btn,
  313. .procuremen-toolbar-host .procuremen-toolbar-search-wrap .export > .btn {
  314. padding: 5px 10px !important;
  315. min-width: 34px;
  316. min-height: 30px !important;
  317. line-height: 1.2 !important;
  318. background: #fff !important;
  319. border: 1px solid #d9d9d9 !important;
  320. color: #595959 !important;
  321. border-radius: 4px !important;
  322. box-shadow: none !important;
  323. float: none !important;
  324. flex: 0 0 auto !important;
  325. }
  326. .procuremen-toolbar-host .procuremen-toolbar-search-wrap > .btn-group,
  327. .procuremen-toolbar-host .procuremen-toolbar-search-wrap .keep-open,
  328. .procuremen-toolbar-host .procuremen-toolbar-search-wrap .export {
  329. margin: 0 !important;
  330. float: none !important;
  331. display: inline-flex !important;
  332. flex: 0 0 auto !important;
  333. }
  334. /* 搜索框:仅作为 wrap 内子项;勿盖掉 .procuremen-toolbar-search-wrap 的 flex */
  335. .procuremen-toolbar-host .procuremen-toolbar-search-wrap > .search,
  336. .procuremen-toolbar-host .fixed-table-toolbar > .search:not(.procuremen-toolbar-search-wrap) {
  337. float: none !important;
  338. clear: none !important;
  339. margin: 0 !important;
  340. padding: 0 !important;
  341. display: inline-block !important;
  342. visibility: visible !important;
  343. width: auto !important;
  344. max-width: none !important;
  345. flex: 0 0 auto !important;
  346. line-height: normal !important;
  347. position: static !important;
  348. order: 0 !important;
  349. }
  350. /* 兜底:万一 wrap 落在 .search 上,仍强制单行 flex */
  351. .procuremen-toolbar-host .fixed-table-toolbar .search.procuremen-toolbar-search-wrap {
  352. display: flex !important;
  353. flex-direction: row !important;
  354. flex-wrap: nowrap !important;
  355. align-items: center !important;
  356. margin-left: auto !important;
  357. }
  358. .procuremen-toolbar-host .fixed-table-toolbar .search .form-control,
  359. .procuremen-toolbar-host .procuremen-toolbar-search-wrap .search .form-control {
  360. display: inline-block !important;
  361. width: 160px !important;
  362. min-width: 140px !important;
  363. max-width: 180px !important;
  364. height: 30px !important;
  365. margin: 0 !important;
  366. opacity: 1 !important;
  367. border-radius: 4px !important;
  368. border: 1px solid #d9d9d9 !important;
  369. box-shadow: none !important;
  370. vertical-align: middle;
  371. }
  372. /* 顺序:搜索框(0) → 切换/列/导出(2) → 通用搜索放大镜(5) */
  373. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > .search {
  374. order: 0 !important;
  375. }
  376. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > button[name="toggle"] {
  377. order: 1 !important;
  378. }
  379. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > .keep-open {
  380. order: 2 !important;
  381. }
  382. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > .export {
  383. order: 3 !important;
  384. }
  385. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > button[name="commonSearch"] {
  386. order: 5 !important;
  387. }
  388. .procuremen-toolbar-host .fixed-table-toolbar .procuremen-toolbar-search-wrap > *:not(.search):not([name="toggle"]):not(.keep-open):not(.export):not([name="commonSearch"]) {
  389. order: 4;
  390. }
  391. #procuremen-layout .procuremen-main .procuremen-table-area {
  392. flex: 1 1 auto;
  393. min-height: 0;
  394. min-width: 0;
  395. overflow: hidden;
  396. display: flex;
  397. flex-direction: column;
  398. }
  399. /* 表格高度由 JS 控制,勿再 flex 压缩,避免连带裁切 */
  400. #procuremen-layout .procuremen-table-area > .bootstrap-table {
  401. flex: 0 0 auto;
  402. min-height: 0;
  403. min-width: 0;
  404. width: 100%;
  405. overflow: visible !important;
  406. }
  407. #procuremen-layout .bootstrap-table .fixed-table-container {
  408. width: 100% !important;
  409. }
  410. .procuremen-table-area .toolbar.procuremen-toolbar-empty {
  411. display: none !important;
  412. }
  413. .procuremen-wff-tabs {
  414. margin-bottom: 0;
  415. margin-top: 0;
  416. border-bottom: 1px solid #f0f0f0;
  417. background: #fff;
  418. }
  419. .procuremen-wff-tabs > li > a {
  420. padding: 10px 16px;
  421. color: #8c8c8c;
  422. border: none !important;
  423. border-bottom: 2px solid transparent !important;
  424. border-radius: 0 !important;
  425. margin-right: 0;
  426. }
  427. .procuremen-wff-tabs > li.active > a,
  428. .procuremen-wff-tabs > li.active > a:hover,
  429. .procuremen-wff-tabs > li.active > a:focus {
  430. color: #1677ff !important;
  431. background: transparent !important;
  432. border: none !important;
  433. border-bottom: 2px solid #1677ff !important;
  434. }
  435. /* 表头:padding 只写在 .th-inner;th 自身 padding:0,避免色条与文字分离 */
  436. #procuremen-layout .bootstrap-table .table > thead > tr > th {
  437. padding: 0 !important;
  438. line-height: 1.4;
  439. vertical-align: middle;
  440. height: auto !important;
  441. }
  442. #procuremen-layout .bootstrap-table .fixed-table-container thead th .th-inner {
  443. padding: 8px 10px !important;
  444. line-height: 1.4;
  445. box-sizing: border-box;
  446. }
  447. #procuremen-layout .bootstrap-table .table > tbody > tr > td {
  448. padding: 8px 10px;
  449. line-height: 1.4;
  450. vertical-align: middle;
  451. height: auto !important;
  452. }
  453. /* 复选框列:表头 .th-inner 与表体 td 内边距一致,避免全选与行勾选框错位 */
  454. #procuremen-layout .bootstrap-table th.bs-checkbox,
  455. #procuremen-layout .bootstrap-table td.bs-checkbox {
  456. width: 42px !important;
  457. min-width: 42px !important;
  458. max-width: 42px !important;
  459. padding: 0 !important;
  460. text-align: center !important;
  461. vertical-align: middle !important;
  462. box-sizing: border-box;
  463. }
  464. #procuremen-layout .bootstrap-table th.bs-checkbox .th-inner {
  465. padding: 8px 4px !important;
  466. margin: 0 !important;
  467. text-align: center !important;
  468. line-height: 1;
  469. min-height: 0;
  470. }
  471. #procuremen-layout .bootstrap-table td.bs-checkbox {
  472. padding: 8px 4px !important;
  473. }
  474. #procuremen-layout .bootstrap-table th.bs-checkbox input[type="checkbox"],
  475. #procuremen-layout .bootstrap-table td.bs-checkbox input[type="checkbox"] {
  476. margin: 0 auto !important;
  477. vertical-align: middle !important;
  478. float: none;
  479. position: static;
  480. top: auto;
  481. width: 16px;
  482. height: 16px;
  483. cursor: pointer;
  484. display: block;
  485. }
  486. #procuremen-layout .bootstrap-table tbody td.bs-checkbox {
  487. min-height: 28px;
  488. cursor: pointer;
  489. }
  490. /* 表头与表体同步横向滚动;强制 table-layout:fixed,避免内容把表体列撑宽导致竖线错位 */
  491. #procuremen-layout .bootstrap-table .fixed-table-body {
  492. overflow: auto !important;
  493. -webkit-overflow-scrolling: touch;
  494. box-sizing: border-box;
  495. }
  496. #procuremen-layout .bootstrap-table .fixed-table-header > table.table,
  497. #procuremen-layout .bootstrap-table .fixed-table-body > table.table,
  498. #procuremen-layout .bootstrap-table .fixed-columns-right table.table {
  499. margin-right: 0 !important;
  500. margin-left: 0 !important;
  501. table-layout: fixed !important;
  502. }
  503. #procuremen-layout .bootstrap-table .fixed-table-header {
  504. overflow: hidden;
  505. padding-right: 0 !important;
  506. box-sizing: border-box;
  507. }
  508. #procuremen-layout .bootstrap-table .fixed-table-header,
  509. #procuremen-layout .bootstrap-table .fixed-table-body {
  510. box-sizing: border-box;
  511. }
  512. #procuremen-layout .bootstrap-table .fixed-table-header .fht-cell {
  513. display: block !important;
  514. height: 0 !important;
  515. overflow: hidden !important;
  516. box-sizing: border-box !important;
  517. }
  518. #procuremen-layout .bootstrap-table .table > thead > tr > th,
  519. #procuremen-layout .bootstrap-table .table > tbody > tr > td {
  520. box-sizing: border-box;
  521. overflow: hidden;
  522. text-overflow: ellipsis;
  523. white-space: nowrap;
  524. vertical-align: middle;
  525. line-height: 1.4;
  526. }
  527. /* 表头:浅灰底、无竖线,仅底部分隔线(padding 见上方 .th-inner) */
  528. #procuremen-layout .bootstrap-table .table > thead > tr > th,
  529. #procuremen-layout .bootstrap-table .fixed-table-header .table > thead > tr > th,
  530. #procuremen-layout .bootstrap-table .fixed-columns-right .table > thead > tr > th {
  531. background: #f5f7fa !important;
  532. color: #303133 !important;
  533. font-weight: 600 !important;
  534. border: none !important;
  535. border-bottom: 1px solid #e4e7ed !important;
  536. padding: 0 !important;
  537. }
  538. /* 表体:白底、无竖线,仅横线 */
  539. #procuremen-layout .bootstrap-table .table > tbody > tr > td,
  540. #procuremen-layout .bootstrap-table .fixed-columns-right .table > tbody > tr > td {
  541. background: #fff !important;
  542. border: none !important;
  543. border-bottom: 1px solid #ebeef5 !important;
  544. color: #606266;
  545. }
  546. #procuremen-layout .bootstrap-table .table,
  547. #procuremen-layout .bootstrap-table .table-bordered {
  548. border: none !important;
  549. }
  550. /* 长文本列:不省略,允许换行完整显示 */
  551. #procuremen-layout .bootstrap-table .table > tbody > tr > td.procuremen-cell-wrap,
  552. #procuremen-layout .bootstrap-table .table > thead > tr > th.procuremen-cell-wrap,
  553. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="CYJMC"],
  554. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="CCLBMMC"],
  555. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="CGYMC"],
  556. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="CDF"],
  557. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="cGzzxMc"],
  558. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="MBZ"],
  559. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="notify_supplier_text"],
  560. #procuremen-layout .bootstrap-table .table > tbody > tr > td[data-field="picked_supplier_name"] {
  561. white-space: normal !important;
  562. word-break: break-all !important;
  563. overflow: visible !important;
  564. text-overflow: clip !important;
  565. line-height: 1.4 !important;
  566. vertical-align: middle !important;
  567. }
  568. /* 操作列按钮不可省略裁切 */
  569. #procuremen-layout .bootstrap-table thead th[data-field="operate"],
  570. #procuremen-layout .bootstrap-table tbody td[data-field="operate"],
  571. #procuremen-layout .bootstrap-table .fixed-columns-right td[data-field="operate"],
  572. #procuremen-layout .bootstrap-table .fixed-columns-right th[data-field="operate"] {
  573. overflow: visible !important;
  574. text-overflow: clip !important;
  575. white-space: nowrap !important;
  576. }
  577. /* 固定右列:外层定宽即可,内部必须是整表 + scrollLeft 到最右,禁止压成 240 宽的单列表 */
  578. #procuremen-layout .bootstrap-table .fixed-columns-right {
  579. min-width: 240px;
  580. overflow: hidden !important;
  581. background: #fff;
  582. }
  583. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-header,
  584. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body {
  585. overflow-x: hidden !important;
  586. }
  587. #procuremen-layout .bootstrap-table .fixed-columns-right table {
  588. /* 勿强制 width:240,否则只能看到左侧复选框/订单号 */
  589. width: auto !important;
  590. min-width: 100% !important;
  591. max-width: none !important;
  592. }
  593. /* 日期列加宽并禁止省略,避免滚到最右仍被竖向滚动条挡住 */
  594. #procuremen-layout .bootstrap-table thead th[data-field="dStamp"],
  595. #procuremen-layout .bootstrap-table thead th[data-field="dputrecord"],
  596. #procuremen-layout .bootstrap-table tbody td[data-field="dStamp"],
  597. #procuremen-layout .bootstrap-table tbody td[data-field="dputrecord"] {
  598. min-width: 176px !important;
  599. width: 176px !important;
  600. max-width: 176px !important;
  601. white-space: nowrap;
  602. overflow: hidden;
  603. text-overflow: clip;
  604. }
  605. #procuremen-layout .nice-validator .bootstrap-table td.bs-checkbox input[type="checkbox"],
  606. #procuremen-layout .nice-validator .bootstrap-table th.bs-checkbox input[type="checkbox"] {
  607. vertical-align: middle !important;
  608. }
  609. #procuremen-layout .bootstrap-table .table > tbody > tr > td .btn-xs {
  610. padding: 2px 6px;
  611. font-size: 12px;
  612. }
  613. /*
  614. * 右固定列与主表 .fixed-table-body 为同级兄弟,主表全宽时最后一列会叠在固定层「下面」。
  615. * 全局 backend.css 里 .fixed-columns-right 仅 z-index:2,易被主表内层盖住,表现为要点多次才打开弹窗。
  616. * 抬高固定列整体叠层,并把主表滚动区压在 z-index:0,保证命中的是固定层上的按钮。
  617. */
  618. #procuremen-layout .bootstrap-table .fixed-table-container > .fixed-table-body {
  619. position: relative;
  620. z-index: 0;
  621. }
  622. #procuremen-layout .bootstrap-table .fixed-columns-right {
  623. box-shadow: none !important;
  624. border-left: 1px solid #e3e6ea;
  625. background-color: #fff;
  626. z-index: 18 !important;
  627. /* 盖住主表横向滚动条伸到操作列下方的那段,避免「操作按钮下面还能滑」 */
  628. height: 100% !important;
  629. bottom: 0 !important;
  630. }
  631. #procuremen-layout .bootstrap-table .fixed-columns-right::after {
  632. content: '';
  633. position: absolute;
  634. left: 0;
  635. right: 0;
  636. bottom: 0;
  637. height: 17px;
  638. background: #fff;
  639. pointer-events: none;
  640. z-index: 1;
  641. }
  642. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-header,
  643. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body {
  644. background: #fff;
  645. }
  646. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-header table thead th,
  647. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body table tbody td {
  648. border-left-color: transparent;
  649. }
  650. /* 操作列按钮在固定层内置于可点区域之上,减少与主表透明重叠导致的「多点一次」 */
  651. /* 固定列操作按钮:抬高层级 + 明确可点,减轻与主表空白区域叠层的「点了没反应」 */
  652. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body {
  653. pointer-events: auto;
  654. }
  655. #procuremen-layout .bootstrap-table .fixed-columns-right a.procuremen-op-open {
  656. position: relative;
  657. z-index: 6;
  658. pointer-events: auto;
  659. display: inline-block;
  660. vertical-align: middle;
  661. }
  662. #procuremen-layout .procuremen-op-btns .btn + .btn {
  663. margin-left: 6px;
  664. }
  665. /* 可排序列表头:去掉默认排序背景图,保留 .th-inner 内边距与文字对齐 */
  666. #procuremen-layout .bootstrap-table thead th.sortable,
  667. #procuremen-layout .bootstrap-table thead th .th-inner.sortable {
  668. background-image: none !important;
  669. background-position: unset !important;
  670. }
  671. #procuremen-layout .bootstrap-table thead th.sortable .th-inner,
  672. #procuremen-layout .bootstrap-table thead th .th-inner.sortable {
  673. display: block !important;
  674. width: 100% !important;
  675. max-width: 100%;
  676. padding: 8px 10px !important;
  677. box-sizing: border-box;
  678. vertical-align: middle;
  679. white-space: nowrap;
  680. overflow: hidden;
  681. text-overflow: ellipsis;
  682. }
  683. #procuremen-layout .bootstrap-table thead th.sortable .th-inner:after,
  684. #procuremen-layout .bootstrap-table thead th .th-inner.sortable:after {
  685. content: '\f0dc';
  686. font-family: FontAwesome;
  687. font-size: 11px;
  688. line-height: 1;
  689. color: #bbb;
  690. margin-left: 4px;
  691. vertical-align: middle;
  692. }
  693. #procuremen-layout .bootstrap-table thead th.sortable.asc .th-inner:after,
  694. #procuremen-layout .bootstrap-table thead th.sortable.desc .th-inner:after,
  695. #procuremen-layout .bootstrap-table thead th .th-inner.sortable.asc:after,
  696. #procuremen-layout .bootstrap-table thead th .th-inner.sortable.desc:after {
  697. color: #337ab7;
  698. }
  699. /* 采购确认弹层(完结/删除等) */
  700. body .layui-layer-procuremen-finish {
  701. display: flex !important;
  702. flex-direction: column !important;
  703. height: 400px !important;
  704. border-radius: 8px;
  705. overflow: hidden;
  706. box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  707. }
  708. body .layui-layer-procuremen-finish .layui-layer-title {
  709. background: #fff !important;
  710. color: #1f1f1f !important;
  711. border-bottom: 1px solid #f0f0f0;
  712. height: 48px;
  713. line-height: 48px;
  714. font-size: 15px;
  715. font-weight: 600;
  716. flex-shrink: 0;
  717. padding: 0 20px;
  718. }
  719. body .layui-layer-procuremen-finish .layui-layer-setwin {
  720. top: 2px;
  721. right: 12px;
  722. }
  723. body .layui-layer-procuremen-finish .layui-layer-content {
  724. flex: 1 1 auto !important;
  725. min-height: 0 !important;
  726. padding: 16px 20px !important;
  727. overflow: hidden !important;
  728. height: auto !important;
  729. display: flex !important;
  730. flex-direction: column !important;
  731. }
  732. body .layui-layer-procuremen-finish .procuremen-confirm-body {
  733. flex: 1 1 auto;
  734. min-height: 0;
  735. display: flex;
  736. flex-direction: column;
  737. text-align: left;
  738. line-height: 1.6;
  739. font-size: 13px;
  740. color: #434343;
  741. }
  742. body .layui-layer-procuremen-finish .procuremen-confirm-intro {
  743. margin: 0 0 12px;
  744. flex-shrink: 0;
  745. }
  746. body .layui-layer-procuremen-finish .procuremen-confirm-scroll {
  747. flex: 1 1 auto;
  748. min-height: 0;
  749. overflow-y: auto;
  750. overflow-x: hidden;
  751. border: 1px solid #f0f0f0;
  752. border-radius: 6px;
  753. background: #fafafa;
  754. }
  755. body .layui-layer-procuremen-finish .procuremen-confirm-table {
  756. margin: 0;
  757. font-size: 12px;
  758. border: none;
  759. background: #fff;
  760. width: 100%;
  761. table-layout: fixed;
  762. }
  763. body .layui-layer-procuremen-finish .procuremen-confirm-table th:nth-child(1),
  764. body .layui-layer-procuremen-finish .procuremen-confirm-table td:nth-child(1) {
  765. width: 150px;
  766. white-space: nowrap;
  767. }
  768. body .layui-layer-procuremen-finish .procuremen-confirm-table th:nth-child(2),
  769. body .layui-layer-procuremen-finish .procuremen-confirm-table td:nth-child(2) {
  770. width: 140px;
  771. }
  772. body .layui-layer-procuremen-finish .procuremen-confirm-table th:nth-child(3),
  773. body .layui-layer-procuremen-finish .procuremen-confirm-table td:nth-child(3) {
  774. width: auto;
  775. }
  776. body .layui-layer-procuremen-finish .procuremen-confirm-table thead th {
  777. position: sticky;
  778. top: 0;
  779. background: #f5f5f5;
  780. z-index: 1;
  781. border-bottom: 1px solid #f0f0f0;
  782. color: #595959;
  783. font-weight: 500;
  784. }
  785. body .layui-layer-procuremen-finish .procuremen-confirm-table tbody td {
  786. border-color: #f5f5f5;
  787. color: #434343;
  788. }
  789. body .layui-layer-procuremen-finish .layui-layer-btn {
  790. flex-shrink: 0 !important;
  791. text-align: right !important;
  792. padding: 12px 20px !important;
  793. background: #fff !important;
  794. border-top: 1px solid #f0f0f0;
  795. margin-top: auto;
  796. }
  797. body .layui-layer-procuremen-finish .layui-layer-btn a {
  798. height: 32px;
  799. line-height: 32px;
  800. margin: 0 0 0 8px;
  801. padding: 0 16px;
  802. font-size: 13px;
  803. border-radius: 4px;
  804. }
  805. body .layui-layer-procuremen-finish .layui-layer-btn1 {
  806. background: #fff !important;
  807. border: 1px solid #d9d9d9 !important;
  808. color: #333 !important;
  809. }
  810. body .layui-layer-procuremen-finish .layui-layer-btn1:hover {
  811. border-color: #1677ff !important;
  812. color: #1677ff !important;
  813. }
  814. body .layui-layer-procuremen-finish .layui-layer-btn0 {
  815. background-color: #27C24C !important;
  816. border-color: #23ad44 !important;
  817. color: #fff !important;
  818. }
  819. body .layui-layer-procuremen-finish .layui-layer-btn0:hover {
  820. background-color: #1e983e !important;
  821. border-color: #1a8737 !important;
  822. color: #fff !important;
  823. }
  824. #procuremen-layout .procuremen-po-field.procuremen-po-dirty {
  825. border-color: #f0ad4e;
  826. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(240, 173, 78, 0.45);
  827. }
  828. .procuremen-po-popover {
  829. position: fixed;
  830. z-index: 100050;
  831. padding: 6px 8px;
  832. background: #fff;
  833. border: 1px solid #d2d6de;
  834. border-radius: 4px;
  835. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  836. }
  837. .procuremen-po-popover-inner {
  838. white-space: nowrap;
  839. }
  840. .procuremen-po-popover-inner .btn + .btn {
  841. margin-left: 6px;
  842. }
  843. #procuremen-layout .procuremen-supplier-lines-cell {
  844. position: relative;
  845. }
  846. #procuremen-layout .procuremen-supplier-lines-cell .procuremen-supplier-caret {
  847. position: absolute;
  848. right: 0;
  849. top: 0;
  850. height: 100%;
  851. line-height: 1;
  852. background: #eee;
  853. color: #ddd;
  854. padding: 0 5px;
  855. display: flex;
  856. justify-content: center;
  857. align-items: center;
  858. cursor: pointer;
  859. }
  860. #procuremen-layout .procuremen-supplier-lines-cell .procuremen-supplier-caret:hover {
  861. color: #999;
  862. }
  863. </style>
  864. <div class="panel panel-default panel-intro" id="procuremen-layout"
  865. data-default-ym="{$defaultYm|htmlentities}"
  866. data-procuremen-redis-api="{$procuremenRedisApi|htmlentities}"
  867. data-procuremen-stage="{$procuremenStage|default='pick'|htmlentities}"
  868. data-can-dispatch="{$procuremenBtnDispatch|default=0}"
  869. data-can-pick-delete="{$procuremenBtnPickDelete|default=0}"
  870. data-can-complete="{$procuremenBtnComplete|default=0}"
  871. data-can-audit-abandon="{$procuremenBtnAuditAbandon|default=0}">
  872. {:build_heading()}
  873. <div class="panel-body">
  874. <div class="row procuremen-layout">
  875. <div class="procuremen-sidebar">
  876. {foreach name="sidebarYearMonths" item="block"}
  877. <div class="procuremen-year-block">
  878. <div class="year-title">{$block.year}年</div>
  879. {foreach name="block.months" item="item"}
  880. <a href="javascript:;" class="procuremen-ym-item{if $item.ym == $defaultYm} active{/if}" data-ym="{$item.ym|htmlentities}">{$item.label|htmlentities}</a>
  881. {/foreach}
  882. </div>
  883. {/foreach}
  884. </div>
  885. <div class="procuremen-main">
  886. <div id="myTabContent" class="tab-content">
  887. <div class="tab-pane fade active in" id="one">
  888. <div class="widget-body no-padding">
  889. <div id="procuremen-toolbar-host" class="procuremen-toolbar-host clearfix"></div>
  890. <div class="procuremen-table-area">
  891. <div id="toolbar" class="toolbar">
  892. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" >刷新 <i class="fa fa-refresh"></i> </a>
  893. {if isset($procuremenBtnAuditAbandon) && $procuremenBtnAuditAbandon}
  894. <a href="javascript:;" class="btn btn-danger procuremen-stage-hide hide" id="btn-procuremen-audit-abandon" title="勾选一条或多条订单退回协助初选重新下发(历史记录保留)"><i class="fa fa-repeat"></i> 重新下发</a>
  895. {/if}
  896. {if isset($procuremenBtnDispatch) && $procuremenBtnDispatch}
  897. <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>
  898. {/if}
  899. {if isset($procuremenBtnComplete) && $procuremenBtnComplete}
  900. <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>
  901. {/if}
  902. {if isset($procuremenBtnPickDelete) && $procuremenBtnPickDelete}
  903. <a href="javascript:;" class="btn btn-danger procuremen-stage-hide hide" id="btn-procuremen-pick-delete" title="勾选一条或多条工序从初选列表移除"><i class="fa fa-trash"></i> 删除</a>
  904. {/if}
  905. </div>
  906. <table id="table"
  907. class="table table-bordered table-hover">
  908. </table>
  909. </div>
  910. </div>
  911. </div>
  912. </div>
  913. </div>
  914. </div>
  915. </div>
  916. </div>