index.html 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926
  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 到最右,禁止压成单列宽的假表 */
  578. #procuremen-layout .bootstrap-table .fixed-columns-right {
  579. min-width: 156px;
  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. /* 勿强制单列宽,否则只能看到左侧复选框/订单号 */
  589. width: auto !important;
  590. min-width: 100% !important;
  591. max-width: none !important;
  592. }
  593. #procuremen-layout .bootstrap-table thead th[data-field="operate"],
  594. #procuremen-layout .bootstrap-table tbody td[data-field="operate"] {
  595. width: 168px !important;
  596. min-width: 156px !important;
  597. max-width: 176px !important;
  598. padding-left: 6px !important;
  599. padding-right: 6px !important;
  600. }
  601. /* 日期列加宽并禁止省略,避免滚到最右仍被竖向滚动条挡住 */
  602. #procuremen-layout .bootstrap-table thead th[data-field="dStamp"],
  603. #procuremen-layout .bootstrap-table thead th[data-field="dputrecord"],
  604. #procuremen-layout .bootstrap-table tbody td[data-field="dStamp"],
  605. #procuremen-layout .bootstrap-table tbody td[data-field="dputrecord"] {
  606. min-width: 176px !important;
  607. width: 176px !important;
  608. max-width: 176px !important;
  609. white-space: nowrap;
  610. overflow: hidden;
  611. text-overflow: clip;
  612. }
  613. #procuremen-layout .nice-validator .bootstrap-table td.bs-checkbox input[type="checkbox"],
  614. #procuremen-layout .nice-validator .bootstrap-table th.bs-checkbox input[type="checkbox"] {
  615. vertical-align: middle !important;
  616. }
  617. #procuremen-layout .bootstrap-table .table > tbody > tr > td .btn-xs {
  618. padding: 2px 6px;
  619. font-size: 12px;
  620. }
  621. /*
  622. * 右固定列与主表 .fixed-table-body 为同级兄弟,主表全宽时最后一列会叠在固定层「下面」。
  623. * 全局 backend.css 里 .fixed-columns-right 仅 z-index:2,易被主表内层盖住,表现为要点多次才打开弹窗。
  624. * 抬高固定列整体叠层,并把主表滚动区压在 z-index:0,保证命中的是固定层上的按钮。
  625. */
  626. #procuremen-layout .bootstrap-table .fixed-table-container > .fixed-table-body {
  627. position: relative;
  628. z-index: 0;
  629. }
  630. #procuremen-layout .bootstrap-table .fixed-columns-right {
  631. box-shadow: none !important;
  632. border-left: 1px solid #e3e6ea;
  633. background-color: #fff;
  634. z-index: 18 !important;
  635. /* 盖住主表横向滚动条伸到操作列下方的那段,避免「操作按钮下面还能滑」 */
  636. height: 100% !important;
  637. bottom: 0 !important;
  638. }
  639. #procuremen-layout .bootstrap-table .fixed-columns-right::after {
  640. content: '';
  641. position: absolute;
  642. left: 0;
  643. right: 0;
  644. bottom: 0;
  645. height: 17px;
  646. background: #fff;
  647. pointer-events: none;
  648. z-index: 1;
  649. }
  650. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-header,
  651. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body {
  652. background: #fff;
  653. }
  654. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-header table thead th,
  655. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body table tbody td {
  656. border-left-color: transparent;
  657. }
  658. /* 操作列按钮在固定层内置于可点区域之上,减少与主表透明重叠导致的「多点一次」 */
  659. /* 固定列操作按钮:抬高层级 + 明确可点,减轻与主表空白区域叠层的「点了没反应」 */
  660. #procuremen-layout .bootstrap-table .fixed-columns-right .fixed-table-body {
  661. pointer-events: auto;
  662. }
  663. #procuremen-layout .bootstrap-table .fixed-columns-right a.procuremen-op-open {
  664. position: relative;
  665. z-index: 6;
  666. pointer-events: auto;
  667. display: inline-block;
  668. vertical-align: middle;
  669. }
  670. #procuremen-layout .procuremen-op-btns .btn + .btn {
  671. margin-left: 6px;
  672. }
  673. /* 可排序列表头:去掉默认排序背景图,保留 .th-inner 内边距与文字对齐 */
  674. #procuremen-layout .bootstrap-table thead th.sortable,
  675. #procuremen-layout .bootstrap-table thead th .th-inner.sortable {
  676. background-image: none !important;
  677. background-position: unset !important;
  678. }
  679. #procuremen-layout .bootstrap-table thead th.sortable .th-inner,
  680. #procuremen-layout .bootstrap-table thead th .th-inner.sortable {
  681. display: block !important;
  682. width: 100% !important;
  683. max-width: 100%;
  684. padding: 8px 10px !important;
  685. box-sizing: border-box;
  686. vertical-align: middle;
  687. white-space: nowrap;
  688. overflow: hidden;
  689. text-overflow: ellipsis;
  690. }
  691. #procuremen-layout .bootstrap-table thead th.sortable .th-inner:after,
  692. #procuremen-layout .bootstrap-table thead th .th-inner.sortable:after {
  693. content: '\f0dc';
  694. font-family: FontAwesome;
  695. font-size: 11px;
  696. line-height: 1;
  697. color: #bbb;
  698. margin-left: 4px;
  699. vertical-align: middle;
  700. }
  701. #procuremen-layout .bootstrap-table thead th.sortable.asc .th-inner:after,
  702. #procuremen-layout .bootstrap-table thead th.sortable.desc .th-inner:after,
  703. #procuremen-layout .bootstrap-table thead th .th-inner.sortable.asc:after,
  704. #procuremen-layout .bootstrap-table thead th .th-inner.sortable.desc:after {
  705. color: #337ab7;
  706. }
  707. /* 采购确认弹层(完结/删除等) */
  708. body .layui-layer-procuremen-finish {
  709. display: flex !important;
  710. flex-direction: column !important;
  711. height: 400px !important;
  712. border-radius: 8px;
  713. overflow: hidden;
  714. box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  715. }
  716. body .layui-layer-procuremen-finish .layui-layer-title {
  717. background: #fff !important;
  718. color: #1f1f1f !important;
  719. border-bottom: 1px solid #f0f0f0;
  720. height: 48px;
  721. line-height: 48px;
  722. font-size: 15px;
  723. font-weight: 600;
  724. flex-shrink: 0;
  725. padding: 0 20px;
  726. }
  727. body .layui-layer-procuremen-finish .layui-layer-setwin {
  728. top: 2px;
  729. right: 12px;
  730. }
  731. body .layui-layer-procuremen-finish .layui-layer-content {
  732. flex: 1 1 auto !important;
  733. min-height: 0 !important;
  734. padding: 16px 20px !important;
  735. overflow: hidden !important;
  736. height: auto !important;
  737. display: flex !important;
  738. flex-direction: column !important;
  739. }
  740. body .layui-layer-procuremen-finish .procuremen-confirm-body {
  741. flex: 1 1 auto;
  742. min-height: 0;
  743. display: flex;
  744. flex-direction: column;
  745. text-align: left;
  746. line-height: 1.6;
  747. font-size: 13px;
  748. color: #434343;
  749. }
  750. body .layui-layer-procuremen-finish .procuremen-confirm-intro {
  751. margin: 0 0 12px;
  752. flex-shrink: 0;
  753. }
  754. body .layui-layer-procuremen-finish .procuremen-confirm-scroll {
  755. flex: 1 1 auto;
  756. min-height: 0;
  757. overflow-y: auto;
  758. overflow-x: hidden;
  759. border: 1px solid #f0f0f0;
  760. border-radius: 6px;
  761. background: #fafafa;
  762. }
  763. body .layui-layer-procuremen-finish .procuremen-confirm-table {
  764. margin: 0;
  765. font-size: 12px;
  766. border: none;
  767. background: #fff;
  768. width: 100%;
  769. table-layout: fixed;
  770. }
  771. body .layui-layer-procuremen-finish .procuremen-confirm-table th:nth-child(1),
  772. body .layui-layer-procuremen-finish .procuremen-confirm-table td:nth-child(1) {
  773. width: 150px;
  774. white-space: nowrap;
  775. }
  776. body .layui-layer-procuremen-finish .procuremen-confirm-table th:nth-child(2),
  777. body .layui-layer-procuremen-finish .procuremen-confirm-table td:nth-child(2) {
  778. width: 140px;
  779. }
  780. body .layui-layer-procuremen-finish .procuremen-confirm-table th:nth-child(3),
  781. body .layui-layer-procuremen-finish .procuremen-confirm-table td:nth-child(3) {
  782. width: auto;
  783. }
  784. body .layui-layer-procuremen-finish .procuremen-confirm-table thead th {
  785. position: sticky;
  786. top: 0;
  787. background: #f5f5f5;
  788. z-index: 1;
  789. border-bottom: 1px solid #f0f0f0;
  790. color: #595959;
  791. font-weight: 500;
  792. }
  793. body .layui-layer-procuremen-finish .procuremen-confirm-table tbody td {
  794. border-color: #f5f5f5;
  795. color: #434343;
  796. }
  797. body .layui-layer-procuremen-finish .layui-layer-btn {
  798. flex-shrink: 0 !important;
  799. text-align: right !important;
  800. padding: 12px 20px !important;
  801. background: #fff !important;
  802. border-top: 1px solid #f0f0f0;
  803. margin-top: auto;
  804. }
  805. body .layui-layer-procuremen-finish .layui-layer-btn a {
  806. height: 32px;
  807. line-height: 32px;
  808. margin: 0 0 0 8px;
  809. padding: 0 16px;
  810. font-size: 13px;
  811. border-radius: 4px;
  812. }
  813. body .layui-layer-procuremen-finish .layui-layer-btn1 {
  814. background: #fff !important;
  815. border: 1px solid #d9d9d9 !important;
  816. color: #333 !important;
  817. }
  818. body .layui-layer-procuremen-finish .layui-layer-btn1:hover {
  819. border-color: #1677ff !important;
  820. color: #1677ff !important;
  821. }
  822. body .layui-layer-procuremen-finish .layui-layer-btn0 {
  823. background-color: #27C24C !important;
  824. border-color: #23ad44 !important;
  825. color: #fff !important;
  826. }
  827. body .layui-layer-procuremen-finish .layui-layer-btn0:hover {
  828. background-color: #1e983e !important;
  829. border-color: #1a8737 !important;
  830. color: #fff !important;
  831. }
  832. #procuremen-layout .procuremen-po-field.procuremen-po-dirty {
  833. border-color: #f0ad4e;
  834. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(240, 173, 78, 0.45);
  835. }
  836. .procuremen-po-popover {
  837. position: fixed;
  838. z-index: 100050;
  839. padding: 6px 8px;
  840. background: #fff;
  841. border: 1px solid #d2d6de;
  842. border-radius: 4px;
  843. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  844. }
  845. .procuremen-po-popover-inner {
  846. white-space: nowrap;
  847. }
  848. .procuremen-po-popover-inner .btn + .btn {
  849. margin-left: 6px;
  850. }
  851. #procuremen-layout .procuremen-supplier-lines-cell {
  852. position: relative;
  853. }
  854. #procuremen-layout .procuremen-supplier-lines-cell .procuremen-supplier-caret {
  855. position: absolute;
  856. right: 0;
  857. top: 0;
  858. height: 100%;
  859. line-height: 1;
  860. background: #eee;
  861. color: #ddd;
  862. padding: 0 5px;
  863. display: flex;
  864. justify-content: center;
  865. align-items: center;
  866. cursor: pointer;
  867. }
  868. #procuremen-layout .procuremen-supplier-lines-cell .procuremen-supplier-caret:hover {
  869. color: #999;
  870. }
  871. </style>
  872. <div class="panel panel-default panel-intro" id="procuremen-layout"
  873. data-default-ym="{$defaultYm|htmlentities}"
  874. data-procuremen-redis-api="{$procuremenRedisApi|htmlentities}"
  875. data-procuremen-stage="{$procuremenStage|default='pick'|htmlentities}"
  876. data-can-dispatch="{$procuremenBtnDispatch|default=0}"
  877. data-can-pick-delete="{$procuremenBtnPickDelete|default=0}"
  878. data-can-complete="{$procuremenBtnComplete|default=0}"
  879. data-can-audit-abandon="{$procuremenBtnAuditAbandon|default=0}">
  880. {:build_heading()}
  881. <div class="panel-body">
  882. <div class="row procuremen-layout">
  883. <div class="procuremen-sidebar">
  884. {foreach name="sidebarYearMonths" item="block"}
  885. <div class="procuremen-year-block">
  886. <div class="year-title">{$block.year}年</div>
  887. {foreach name="block.months" item="item"}
  888. <a href="javascript:;" class="procuremen-ym-item{if $item.ym == $defaultYm} active{/if}" data-ym="{$item.ym|htmlentities}">{$item.label|htmlentities}</a>
  889. {/foreach}
  890. </div>
  891. {/foreach}
  892. </div>
  893. <div class="procuremen-main">
  894. <div id="myTabContent" class="tab-content">
  895. <div class="tab-pane fade active in" id="one">
  896. <div class="widget-body no-padding">
  897. <div id="procuremen-toolbar-host" class="procuremen-toolbar-host clearfix"></div>
  898. <div class="procuremen-table-area">
  899. <div id="toolbar" class="toolbar">
  900. <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" >刷新 <i class="fa fa-refresh"></i> </a>
  901. {if isset($procuremenBtnAuditAbandon) && $procuremenBtnAuditAbandon}
  902. <a href="javascript:;" class="btn btn-danger procuremen-stage-hide hide" id="btn-procuremen-audit-abandon" title="勾选一条或多条订单退回协助初选重新下发(历史记录保留)"><i class="fa fa-repeat"></i> 重新下发</a>
  903. {/if}
  904. {if isset($procuremenBtnDispatch) && $procuremenBtnDispatch}
  905. <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>
  906. {/if}
  907. {if isset($procuremenBtnComplete) && $procuremenBtnComplete}
  908. <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>
  909. {/if}
  910. {if isset($procuremenBtnPickDelete) && $procuremenBtnPickDelete}
  911. <a href="javascript:;" class="btn btn-danger procuremen-stage-hide hide" id="btn-procuremen-pick-delete" title="勾选一条或多条工序从初选列表移除"><i class="fa fa-trash"></i> 删除</a>
  912. {/if}
  913. </div>
  914. <table id="table"
  915. class="table table-bordered table-hover">
  916. </table>
  917. </div>
  918. </div>
  919. </div>
  920. </div>
  921. </div>
  922. </div>
  923. </div>
  924. </div>