audit_append.html 20 KB

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