review.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  1. <style>
  2. /*
  3. * 上:订单信息(订单号、印件名称突出);下:左侧分类 + 右侧搜索与公司表格。
  4. */
  5. body.is-dialog #main,
  6. body.is-dialog #main > .tab-content,
  7. body.is-dialog #main #content {
  8. height: 100%;
  9. min-height: 0;
  10. }
  11. body.is-dialog #content > .row,
  12. body.is-dialog #content > .row > [class*="col-"] {
  13. height: 100%;
  14. min-height: 0;
  15. }
  16. body.is-dialog .content {
  17. height: 100%;
  18. min-height: 0;
  19. box-sizing: border-box;
  20. }
  21. body.is-dialog .review-dialog-form,
  22. .review-dialog-form {
  23. display: flex;
  24. flex-direction: column;
  25. height: 100%;
  26. max-height: 100%;
  27. min-height: min(72vh, 640px);
  28. box-sizing: border-box;
  29. padding: 8px 12px 0;
  30. }
  31. .review-split {
  32. display: flex;
  33. flex-direction: column;
  34. align-items: stretch;
  35. flex-wrap: nowrap;
  36. gap: 10px;
  37. flex: 1 1 0%;
  38. min-height: 0;
  39. overflow: visible;
  40. }
  41. .review-split-left {
  42. flex: 0 0 auto;
  43. width: 100%;
  44. min-width: 0;
  45. padding-bottom: 10px;
  46. border-bottom: 1px solid #e5e5e5;
  47. overflow: visible;
  48. position: relative;
  49. z-index: 60;
  50. }
  51. .review-split-right {
  52. flex: 1 1 0%;
  53. width: 100%;
  54. min-width: 0;
  55. min-height: 0;
  56. display: flex;
  57. flex-direction: column;
  58. overflow: hidden;
  59. }
  60. .review-split-left .review-block-title {
  61. margin: 0 0 8px;
  62. font-weight: 600;
  63. font-size: 13px;
  64. color: #000;
  65. }
  66. /* 订单号、印件名称:标签与数值同字号;标题黑色,数值样式不变 */
  67. .review-order-highlight {
  68. display: flex;
  69. flex-direction: row;
  70. flex-wrap: wrap;
  71. align-items: baseline;
  72. gap: 6px 22px;
  73. margin-bottom: 8px;
  74. font-size: 15px;
  75. line-height: 1.5;
  76. }
  77. .review-order-highlight .review-highlight-item {
  78. display: flex;
  79. flex-direction: row;
  80. align-items: baseline;
  81. gap: 6px;
  82. min-width: 0;
  83. }
  84. .review-order-highlight .review-field-label {
  85. flex-shrink: 0;
  86. margin: 0;
  87. font-weight: 600;
  88. font-size: 15px;
  89. color: #000;
  90. }
  91. .review-order-highlight .review-highlight-value {
  92. margin: 0;
  93. color: #333;
  94. font-size: 15px;
  95. font-weight: 700;
  96. word-break: break-word;
  97. }
  98. /* 工序名称等:标题黑色;标签与内容同 13px */
  99. .review-order-meta {
  100. display: flex;
  101. flex-direction: row;
  102. flex-wrap: wrap;
  103. align-items: baseline;
  104. gap: 6px 22px;
  105. font-size: 13px;
  106. line-height: 1.5;
  107. }
  108. .review-order-meta .review-meta-item {
  109. display: flex;
  110. flex-direction: row;
  111. align-items: baseline;
  112. gap: 6px;
  113. min-width: 0;
  114. }
  115. .review-order-meta .review-field-label {
  116. flex-shrink: 0;
  117. margin: 0;
  118. font-weight: 600;
  119. font-size: 13px;
  120. color: #000;
  121. }
  122. .review-order-meta .review-meta-inline {
  123. margin: 0;
  124. color: #333;
  125. font-size: 13px;
  126. word-break: break-word;
  127. }
  128. .review-deadline-row {
  129. display: flex;
  130. flex-wrap: wrap;
  131. align-items: flex-start;
  132. gap: 8px 12px;
  133. margin-top: 10px;
  134. padding-top: 10px;
  135. border-top: 1px dashed #e0e0e0;
  136. width: 100%;
  137. position: relative;
  138. z-index: 61;
  139. overflow: visible;
  140. }
  141. .review-deadline-row .review-field-label {
  142. flex-shrink: 0;
  143. margin: 0;
  144. font-weight: 600;
  145. font-size: 13px;
  146. color: #000;
  147. }
  148. .review-deadline-input-wrap {
  149. position: relative;
  150. flex: 0 0 auto;
  151. z-index: 62;
  152. }
  153. .review-deadline-row .review-sys-rq-input {
  154. width: 240px;
  155. max-width: 240px;
  156. min-width: 180px;
  157. }
  158. /* 截止时间日历:浮在弹窗最上层,不占文档流 */
  159. body.is-dialog .bootstrap-datetimepicker-widget.dropdown-menu {
  160. z-index: 19999999 !important;
  161. box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  162. }
  163. .review-split-right .review-right-title {
  164. flex-shrink: 0;
  165. margin: 0 0 6px;
  166. font-weight: 600;
  167. font-size: 13px;
  168. color: #000;
  169. }
  170. .review-split-right .procuremen-review-submit-tip {
  171. flex-shrink: 0;
  172. margin: 0 0 8px;
  173. padding: 8px 10px;
  174. border: 1px solid #eea236;
  175. background: #fcf8e3;
  176. color: #8a6d3b;
  177. font-size: 13px;
  178. line-height: 1.65;
  179. border-radius: 3px;
  180. }
  181. .review-split-right .procuremen-review-submit-tip .fa {
  182. margin-right: 6px;
  183. }
  184. /* 提交:与列表审核 / 采购确认、弹层「确定」一致 */
  185. .btn.procuremen-btn-slate {
  186. color: #fff !important;
  187. background-color: #4b5573 !important;
  188. border-color: #3e4659 !important;
  189. }
  190. .btn.procuremen-btn-slate:hover,
  191. .btn.procuremen-btn-slate:focus,
  192. .btn.procuremen-btn-slate:active {
  193. color: #fff !important;
  194. background-color: #3f485f !important;
  195. border-color: #353c4c !important;
  196. }
  197. /* 左侧分类 + 右侧列表 */
  198. .review-company-panel {
  199. flex: 1 1 0%;
  200. min-height: 0;
  201. display: flex;
  202. flex-direction: row;
  203. align-items: stretch;
  204. gap: 0;
  205. border: 1px solid #ddd;
  206. border-radius: 3px;
  207. background: #fff;
  208. overflow: hidden;
  209. }
  210. .review-category-sidebar {
  211. flex: 0 0 210px;
  212. width: 210px;
  213. min-width: 210px;
  214. max-width: 210px;
  215. border-right: 1px solid #e0e0e0;
  216. background: #f9fafb;
  217. overflow-y: auto;
  218. overflow-x: hidden;
  219. font-size: 12px;
  220. }
  221. .review-category-sidebar .review-cat-head {
  222. padding: 8px 10px;
  223. font-weight: 600;
  224. color: #000;
  225. border-bottom: 1px solid #e5e5e5;
  226. background: #f0f2f5;
  227. }
  228. .review-category-sidebar .review-cat-item {
  229. display: block;
  230. padding: 8px 10px;
  231. color: #333;
  232. text-decoration: none;
  233. border-bottom: 1px solid #eee;
  234. cursor: pointer;
  235. white-space: normal;
  236. word-break: break-word;
  237. overflow: visible;
  238. line-height: 1.45;
  239. }
  240. .review-category-sidebar .review-cat-item:hover {
  241. background: #eef6fb;
  242. color: #2c6f9c;
  243. }
  244. .review-category-sidebar .review-cat-item.active {
  245. background: #3c8dbc;
  246. color: #fff;
  247. font-weight: 600;
  248. }
  249. .review-category-sidebar .review-cat-item .review-cat-count {
  250. opacity: 0.85;
  251. font-weight: normal;
  252. font-size: 11px;
  253. }
  254. .review-category-sidebar .review-cat-item.active .review-cat-count {
  255. opacity: 0.95;
  256. }
  257. .review-company-main {
  258. flex: 1 1 0%;
  259. min-width: 0;
  260. min-height: 0;
  261. display: flex;
  262. flex-direction: column;
  263. overflow: hidden;
  264. }
  265. .review-company-toolbar {
  266. flex-shrink: 0;
  267. padding: 8px;
  268. border-bottom: 1px solid #eee;
  269. background: #fafafa;
  270. }
  271. .review-company-toolbar .form-control {
  272. font-size: 13px;
  273. height: 34px;
  274. }
  275. .review-table-scroll {
  276. flex: 1 1 0%;
  277. min-height: 0;
  278. box-sizing: border-box;
  279. width: 100%;
  280. overflow: auto;
  281. font-size: 12px;
  282. border: none;
  283. border-radius: 0;
  284. }
  285. .review-table-scroll .table-responsive {
  286. margin-bottom: 0;
  287. }
  288. .review-table-scroll table {
  289. margin-bottom: 0;
  290. }
  291. .review-table-scroll .table > thead > tr > th,
  292. .review-table-scroll .table > tbody > tr > td {
  293. padding: 5px 6px;
  294. }
  295. .review-company-table {
  296. table-layout: fixed;
  297. width: 100%;
  298. }
  299. /* 姓名、邮箱列收窄(colgroup 为主,此处补 max-width 防撑开) */
  300. .review-company-table > thead > tr > th:nth-child(3),
  301. .review-company-table > tbody > tr > td:nth-child(3) {
  302. max-width: 88px;
  303. }
  304. .review-company-table > thead > tr > th:nth-child(4),
  305. .review-company-table > tbody > tr > td:nth-child(4) {
  306. max-width: 200px;
  307. }
  308. .review-company-table > thead > tr > th.review-th-cb,
  309. .review-company-table > tbody > tr > td.review-td-cb {
  310. width: 34px;
  311. min-width: 34px;
  312. max-width: 34px;
  313. text-align: center;
  314. vertical-align: middle !important;
  315. padding-left: 2px;
  316. padding-right: 2px;
  317. }
  318. .review-company-table .review-th-cb input[type="checkbox"],
  319. .review-company-table .review-td-cb input[type="checkbox"] {
  320. margin: 0;
  321. vertical-align: middle;
  322. position: relative;
  323. top: 1px;
  324. }
  325. /* 单元格完整展示,不换行省略号 */
  326. .review-company-table > tbody > tr > td:not(.review-td-cb) {
  327. white-space: normal;
  328. word-wrap: break-word;
  329. word-break: break-word;
  330. overflow: visible;
  331. vertical-align: top;
  332. }
  333. .review-company-table > thead > tr > th:not(.review-th-cb) {
  334. white-space: normal;
  335. word-break: break-word;
  336. vertical-align: middle;
  337. }
  338. .review-company-empty {
  339. padding: 24px 12px;
  340. text-align: center;
  341. color: #999;
  342. font-size: 13px;
  343. }
  344. .review-dialog-form .layer-footer {
  345. flex-shrink: 0;
  346. width: 100%;
  347. box-sizing: border-box;
  348. margin-top: 12px;
  349. padding: 10px 14px 10px 0;
  350. border-top: 1px solid #e5e5e5;
  351. background: #fafafa;
  352. text-align: right !important;
  353. }
  354. .review-dialog-form .layer-footer .pull-right {
  355. padding-right: 4px;
  356. }
  357. .review-dialog-form .layer-footer .btn + .btn {
  358. margin-left: 8px;
  359. }
  360. /* 已选单位:介于订单信息与下方提示之间,筛选滚动时仍可看到 */
  361. .review-selected-summary {
  362. flex-shrink: 0;
  363. margin: 0 0 10px;
  364. padding: 8px 10px;
  365. background: #fafbfc;
  366. border: 1px solid #e3e8ee;
  367. border-radius: 3px;
  368. font-size: 12px;
  369. line-height: 1.45;
  370. }
  371. .review-selected-summary .review-selected-head {
  372. margin: 0 0 6px;
  373. font-weight: 600;
  374. color: #333;
  375. }
  376. .review-selected-summary .review-selected-count {
  377. font-weight: 700;
  378. color: #3c8dbc;
  379. }
  380. .review-selected-summary .review-selected-empty {
  381. margin: 0;
  382. color: #999;
  383. font-size: 12px;
  384. }
  385. .review-selected-summary .review-selected-tags {
  386. display: flex;
  387. flex-wrap: wrap;
  388. gap: 6px 8px;
  389. align-items: flex-start;
  390. max-height: 104px;
  391. overflow-y: auto;
  392. margin: 0;
  393. }
  394. .review-selected-summary .review-selected-chip {
  395. display: inline-flex;
  396. align-items: flex-start;
  397. max-width: 100%;
  398. padding: 2px 4px 2px 8px;
  399. gap: 2px;
  400. font-size: 12px;
  401. color: #2c6f9c;
  402. background: #e8f4fb;
  403. border: 1px solid #c5dce8;
  404. border-radius: 2px;
  405. box-sizing: border-box;
  406. }
  407. .review-selected-summary .review-chip-text {
  408. flex: 1 1 auto;
  409. min-width: 0;
  410. word-break: break-all;
  411. line-height: 1.35;
  412. padding-top: 1px;
  413. }
  414. .review-selected-summary .review-chip-remove {
  415. flex: 0 0 auto;
  416. margin: 0;
  417. padding: 0 2px;
  418. border: none;
  419. background: transparent;
  420. color: #c9302c;
  421. font-size: 15px;
  422. font-weight: 700;
  423. line-height: 1.1;
  424. cursor: pointer;
  425. vertical-align: middle;
  426. }
  427. .review-selected-summary .review-chip-remove:hover,
  428. .review-selected-summary .review-chip-remove:focus {
  429. color: #a94442;
  430. outline: none;
  431. }
  432. </style>
  433. <form id="review-form" class="review-dialog-form" role="form" data-toggle="validator" method="post" action="">
  434. {:token()}
  435. <textarea class="hide" name="row_json" id="c-row-json" rows="1" cols="1"></textarea>
  436. <div class="review-split">
  437. <div class="review-split-left">
  438. <div class="review-order-highlight">
  439. <div class="review-highlight-item">
  440. <span class="review-field-label">订单号:</span>
  441. <span class="review-highlight-value" id="review-ccydh"></span>
  442. </div>
  443. <div class="review-highlight-item">
  444. <span class="review-field-label">印件名称:</span>
  445. <span class="review-highlight-value" id="review-cyjmc"></span>
  446. </div>
  447. </div>
  448. <div class="review-order-meta">
  449. <div class="review-meta-item">
  450. <span class="review-field-label">工序名称:</span>
  451. <span class="review-meta-inline" id="review-CGYMC"></span>
  452. </div>
  453. <div class="review-meta-item">
  454. <span class="review-field-label">单位:</span>
  455. <span class="review-meta-inline" id="review-CDW"></span>
  456. </div>
  457. <div class="review-meta-item">
  458. <span class="review-field-label">工作量:</span>
  459. <span class="review-meta-inline" id="review-NGZL"></span>
  460. </div>
  461. <div class="review-meta-item">
  462. <span class="review-field-label">本次数量:</span>
  463. <span class="review-meta-inline" id="review-qty-display">—</span>
  464. </div>
  465. <div class="review-meta-item">
  466. <span class="review-field-label">最高限价:</span>
  467. <span class="review-meta-inline" id="review-price-display">—</span>
  468. </div>
  469. <div class="review-meta-item">
  470. <span class="review-field-label">订法:</span>
  471. <span class="review-meta-inline" id="review-CDF"></span>
  472. </div>
  473. <div class="review-meta-item">
  474. <span class="review-field-label">外厂单位:</span>
  475. <span class="review-meta-inline" id="review-cGzzxMc"></span>
  476. </div>
  477. </div>
  478. <div class="review-deadline-row">
  479. <span class="review-field-label">截止时间:<span class="text-danger">*</span></span>
  480. <div class="review-deadline-input-wrap">
  481. <input type="text" id="review-sys-rq" name="sys_rq" class="form-control datetimepicker review-sys-rq-input"
  482. data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true"
  483. placeholder="请选择年月日时分" autocomplete="off" required="required"/>
  484. </div>
  485. </div>
  486. </div>
  487. <div class="review-selected-summary" id="review-selected-summary" aria-live="polite">
  488. <div class="review-selected-head">
  489. 已选单位(<span class="review-selected-count" id="review-selected-count">0</span>)
  490. </div>
  491. <p class="review-selected-empty" id="review-selected-empty">暂未选择;在下方表格中勾选后,公司名称会显示在此处。</p>
  492. <div class="review-selected-tags" id="review-selected-tags"></div>
  493. </div>
  494. <div class="review-split-right">
  495. <div class="alert alert-warning procuremen-review-submit-tip" role="alert">
  496. <i class="fa fa-exclamation-triangle"></i>
  497. <strong>重要提示:</strong>提交将向<strong>已勾选</strong>单位发送<strong>邮件</strong>与<strong>手机短信</strong>通知;该操作<strong>不可撤回或更改</strong>,请仔细核对勾选结果后再点击「确认」。
  498. </div>
  499. <div class="review-company-panel">
  500. <aside class="review-category-sidebar" id="review-category-sidebar">
  501. <div class="review-cat-head">本次下发分组</div>
  502. <div id="review-category-list"></div>
  503. </aside>
  504. <div class="review-company-main">
  505. <div class="review-company-toolbar">
  506. <input type="text" class="form-control" id="review-company-search" placeholder="搜索公司名称、联系人、邮箱、手机号、业务分类…" autocomplete="off"/>
  507. </div>
  508. <div class="review-table-scroll">
  509. <div class="table-responsive">
  510. <table class="table table-bordered table-hover table-striped table-condensed review-company-table">
  511. <colgroup>
  512. <col style="width:6%"/>
  513. <col style="width:27%"/>
  514. <col style="width:7%"/>
  515. <col style="width:14%"/>
  516. <col style="width: 19%"/>
  517. <col style="width:27%"/>
  518. </colgroup>
  519. <thead>
  520. <tr>
  521. <th class="review-th-cb"><input type="checkbox" id="review-check-all"/></th>
  522. <th>公司名称</th>
  523. <th>姓名</th>
  524. <th>邮箱</th>
  525. <th>手机号</th>
  526. <th>业务分类</th>
  527. </tr>
  528. </thead>
  529. <tbody id="review-company-tbody">
  530. </tbody>
  531. </table>
  532. </div>
  533. </div>
  534. </div>
  535. </div>
  536. </div>
  537. </div>
  538. <div class="layer-footer clearfix">
  539. <div class="pull-right">
  540. <button type="button" style="margin-right: 20px" id="btn-review-submit" class="btn procuremen-btn-slate btn-embossed"> 提交</button>
  541. <button type="reset" style="margin-right: 20px" class="btn btn-default btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
  542. </div>
  543. </div>
  544. </form>