audit_append.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  1. <style>
  2. /*
  3. * 补加供应商:与初选 review 同一套结构/样式(轻量弹窗壳下 body 直接包表单)
  4. */
  5. body.is-dialog > .review-dialog-form.audit-append-form,
  6. .review-dialog-form.audit-append-form {
  7. display: flex;
  8. flex-direction: column;
  9. height: 100% !important;
  10. max-height: 100%;
  11. min-height: 0;
  12. box-sizing: border-box;
  13. padding: 8px 12px 0;
  14. overflow: hidden;
  15. margin: 0;
  16. background: #fff;
  17. }
  18. .audit-append-form .review-split {
  19. display: flex;
  20. flex-direction: column;
  21. flex: 1 1 0%;
  22. min-height: 0;
  23. gap: 8px;
  24. overflow: hidden;
  25. }
  26. .audit-append-form .review-split-left {
  27. flex: 0 0 auto !important;
  28. width: 100%;
  29. min-width: 0;
  30. height: auto !important;
  31. padding-bottom: 8px;
  32. border-bottom: 1px solid #e5e5e5;
  33. }
  34. .audit-append-form .review-merge-table-wrap {
  35. max-height: min(42vh, 360px);
  36. overflow: auto;
  37. border: 1px solid #e5e5e5;
  38. }
  39. .audit-append-form .review-merge-table {
  40. margin: 0;
  41. font-size: 12px;
  42. width: 100%;
  43. }
  44. .audit-append-form .review-merge-table > thead > tr > th {
  45. position: sticky;
  46. top: 0;
  47. z-index: 2;
  48. white-space: nowrap;
  49. background: #f5f5f5;
  50. border: 1px solid #ddd !important;
  51. padding: 3px 6px;
  52. line-height: 1.35;
  53. }
  54. .audit-append-form .review-merge-table > tbody > tr > td {
  55. padding: 3px 6px;
  56. line-height: 1.35;
  57. word-break: break-word;
  58. white-space: normal;
  59. vertical-align: middle;
  60. border: 1px solid #ddd !important;
  61. }
  62. .audit-append-form .review-deadline-row {
  63. display: flex;
  64. flex-wrap: wrap;
  65. align-items: center;
  66. gap: 8px 20px;
  67. margin-top: 8px;
  68. padding-top: 8px;
  69. border-top: 1px dashed #e0e0e0;
  70. width: 100%;
  71. }
  72. .audit-append-form .review-deadline-item {
  73. display: inline-flex !important;
  74. flex-direction: row !important;
  75. flex-wrap: nowrap !important;
  76. align-items: center !important;
  77. gap: 8px 10px;
  78. }
  79. .audit-append-form .review-deadline-row .review-field-label {
  80. flex-shrink: 0;
  81. margin: 0;
  82. font-weight: 600;
  83. font-size: 13px;
  84. color: #000;
  85. }
  86. .audit-append-form .procuremen-sys-rq-split .procuremen-sys-rq-fields {
  87. display: inline-flex !important;
  88. flex-direction: row !important;
  89. flex-wrap: nowrap !important;
  90. align-items: center !important;
  91. gap: 8px;
  92. max-width: 100%;
  93. }
  94. .audit-append-form .procuremen-sys-rq-split .procuremen-sys-rq-time-group {
  95. display: inline-flex !important;
  96. flex-direction: row !important;
  97. flex-wrap: nowrap !important;
  98. align-items: center !important;
  99. gap: 4px;
  100. flex: 0 0 auto;
  101. }
  102. .audit-append-form .procuremen-sys-rq-date,
  103. .audit-append-form .audit-delivery-deadline-input {
  104. display: inline-block !important;
  105. width: 148px !important;
  106. min-width: 132px;
  107. max-width: 148px;
  108. height: 32px;
  109. flex: 0 0 auto;
  110. }
  111. .audit-append-form .procuremen-sys-rq-hour,
  112. .audit-append-form .procuremen-sys-rq-minute,
  113. .audit-append-form select.form-control.procuremen-sys-rq-hour,
  114. .audit-append-form select.form-control.procuremen-sys-rq-minute {
  115. display: inline-block !important;
  116. float: none !important;
  117. width: 64px !important;
  118. min-width: 64px !important;
  119. max-width: 64px !important;
  120. height: 32px !important;
  121. padding: 4px 6px !important;
  122. margin: 0 !important;
  123. flex: 0 0 64px !important;
  124. box-sizing: border-box !important;
  125. }
  126. .audit-append-form .procuremen-sys-rq-colon {
  127. flex: 0 0 auto;
  128. color: #666;
  129. font-weight: 600;
  130. line-height: 32px;
  131. }
  132. .audit-append-form .review-deadline-input-wrap {
  133. display: inline-block;
  134. flex: 0 0 auto;
  135. vertical-align: middle;
  136. }
  137. .audit-append-form .review-selected-summary {
  138. flex: 0 0 52px !important;
  139. flex-grow: 0 !important;
  140. flex-shrink: 0 !important;
  141. flex-basis: 52px !important;
  142. width: 100%;
  143. margin: 0;
  144. padding: 6px 8px;
  145. background: #fafbfc;
  146. border: 1px solid #e3e8ee;
  147. border-radius: 3px;
  148. font-size: 12px;
  149. line-height: 1.4;
  150. height: 52px !important;
  151. min-height: 52px !important;
  152. max-height: 52px !important;
  153. overflow: hidden !important;
  154. box-sizing: border-box !important;
  155. }
  156. .audit-append-form .review-selected-top {
  157. display: flex;
  158. flex-wrap: nowrap;
  159. align-items: center;
  160. gap: 10px 14px;
  161. margin: 0 0 4px;
  162. min-width: 0;
  163. height: 18px;
  164. overflow: hidden;
  165. }
  166. .audit-append-form .review-selected-head {
  167. margin: 0;
  168. font-weight: 600;
  169. color: #333;
  170. flex-shrink: 0;
  171. white-space: nowrap;
  172. line-height: 18px;
  173. }
  174. .audit-append-form .review-selected-count {
  175. font-weight: 700;
  176. color: #3c8dbc;
  177. }
  178. .audit-append-form .review-selected-tip {
  179. margin: 0;
  180. padding: 0;
  181. border: none;
  182. background: transparent;
  183. color: #8a6d3b;
  184. font-size: 12px;
  185. line-height: 18px;
  186. flex: 1 1 auto;
  187. min-width: 0;
  188. white-space: nowrap;
  189. overflow: hidden;
  190. text-overflow: ellipsis;
  191. }
  192. .audit-append-form .review-selected-tip .fa {
  193. margin-right: 4px;
  194. color: #f0ad4e;
  195. }
  196. /* 第二行固定槽位:empty / tags 叠放,勾选时不改变文档流高度 */
  197. .audit-append-form .review-selected-slot {
  198. position: relative;
  199. height: 20px;
  200. margin: 0;
  201. overflow: hidden;
  202. }
  203. .audit-append-form .review-selected-empty {
  204. position: absolute;
  205. left: 0;
  206. right: 0;
  207. top: 0;
  208. margin: 0;
  209. color: #999;
  210. font-size: 12px;
  211. line-height: 20px;
  212. white-space: nowrap;
  213. overflow: hidden;
  214. text-overflow: ellipsis;
  215. }
  216. .audit-append-form .review-selected-tags {
  217. position: absolute;
  218. left: 0;
  219. right: 0;
  220. top: 0;
  221. display: flex;
  222. flex-wrap: nowrap;
  223. gap: 4px 6px;
  224. align-items: center;
  225. margin: 0;
  226. height: 20px;
  227. overflow: hidden;
  228. }
  229. .audit-append-form .review-selected-summary.is-empty .review-selected-tags {
  230. visibility: hidden;
  231. pointer-events: none;
  232. }
  233. .audit-append-form .review-selected-summary:not(.is-empty) .review-selected-empty {
  234. visibility: hidden;
  235. pointer-events: none;
  236. }
  237. .audit-append-form .review-selected-chip {
  238. display: inline-flex;
  239. align-items: center;
  240. max-width: 100%;
  241. padding: 0 4px 0 8px;
  242. gap: 2px;
  243. height: 20px;
  244. font-size: 12px;
  245. color: #2c6f9c;
  246. background: #e8f4fb;
  247. border: 1px solid #c5dce8;
  248. border-radius: 2px;
  249. box-sizing: border-box;
  250. }
  251. .audit-append-form .review-chip-text {
  252. flex: 1 1 auto;
  253. min-width: 0;
  254. overflow: hidden;
  255. text-overflow: ellipsis;
  256. white-space: nowrap;
  257. line-height: 18px;
  258. }
  259. .audit-append-form .review-chip-remove {
  260. flex: 0 0 auto;
  261. margin: 0;
  262. padding: 0 2px;
  263. border: none;
  264. background: transparent;
  265. color: #c9302c;
  266. font-size: 15px;
  267. font-weight: 700;
  268. line-height: 1;
  269. cursor: pointer;
  270. }
  271. .btn.procuremen-btn-slate {
  272. color: #fff !important;
  273. background-color: #4b5573 !important;
  274. border-color: #3e4659 !important;
  275. }
  276. .btn.procuremen-btn-slate:hover,
  277. .btn.procuremen-btn-slate:focus,
  278. .btn.procuremen-btn-slate:active {
  279. color: #fff !important;
  280. background-color: #3f485f !important;
  281. border-color: #353c4c !important;
  282. }
  283. .audit-append-form .review-split-right {
  284. flex: 1 1 0% !important;
  285. min-height: 0 !important;
  286. height: auto !important;
  287. max-height: none !important;
  288. display: flex;
  289. flex-direction: column;
  290. overflow: hidden;
  291. }
  292. .audit-append-form .review-company-panel {
  293. flex: 1 1 0% !important;
  294. width: 100%;
  295. min-height: 0 !important;
  296. height: 100% !important;
  297. max-height: none !important;
  298. display: flex;
  299. border: 1px solid #ddd;
  300. border-radius: 3px;
  301. background: #fff;
  302. overflow: hidden;
  303. box-sizing: border-box;
  304. }
  305. .audit-append-form .review-category-sidebar {
  306. flex: 0 0 196px;
  307. width: 196px;
  308. min-width: 196px;
  309. max-width: 196px;
  310. border-right: 1px solid #e0e0e0;
  311. background: #f9fafb;
  312. overflow-y: auto;
  313. font-size: 12px;
  314. }
  315. .audit-append-form .review-cat-head {
  316. padding: 6px 8px;
  317. font-weight: 600;
  318. color: #000;
  319. border-bottom: 1px solid #e5e5e5;
  320. background: #f0f2f5;
  321. }
  322. .audit-append-form .review-cat-item {
  323. display: block;
  324. padding: 5px 8px;
  325. color: #333;
  326. border-bottom: 1px solid #eee;
  327. cursor: pointer;
  328. line-height: 1.35;
  329. word-break: break-word;
  330. }
  331. .audit-append-form .review-cat-item:hover { background: #eef6fb; color: #2c6f9c; }
  332. .audit-append-form .review-cat-item.active {
  333. background: #3c8dbc;
  334. color: #fff;
  335. font-weight: 600;
  336. }
  337. .audit-append-form .review-cat-item .review-cat-count {
  338. opacity: 0.85;
  339. font-weight: normal;
  340. font-size: 11px;
  341. }
  342. .audit-append-form .review-company-main {
  343. flex: 1 1 0%;
  344. min-width: 0;
  345. min-height: 0;
  346. display: flex;
  347. flex-direction: column;
  348. overflow: hidden;
  349. }
  350. .audit-append-form .review-company-toolbar {
  351. flex: 0 0 auto;
  352. padding: 6px 8px;
  353. border-bottom: 1px solid #eee;
  354. background: #fafafa;
  355. }
  356. .audit-append-form .review-company-toolbar .form-control {
  357. font-size: 12px;
  358. height: 30px;
  359. }
  360. .audit-append-form .review-table-scroll {
  361. flex: 1 1 0% !important;
  362. min-height: 0 !important;
  363. overflow: auto !important;
  364. font-size: 12px;
  365. scrollbar-gutter: stable;
  366. }
  367. .audit-append-form .review-table-scroll .table-responsive {
  368. margin-bottom: 0;
  369. overflow: visible;
  370. }
  371. .audit-append-form .review-company-table {
  372. margin-bottom: 0;
  373. table-layout: fixed;
  374. width: 100%;
  375. border-collapse: separate;
  376. border-spacing: 0;
  377. }
  378. .audit-append-form .review-company-table > thead > tr > th {
  379. position: sticky;
  380. top: 0;
  381. z-index: 2;
  382. background: #f5f5f5;
  383. }
  384. .audit-append-form .review-company-table > thead > tr > th,
  385. .audit-append-form .review-company-table > tbody > tr > td {
  386. padding: 3px 6px;
  387. line-height: 1.35;
  388. vertical-align: top;
  389. word-break: break-word;
  390. border: 1px solid #ddd;
  391. }
  392. .audit-append-form .review-company-table > thead > tr > th.review-th-cb,
  393. .audit-append-form .review-company-table > tbody > tr > td.review-td-cb {
  394. width: 34px !important;
  395. min-width: 34px !important;
  396. max-width: 34px !important;
  397. text-align: center;
  398. vertical-align: middle !important;
  399. padding-left: 2px;
  400. padding-right: 2px;
  401. }
  402. .audit-append-form .review-company-table .review-th-cb input[type="checkbox"],
  403. .audit-append-form .review-company-table .review-td-cb input[type="checkbox"] {
  404. margin: 0;
  405. vertical-align: middle;
  406. position: relative;
  407. top: 1px;
  408. }
  409. .audit-append-form tr.is-existing td { color: #999; background: #f7f7f7; }
  410. .audit-append-form .layer-footer {
  411. flex: 0 0 auto;
  412. width: 100%;
  413. box-sizing: border-box;
  414. margin: 0;
  415. padding: 8px 14px 8px 0;
  416. border-top: 1px solid #e5e5e5;
  417. background: #fafafa;
  418. text-align: right !important;
  419. }
  420. .audit-append-form .layer-footer .btn + .btn { margin-left: 8px; }
  421. </style>
  422. <form id="audit-append-form" class="review-dialog-form audit-append-form" role="form" style="margin:0;">
  423. {:token()}
  424. <input type="hidden" name="scydgy_id" id="audit-append-scydgy-id" value="{$scydgyId|htmlentities}"/>
  425. <input type="hidden" id="audit-append-existing-json" value="{$existingCompanyNamesJson|default='[]'|htmlentities}"/>
  426. <div class="review-split">
  427. <div class="review-split-left">
  428. <div class="review-merge-panel">
  429. <div class="review-merge-table-wrap">
  430. <table class="table table-bordered table-condensed review-merge-table">
  431. <thead>
  432. <tr>
  433. <th class="text-center" style="width:100px;">订单号</th>
  434. <th style="min-width:160px;">印件名称</th>
  435. <th>工序名称</th>
  436. <th class="text-center" style="width:56px;">单位</th>
  437. <th class="text-center" style="width:72px;">工作量</th>
  438. <th class="text-center" style="width:72px;">本次数量</th>
  439. <th class="text-center" style="width:72px;">最高限价</th>
  440. <th class="text-center" style="width:80px;">订法</th>
  441. <th style="min-width:120px;">备注</th>
  442. </tr>
  443. </thead>
  444. <tbody>
  445. {volist name="processDisplayRows" id="pr"}
  446. <tr>
  447. {if $pr.show_order_cells}
  448. <td class="text-center"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''}</td>
  449. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''}</td>
  450. {/if}
  451. <td>{$pr.CGYMC|default=''}</td>
  452. <td class="text-center">{$pr.CDW|default=''}</td>
  453. <td class="text-center">{$pr.NGZL|default=''}</td>
  454. <td class="text-center">{$pr.This_quantity|default=''}</td>
  455. <td class="text-center">{$pr.ceilingPrice|default=''}</td>
  456. <td class="text-center">{$pr.CDF|default=''}</td>
  457. <td>{$pr.MBZ|default=''}</td>
  458. </tr>
  459. {/volist}
  460. </tbody>
  461. </table>
  462. </div>
  463. </div>
  464. <div class="review-deadline-row">
  465. <div class="review-deadline-item">
  466. <span class="review-field-label">招标截止日期:</span>
  467. <div class="review-deadline-input-wrap procuremen-sys-rq-split is-readonly" id="audit-append-sys-rq-wrap" title="仅查看">
  468. <input type="hidden" id="audit-append-sys-rq" value="{$sysRq|default=''|htmlentities}"/>
  469. <div class="procuremen-sys-rq-fields" style="display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;">
  470. <input type="date" class="form-control procuremen-sys-rq-date" title="招标截止日期" readonly="readonly" disabled="disabled" tabindex="-1" style="width:148px;height:32px;"/>
  471. <div class="procuremen-sys-rq-time-group" style="display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:4px;">
  472. <select class="form-control procuremen-sys-rq-hour" disabled="disabled" tabindex="-1" style="width:64px;height:32px;display:inline-block;"></select>
  473. <span class="procuremen-sys-rq-colon">:</span>
  474. <select class="form-control procuremen-sys-rq-minute" disabled="disabled" tabindex="-1" style="width:64px;height:32px;display:inline-block;"></select>
  475. </div>
  476. </div>
  477. </div>
  478. </div>
  479. <div class="review-deadline-item">
  480. <span class="review-field-label">交货截止日期:</span>
  481. <input type="text" class="form-control audit-delivery-deadline-input" value="{$deliveryDeadline|default=''|htmlentities}" readonly="readonly" disabled="disabled" tabindex="-1"/>
  482. </div>
  483. </div>
  484. </div>
  485. <div class="review-selected-summary is-empty" id="review-selected-summary" aria-live="polite">
  486. <div class="review-selected-top">
  487. <div class="review-selected-head">
  488. 已选单位(<span class="review-selected-count" id="review-selected-count">0</span>)
  489. </div>
  490. <p class="review-selected-tip" role="note">
  491. <i class="fa fa-exclamation-triangle"></i>
  492. <strong>重要提示:</strong>确认后将向新选供应商<strong>发送短信与邮件</strong>;已下发过的供应商不可再选。
  493. </p>
  494. </div>
  495. <div class="review-selected-slot">
  496. <p class="review-selected-empty" id="review-selected-empty">暂未选择供应商</p>
  497. <div class="review-selected-tags" id="review-selected-tags"></div>
  498. </div>
  499. </div>
  500. <div class="review-split-right">
  501. <div class="review-company-panel">
  502. <aside class="review-category-sidebar" id="review-category-sidebar">
  503. <div class="review-cat-head">业务分组</div>
  504. <div id="review-category-list"></div>
  505. </aside>
  506. <div class="review-company-main">
  507. <div class="review-company-toolbar">
  508. <input type="text" class="form-control" id="review-company-search" placeholder="搜索供应商名称、姓名、邮箱、手机号、业务分类…" autocomplete="off"/>
  509. </div>
  510. <div class="review-table-scroll">
  511. <div class="table-responsive">
  512. <table class="table table-bordered table-hover table-striped table-condensed review-company-table">
  513. <colgroup>
  514. <col style="width:34px"/>
  515. <col style="width:27%"/>
  516. <col style="width:9%"/>
  517. <col style="width:16%"/>
  518. <col style="width:15%"/>
  519. <col style="width:27%"/>
  520. </colgroup>
  521. <thead>
  522. <tr>
  523. <th class="review-th-cb"><input type="checkbox" id="review-check-all"/></th>
  524. <th>供应商名称</th>
  525. <th>姓名</th>
  526. <th>邮箱</th>
  527. <th>手机号</th>
  528. <th>业务分类</th>
  529. </tr>
  530. </thead>
  531. <tbody id="review-company-tbody"></tbody>
  532. </table>
  533. </div>
  534. </div>
  535. </div>
  536. </div>
  537. </div>
  538. </div>
  539. <div class="layer-footer clearfix">
  540. <div class="pull-right">
  541. <button type="button" style="margin-right:20px" id="btn-audit-append-submit" class="btn procuremen-btn-slate btn-embossed">确认</button>
  542. <button type="button" style="margin-right:20px" class="btn btn-default btn-embossed btn-close" id="btn-audit-append-close">{:__('Close')}</button>
  543. </div>
  544. </div>
  545. </form>