audit_issue.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. <style>
  2. body.is-dialog .audit-issue-wrap {
  3. padding: 12px 14px 0;
  4. max-width: 100%;
  5. box-sizing: border-box;
  6. }
  7. .audit-issue-wrap .audit-block-title {
  8. margin: 0 0 6px;
  9. font-weight: 600;
  10. font-size: 13px;
  11. color: #333;
  12. }
  13. .audit-issue-wrap .audit-notify-tip {
  14. margin: 0 0 10px;
  15. padding: 8px 12px;
  16. font-size: 12px;
  17. line-height: 1.65;
  18. color: #8a6d3b;
  19. background: #fcf8e3;
  20. border: 1px solid #faebcc;
  21. border-radius: 3px;
  22. }
  23. .audit-issue-wrap .audit-table-wrap {
  24. /* 不在表格区域内部滚动,由弹窗页面整体滚动 */
  25. max-height: none;
  26. overflow-x: auto;
  27. overflow-y: visible;
  28. margin-bottom: 12px;
  29. border: 1px solid #e5e5e5;
  30. }
  31. .audit-issue-wrap .audit-process-table {
  32. margin: 0;
  33. font-size: 12px;
  34. table-layout: fixed;
  35. width: 100%;
  36. min-width: 980px;
  37. }
  38. .audit-issue-wrap .audit-process-table col:nth-child(3) {
  39. width: 130px;
  40. }
  41. .audit-issue-wrap .audit-process-table col:nth-child(4) {
  42. width: 80px;
  43. }
  44. .audit-issue-wrap .audit-process-table td.audit-process-name {
  45. white-space: nowrap;
  46. }
  47. .audit-issue-wrap .audit-process-table th {
  48. background: #f5f5f5;
  49. white-space: nowrap;
  50. font-weight: 600;
  51. padding: 6px 8px;
  52. vertical-align: middle;
  53. border: 1px solid #ddd !important;
  54. }
  55. .audit-issue-wrap .audit-process-table th.text-center,
  56. .audit-issue-wrap .audit-process-table td.text-center {
  57. text-align: center;
  58. }
  59. .audit-issue-wrap .audit-process-table td {
  60. padding: 6px 8px;
  61. vertical-align: middle;
  62. word-wrap: break-word;
  63. border: 1px solid #ddd !important;
  64. }
  65. .audit-issue-wrap .audit-table {
  66. margin: 0;
  67. font-size: 12px;
  68. border-collapse: collapse;
  69. }
  70. .audit-issue-wrap .audit-table th {
  71. background: #f5f5f5;
  72. white-space: nowrap;
  73. font-weight: 600;
  74. padding: 6px 8px;
  75. vertical-align: middle;
  76. border: 1px solid #ddd !important;
  77. }
  78. .audit-issue-wrap .audit-table td {
  79. padding: 6px 8px;
  80. vertical-align: middle;
  81. word-wrap: break-word;
  82. line-height: 1.45;
  83. border: 1px solid #ddd !important;
  84. }
  85. .audit-issue-wrap .audit-quote-pick-table tbody tr {
  86. cursor: pointer;
  87. }
  88. .audit-issue-wrap .audit-quote-pick-table td label {
  89. margin: 0;
  90. font-weight: normal;
  91. cursor: pointer;
  92. }
  93. .audit-issue-wrap .audit-quote-item {
  94. margin-bottom: 6px;
  95. font-size: 12px;
  96. line-height: 1.5;
  97. }
  98. .audit-issue-wrap .audit-quote-item:last-child {
  99. margin-bottom: 0;
  100. }
  101. .audit-issue-wrap .audit-deadline-row {
  102. display: flex;
  103. align-items: flex-start;
  104. flex-wrap: wrap;
  105. gap: 8px 12px;
  106. margin: 0 0 12px;
  107. font-size: 13px;
  108. position: relative;
  109. z-index: 61;
  110. overflow: visible;
  111. }
  112. .audit-issue-wrap .audit-deadline-row .audit-field-label {
  113. font-weight: 600;
  114. color: #333;
  115. white-space: nowrap;
  116. flex-shrink: 0;
  117. margin: 7px 0 0;
  118. }
  119. .audit-issue-wrap .audit-deadline-input-wrap {
  120. position: relative;
  121. flex: 0 1 auto;
  122. min-width: 0;
  123. z-index: 62;
  124. }
  125. .audit-issue-wrap .procuremen-sys-rq-split .procuremen-sys-rq-fields {
  126. display: flex;
  127. flex-wrap: wrap;
  128. align-items: center;
  129. gap: 8px;
  130. }
  131. .audit-issue-wrap .procuremen-sys-rq-split .procuremen-sys-rq-date {
  132. width: 148px;
  133. min-width: 132px;
  134. height: 32px;
  135. padding: 4px 8px;
  136. }
  137. .audit-issue-wrap .procuremen-sys-rq-split .procuremen-sys-rq-time-group {
  138. display: inline-flex;
  139. align-items: center;
  140. gap: 4px;
  141. }
  142. .audit-issue-wrap .procuremen-sys-rq-split .procuremen-sys-rq-hour,
  143. .audit-issue-wrap .procuremen-sys-rq-split .procuremen-sys-rq-minute {
  144. width: 62px;
  145. height: 32px;
  146. padding: 4px 6px;
  147. }
  148. .audit-issue-wrap .procuremen-sys-rq-split .procuremen-sys-rq-colon {
  149. color: #666;
  150. font-weight: 600;
  151. line-height: 32px;
  152. }
  153. .audit-issue-wrap .procuremen-sys-rq-split.is-readonly .procuremen-sys-rq-date,
  154. .audit-issue-wrap .procuremen-sys-rq-split.is-readonly .procuremen-sys-rq-hour,
  155. .audit-issue-wrap .procuremen-sys-rq-split.is-readonly .procuremen-sys-rq-minute {
  156. background-color: #f5f5f5;
  157. color: #333;
  158. cursor: default;
  159. pointer-events: none;
  160. }
  161. .audit-issue-wrap .audit-op-cell {
  162. white-space: nowrap;
  163. }
  164. .audit-issue-wrap .audit-op-cell .btn {
  165. padding: 2px 7px;
  166. font-size: 12px;
  167. margin: 0 2px 2px 0;
  168. }
  169. .audit-issue-wrap .audit-table-wrap.audit-quote-table-wrap {
  170. max-height: none;
  171. overflow-x: auto;
  172. overflow-y: visible;
  173. }
  174. .audit-issue-wrap .audit-quote-detail-table {
  175. min-width: 1320px;
  176. }
  177. .audit-issue-wrap .audit-quote-detail-table td.audit-quote-empty {
  178. color: #e67e22;
  179. }
  180. .audit-issue-wrap .audit-deadline-row .audit-bid-open-btn {
  181. flex-shrink: 0;
  182. height: 32px;
  183. line-height: 20px;
  184. margin-left: 4px;
  185. }
  186. .audit-issue-wrap .audit-deadline-row .audit-bid-open-verified-tag {
  187. flex-shrink: 0;
  188. height: 32px;
  189. line-height: 32px;
  190. font-size: 15px;
  191. font-weight: 600;
  192. color: #3c763d;
  193. white-space: nowrap;
  194. margin-left: 8px;
  195. }
  196. .audit-issue-wrap .audit-deadline-row .audit-bid-open-verified-tag .fa {
  197. font-size: 16px;
  198. margin-right: 4px;
  199. vertical-align: -1px;
  200. }
  201. .audit-bid-open-modal {
  202. padding: 16px 18px 8px;
  203. font-size: 13px;
  204. }
  205. .audit-bid-open-modal .bid-open-tip {
  206. margin: 0 0 12px;
  207. padding: 8px 10px;
  208. color: #8a6d3b;
  209. background: #fcf8e3;
  210. border: 1px solid #faebcc;
  211. border-radius: 3px;
  212. line-height: 1.6;
  213. }
  214. .audit-bid-open-modal .bid-open-row {
  215. display: flex;
  216. align-items: center;
  217. flex-wrap: wrap;
  218. gap: 8px;
  219. margin-bottom: 10px;
  220. }
  221. .audit-bid-open-modal .bid-open-row label {
  222. width: 72px;
  223. margin: 0;
  224. font-weight: 600;
  225. color: #333;
  226. }
  227. .audit-bid-open-modal .bid-open-row select {
  228. width: 180px;
  229. height: 32px;
  230. }
  231. .audit-bid-open-modal .bid-open-row .bid-open-code {
  232. width: 110px;
  233. height: 32px;
  234. }
  235. .audit-bid-open-modal .bid-open-row .btn-send-code {
  236. min-width: 88px;
  237. }
  238. .audit-issue-wrap .audit-quote-detail-table td.audit-quote-pending {
  239. color: #e67e22;
  240. }
  241. </style>
  242. <div class="audit-issue-wrap">
  243. <div class="audit-table-wrap">
  244. <table class="table table-bordered table-condensed audit-process-table">
  245. <colgroup>
  246. <col style="width:100px"/>
  247. <col style="width:26%"/>
  248. <col style="width:130px"/>
  249. <col style="width:80px"/>
  250. <col style="width:72px"/>
  251. <col style="width:72px"/>
  252. <col style="width:72px"/>
  253. <col style="width:80px"/>
  254. <col/>
  255. </colgroup>
  256. <thead>
  257. <tr>
  258. <th class="text-center">订单号</th>
  259. <th>印件名称</th>
  260. <th>工序名称</th>
  261. <th class="text-center">单位</th>
  262. <th class="text-center">工作量</th>
  263. <th class="text-center">本次数量</th>
  264. <th class="text-center">最高限价</th>
  265. <th class="text-center">订法</th>
  266. <th>备注</th>
  267. </tr>
  268. </thead>
  269. <tbody>
  270. {volist name="processDisplayRows" id="pr"}
  271. <tr>
  272. {if $pr.show_order_cells}
  273. <td class="text-center"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''}</td>
  274. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''}</td>
  275. {/if}
  276. <td class="audit-process-name">{$pr.CGYMC|default=''}</td>
  277. <td class="text-center">{$pr.CDW|default=''}</td>
  278. <td class="text-center">{$pr.NGZL|default=''}</td>
  279. <td class="text-center">{$pr.This_quantity|default=''}</td>
  280. <td class="text-center">{$pr.ceilingPrice|default=''}</td>
  281. <td class="text-center">{$pr.CDF|default=''}</td>
  282. <td>{$pr.MBZ|default=''}</td>
  283. </tr>
  284. {/volist}
  285. </tbody>
  286. </table>
  287. </div>
  288. <form id="audit-issue-form" class="form-horizontal" role="form" style="margin-bottom:0;">
  289. {:token()}
  290. <input type="hidden" name="scydgy_id" value="{$scydgyId|htmlentities}"/>
  291. <input type="hidden" id="audit-quote-groups-json" value="{$quoteGroupsJson|htmlentities}"/>
  292. <input type="hidden" id="audit-bid-open-verified" value="{$bidOpenVerified|default=0}"/>
  293. <input type="hidden" id="audit-order-ccydh" value="{$orderCcydh|default=''|htmlentities}"/>
  294. <div class="audit-deadline-row">
  295. <span class="audit-field-label">截止时间:</span>
  296. <div class="audit-deadline-input-wrap procuremen-sys-rq-split is-readonly" id="audit-sys-rq-wrap" title="仅查看,不可修改">
  297. <input type="hidden" id="audit-sys-rq" name="sys_rq" value="{$sysRq|default=''|htmlentities}"/>
  298. <div class="procuremen-sys-rq-fields">
  299. <input type="date" class="form-control procuremen-sys-rq-date" title="截止日期" readonly="readonly" disabled="disabled" tabindex="-1"/>
  300. <div class="procuremen-sys-rq-time-group">
  301. <select class="form-control procuremen-sys-rq-hour" title="时" disabled="disabled" tabindex="-1"></select>
  302. <span class="procuremen-sys-rq-colon">:</span>
  303. <select class="form-control procuremen-sys-rq-minute" title="分" disabled="disabled" tabindex="-1"></select>
  304. </div>
  305. {if $bidOpenVerified}
  306. <span class="audit-bid-open-verified-tag"><i class="fa fa-check-circle"></i> 已开标验证</span>
  307. {else /}
  308. {if $auth->check('procuremen/bidopenverify') || $auth->check('procuremen/bidopen') || $auth->check('procuremen/auditissue')}
  309. <button type="button" class="btn btn-warning btn-sm audit-bid-open-btn" id="btn-audit-bid-open">
  310. <i class="fa fa-unlock-alt"></i> 开标
  311. </button>
  312. {/if}
  313. {/if}
  314. </div>
  315. </div>
  316. </div>
  317. </form>
  318. <!-- <p class="audit-notify-tip" style="margin-top:-2px;">-->
  319. <!-- <i class="fa fa-shield"></i>-->
  320. <!-- 未开标验证前,供应商单价与交货日期显示「未开标验证」;请点击「开标」完成双重验证后方可查看报价与交期并确认供应商(验证一次后本单可持续操作)。-->
  321. <!-- </p>-->
  322. <p class="audit-notify-tip">
  323. <i class="fa fa-exclamation-triangle"></i>
  324. <strong>重要提示:</strong>可先预选供应商,但点击「确认」前须完成开标验证。确认后将进入采购终审(本步<strong>不发送短信通知</strong>)。
  325. 需再次提醒报价时,请在右侧<strong>操作</strong>列点击「发邮件」或「发短信」。
  326. </p>
  327. <div class="audit-table-wrap audit-quote-table-wrap">
  328. <table class="table table-bordered table-condensed audit-table audit-quote-pick-table audit-quote-detail-table">
  329. <thead>
  330. <tr>
  331. <th class="text-center" style="width:42px;">选定</th>
  332. <th style="min-width:140px;">供应商名称</th>
  333. <th style="width:88px;">姓名</th>
  334. <th style="min-width:160px;">邮箱</th>
  335. <th style="width:120px;">手机号</th>
  336. <th style="width:130px;">工序名称</th>
  337. <th class="text-center" style="width:112px;">单价</th>
  338. <th class="text-center" style="width:118px;">交货日期</th>
  339. <th class="text-center" style="width:100px;">小计</th>
  340. <th class="text-center" style="width:120px;">操作</th>
  341. </tr>
  342. </thead>
  343. <tbody id="audit-quote-tbody">
  344. {volist name="quoteGroups" id="co" key="k"}
  345. {volist name="co.lines" id="ln" key="lk"}
  346. <tr>
  347. {if $lk == 1}
  348. <td class="text-center"{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">
  349. <label>
  350. <input type="radio" class="audit-quote-pick" name="audit_quote_pick" value="{$co.name|default=''|htmlentities}"
  351. {if condition="$pickedCompanyName neq '' && $pickedCompanyName eq $co.name"} checked="checked"{/if}/>
  352. </label>
  353. </td>
  354. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{$co.name|default=''|htmlentities}</td>
  355. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{$co.username|default=''|htmlentities}</td>
  356. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{:htmlentities(mask_email(isset($co['email']) ? $co['email'] : ''))}</td>
  357. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{:htmlentities(mask_phone(isset($co['phone']) ? $co['phone'] : ''))}</td>
  358. {/if}
  359. <td>{$ln.cgymc|default=''|htmlentities}</td>
  360. <td class="text-center{if condition="!empty($ln.amount_quote_pending)"} audit-quote-pending{elseif condition="$ln.amount_filled neq 1"} audit-quote-empty{/if}">{$ln.unit_price_text|default='未填写'|htmlentities}</td>
  361. <td class="text-center{if condition="!empty($ln.delivery_quote_pending)"} audit-quote-pending{elseif condition="$ln.delivery_filled neq 1"} audit-quote-empty{/if}">{$ln.delivery_show|default='未填写'|htmlentities}</td>
  362. <td class="text-center{if condition="!empty($ln.amount_quote_pending)"} audit-quote-pending{/if}">{$ln.subtotal_text|default=''|htmlentities}</td>
  363. {if $lk == 1}
  364. <td class="text-center audit-op-cell"{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">
  365. {if $auth->check('procuremen/auditresendemail')}
  366. <button type="button" class="btn btn-default btn-xs audit-row-send-email" data-company="{$co.name|default=''|htmlentities}">发邮件</button>
  367. {/if}
  368. {if $auth->check('procuremen/auditresendsms')}
  369. <button type="button" class="btn btn-default btn-xs audit-row-send-sms" data-company="{$co.name|default=''|htmlentities}">发短信</button>
  370. {/if}
  371. </td>
  372. {/if}
  373. </tr>
  374. {/volist}
  375. {if !empty($co.has_remark)}
  376. <tr{if !empty($co.is_void)} class="text-muted"{/if}>
  377. <td><strong>备注</strong></td>
  378. <td colspan="3" class="{if !empty($co.remark_quote_pending)}audit-quote-pending{/if}" style="text-align:left;vertical-align:middle;">{$co.remark|default=''|htmlentities}</td>
  379. </tr>
  380. {/if}
  381. {if !empty($co.has_total)}
  382. <tr class="active">
  383. <td><strong>总计</strong></td>
  384. <td></td>
  385. <td></td>
  386. <td class="text-center"><strong>{$co.total_text|default=''|htmlentities}</strong></td>
  387. </tr>
  388. {/if}
  389. {/volist}
  390. </tbody>
  391. </table>
  392. </div>
  393. <div class="form-group layer-footer">
  394. <div class="row procuremen-audit-issue-footer-row">
  395. <div class="col-xs-12 procuremen-audit-issue-footer-btns">
  396. {if $auth->check('procuremen/auditsubmit')}
  397. <button type="button" style="margin-right: 12px" class="btn btn-primary btn-embossed" id="btn-audit-issue-submit">
  398. <i class="fa fa-check"></i> 确认
  399. </button>
  400. {/if}
  401. <button type="button" class="btn btn-default btn-embossed" id="btn-audit-issue-close">
  402. <i class="fa fa-times"></i> 关闭
  403. </button>
  404. </div>
  405. </div>
  406. </div>
  407. </div>