outward_detail.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497
  1. <style>
  2. body.is-dialog .outward-detail-wrap {
  3. margin: 0;
  4. padding: 12px 14px 0;
  5. max-width: 100%;
  6. box-sizing: border-box;
  7. }
  8. .outward-detail-head {
  9. margin-bottom: 10px;
  10. font-size: 13px;
  11. color: #666;
  12. line-height: 1.6;
  13. }
  14. .outward-detail-head strong {
  15. color: #333;
  16. }
  17. .outward-detail-table-wrap,
  18. .outward-confirm-process-wrap {
  19. /* 不在表格区域内部纵向滚动,由弹窗页面整体滚动 */
  20. overflow-x: auto;
  21. overflow-y: visible;
  22. max-height: none;
  23. -webkit-overflow-scrolling: touch;
  24. margin-bottom: 12px;
  25. border: 1px solid #e5e5e5;
  26. }
  27. .outward-confirm-company-wrap {
  28. overflow-x: auto;
  29. overflow-y: visible;
  30. max-height: none;
  31. -webkit-overflow-scrolling: touch;
  32. margin-bottom: 12px;
  33. border: 1px solid #e5e5e5;
  34. }
  35. .outward-detail-table-wrap {
  36. max-height: none;
  37. border: 0;
  38. }
  39. .outward-detail-table {
  40. table-layout: fixed;
  41. width: 100%;
  42. min-width: 1320px;
  43. margin-bottom: 0;
  44. }
  45. .outward-confirm-process-table,
  46. .outward-confirm-company-table {
  47. margin: 0;
  48. font-size: 12px;
  49. table-layout: fixed;
  50. width: 100%;
  51. min-width: 1100px;
  52. }
  53. .outward-confirm-process-table th:nth-child(3),
  54. .outward-confirm-process-table td.outward-process-name,
  55. .outward-confirm-company-table td.outward-process-name {
  56. white-space: nowrap;
  57. }
  58. .outward-detail-table > thead > tr > th,
  59. .outward-detail-table > tbody > tr > td,
  60. .outward-confirm-process-table th,
  61. .outward-confirm-process-table td,
  62. .outward-confirm-company-table th,
  63. .outward-confirm-company-table td {
  64. vertical-align: middle;
  65. word-wrap: break-word;
  66. word-break: break-word;
  67. white-space: normal;
  68. line-height: 1.45;
  69. padding: 6px 8px;
  70. }
  71. .outward-confirm-process-table th,
  72. .outward-confirm-company-table th {
  73. background: #f5f5f5;
  74. font-weight: 600;
  75. white-space: nowrap;
  76. border: 1px solid #ddd !important;
  77. }
  78. .outward-confirm-process-table td,
  79. .outward-confirm-company-table td {
  80. border: 1px solid #ddd !important;
  81. }
  82. .outward-detail-table > thead > tr > th {
  83. font-weight: 600;
  84. white-space: nowrap;
  85. background: #f5f5f5;
  86. border: 1px solid #ddd !important;
  87. }
  88. .outward-detail-table > tbody > tr > td {
  89. border: 1px solid #ddd !important;
  90. }
  91. .outward-detail-table .col-title {
  92. white-space: normal;
  93. }
  94. .outward-detail-table .col-amount,
  95. .outward-detail-table .col-delivery {
  96. text-align: center;
  97. white-space: nowrap;
  98. }
  99. .outward-detail-table .col-sn,
  100. .outward-detail-table .col-time {
  101. white-space: nowrap;
  102. }
  103. .outward-confirm-block-title {
  104. margin: 0 0 6px;
  105. font-weight: 600;
  106. font-size: 13px;
  107. color: #333;
  108. }
  109. .outward-confirm-meta-row {
  110. display: flex;
  111. align-items: center;
  112. flex-wrap: wrap;
  113. gap: 6px 12px;
  114. margin: 0 0 10px;
  115. font-size: 13px;
  116. line-height: 1.5;
  117. }
  118. .outward-confirm-deadline-row {
  119. display: flex;
  120. align-items: center;
  121. flex-wrap: wrap;
  122. gap: 10px 20px;
  123. margin: 0 0 10px;
  124. font-size: 13px;
  125. width: 100%;
  126. }
  127. .outward-confirm-deadline-item {
  128. display: flex;
  129. flex-wrap: wrap;
  130. align-items: center;
  131. gap: 8px 10px;
  132. }
  133. .outward-confirm-deadline-row .deadline-label {
  134. font-weight: 600;
  135. color: #333;
  136. white-space: nowrap;
  137. margin: 0;
  138. }
  139. .outward-confirm-deadline-item.outward-order-type-item {
  140. align-items: center;
  141. }
  142. .outward-confirm-order-type-text {
  143. display: inline-block;
  144. min-height: 30px;
  145. line-height: 30px;
  146. font-size: 13px;
  147. font-weight: 600;
  148. color: #333;
  149. vertical-align: middle;
  150. }
  151. .outward-confirm-delivery-deadline-input {
  152. width: 148px;
  153. min-width: 132px;
  154. height: 32px;
  155. padding: 4px 8px;
  156. font-size: 13px;
  157. }
  158. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-fields {
  159. display: flex;
  160. flex-wrap: wrap;
  161. align-items: center;
  162. gap: 8px;
  163. }
  164. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-date {
  165. width: 148px;
  166. min-width: 132px;
  167. height: 32px;
  168. padding: 4px 8px;
  169. font-size: 13px;
  170. }
  171. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-time-group {
  172. display: inline-flex;
  173. align-items: center;
  174. gap: 4px;
  175. }
  176. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-hour,
  177. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-minute {
  178. width: 62px;
  179. height: 32px;
  180. padding: 4px 6px;
  181. font-size: 13px;
  182. }
  183. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-colon {
  184. color: #666;
  185. font-weight: 600;
  186. line-height: 32px;
  187. }
  188. .outward-confirm-deadline-wrap.procuremen-sys-rq-split.is-readonly .procuremen-sys-rq-date,
  189. .outward-confirm-deadline-wrap.procuremen-sys-rq-split.is-readonly .procuremen-sys-rq-hour,
  190. .outward-confirm-deadline-wrap.procuremen-sys-rq-split.is-readonly .procuremen-sys-rq-minute {
  191. background-color: #f5f5f5;
  192. color: #333;
  193. cursor: default;
  194. pointer-events: none;
  195. box-shadow: none;
  196. }
  197. .outward-confirm-company-table.outward-confirm-readonly tbody tr {
  198. cursor: default;
  199. }
  200. .outward-confirm-company-table.outward-confirm-readonly .pod-company-pick-cb {
  201. pointer-events: none;
  202. cursor: default;
  203. }
  204. .outward-confirm-company-table.outward-confirm-readonly label {
  205. cursor: default;
  206. }
  207. .outward-confirm-company-table td label {
  208. margin: 0;
  209. font-weight: normal;
  210. cursor: pointer;
  211. }
  212. .outward-confirm-company-table tbody tr {
  213. cursor: pointer;
  214. }
  215. .outward-confirm-company-table td.outward-quote-empty {
  216. color: #e67e22;
  217. }
  218. .outward-confirm-quote-cell {
  219. font-size: 12px;
  220. line-height: 1.55;
  221. }
  222. .outward-confirm-quote-item {
  223. padding: 4px 0;
  224. }
  225. .outward-confirm-quote-item + .outward-confirm-quote-item {
  226. margin-top: 6px;
  227. padding-top: 6px;
  228. border-top: 1px dashed #e8e8e8;
  229. }
  230. .outward-confirm-quote-item div {
  231. margin: 0;
  232. }
  233. .outward-detail-wrap .audit-notify-tip {
  234. margin: 0 0 10px;
  235. padding: 8px 12px;
  236. font-size: 12px;
  237. line-height: 1.65;
  238. color: #8a6d3b;
  239. background: #fcf8e3;
  240. border: 1px solid #faebcc;
  241. border-radius: 3px;
  242. }
  243. .outward-detail-wrap .audit-score-rule-tip {
  244. margin: 0 0 8px;
  245. padding: 6px 10px;
  246. font-size: 12px;
  247. line-height: 1.5;
  248. color: #31708f;
  249. background: #f0f7fb;
  250. border: 1px solid #d9edf7;
  251. border-radius: 3px;
  252. }
  253. .outward-detail-wrap .audit-score-rule-tip strong {
  254. color: #245269;
  255. }
  256. .btn.procuremen-btn-slate {
  257. color: #fff !important;
  258. background-color: #4b5573 !important;
  259. border-color: #3e4659 !important;
  260. }
  261. .btn.procuremen-btn-slate:hover,
  262. .btn.procuremen-btn-slate:focus,
  263. .btn.procuremen-btn-slate:active {
  264. color: #fff !important;
  265. background-color: #3f485f !important;
  266. border-color: #353c4c !important;
  267. }
  268. </style>
  269. <div class="panel panel-default panel-intro outward-detail-wrap outward-confirm-readonly" style="border:0;box-shadow:none;"
  270. data-scydgy-id="{$scydgyId|htmlentities}"
  271. data-purchase-order-id="{$purchaseOrderId|default=0}"
  272. data-confirm-process-count="{$confirmProcessCount|default=1}"
  273. data-required-sids="{$requiredSidListJson|htmlentities}"
  274. data-all-details-by-sid="{$allDetailsBySidJson|htmlentities}">
  275. <div style="display:none;">{:token()}</div>
  276. {if $showPurchaseConfirm}
  277. {if $processDisplayRows}
  278. <div class="outward-confirm-process-wrap">
  279. <table class="table table-bordered table-condensed outward-confirm-process-table">
  280. <colgroup>
  281. <col style="width:100px"/>
  282. <col style="width:26%"/>
  283. <col style="width:120px"/>
  284. <col style="width:80px"/>
  285. <col style="width:72px"/>
  286. <col style="width:72px"/>
  287. <col style="width:80px"/>
  288. <col/>
  289. </colgroup>
  290. <thead>
  291. <tr>
  292. <th class="text-center">订单号</th>
  293. <th>印件名称</th>
  294. <th>工序名称</th>
  295. <th class="text-center">单位</th>
  296. <th class="text-center">本次数量</th>
  297. <th class="text-center">最高限价</th>
  298. <th class="text-center">订法</th>
  299. <th>备注</th>
  300. </tr>
  301. </thead>
  302. <tbody>
  303. {volist name="processDisplayRows" id="pr"}
  304. <tr>
  305. {if $pr.show_order_cells}
  306. <td class="text-center"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''}</td>
  307. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''}</td>
  308. {/if}
  309. <td class="outward-process-name">{$pr.CGYMC|default=''}</td>
  310. <td class="text-center">{$pr.CDW|default=''}</td>
  311. <td class="text-center">{$pr.This_quantity|default=''}</td>
  312. <td class="text-center">{$pr.ceilingPrice|default=''}</td>
  313. <td class="text-center">{$pr.CDF|default=''}</td>
  314. <td>{$pr.MBZ|default=''}</td>
  315. </tr>
  316. {/volist}
  317. </tbody>
  318. </table>
  319. </div>
  320. {/if}
  321. <div class="outward-confirm-deadline-row">
  322. <div class="outward-confirm-deadline-item">
  323. <label class="deadline-label">招标截止日期:</label>
  324. <div class="outward-confirm-deadline-wrap procuremen-sys-rq-split is-readonly" id="outward-confirm-sys-rq-wrap" title="仅查看,不可修改">
  325. <input type="hidden" id="outward-confirm-sys-rq" name="sys_rq" value="{$sysRq|default=''|htmlentities}"/>
  326. <div class="procuremen-sys-rq-fields">
  327. <input type="date" class="form-control procuremen-sys-rq-date" title="招标截止日期" readonly="readonly" disabled="disabled" tabindex="-1"/>
  328. <div class="procuremen-sys-rq-time-group">
  329. <select class="form-control procuremen-sys-rq-hour" title="时" disabled="disabled" tabindex="-1"></select>
  330. <span class="procuremen-sys-rq-colon">:</span>
  331. <select class="form-control procuremen-sys-rq-minute" title="分" disabled="disabled" tabindex="-1"></select>
  332. </div>
  333. </div>
  334. </div>
  335. </div>
  336. <div class="outward-confirm-deadline-item">
  337. <label class="deadline-label">交货截止日期:</label>
  338. <input type="text" class="form-control outward-confirm-delivery-deadline-input" value="{$deliveryDeadline|default=''|htmlentities}" title="交货截止日期" readonly="readonly" disabled="disabled" tabindex="-1" placeholder=""/>
  339. </div>
  340. {if !empty($orderScoreRuleName)}
  341. <div class="outward-confirm-deadline-item outward-order-type-item">
  342. <label class="deadline-label">订单类型:</label>
  343. <span class="outward-confirm-order-type-text" title="{$supplierScoreRuleText|default=''|htmlentities}">{$orderScoreRuleName|htmlentities}</span>
  344. </div>
  345. {/if}
  346. </div>
  347. <p class="audit-notify-tip">
  348. <i class="fa fa-exclamation-triangle"></i>
  349. <strong>重要提示:</strong>审批通过:将向中标供应商发送「已通过」短信、向未中标供应商发送「未通过」短信。
  350. </p>
  351. <p class="outward-confirm-block-title">供应商({$confirmPickCount|default=0} 家)</p>
  352. <div class="outward-confirm-company-wrap">
  353. <table class="table table-bordered table-condensed outward-confirm-company-table outward-confirm-readonly">
  354. <thead>
  355. <tr>
  356. <th class="text-center" style="width:52px;">选定</th>
  357. <th style="min-width:140px;">供应商名称</th>
  358. <th style="width:88px;">姓名</th>
  359. <th style="min-width:160px;">邮箱</th>
  360. <th style="width:120px;">手机号</th>
  361. <th class="text-center col-rank" style="width:64px;">排名</th>
  362. <th class="text-center" style="width:88px;">质量得分</th>
  363. <th class="text-center" style="width:80px;" title="价格得分=(最低单价合计/本供应商单价合计)×价格权重%×100">价格得分</th>
  364. <th class="text-center" style="width:72px;">总分</th>
  365. <th style="width:120px;">工序名称</th>
  366. <th class="text-center" style="width:112px;">单价</th>
  367. <th class="text-center" style="width:88px;">预估工期</th>
  368. <th class="text-center" style="width:118px;">交货日期</th>
  369. <th class="text-center" style="width:100px;">小计</th>
  370. <th class="text-center" style="width:148px;">操作时间</th>
  371. </tr>
  372. </thead>
  373. <tbody>
  374. {volist name="confirmPickGroups" id="co" key="k"}
  375. {volist name="co.pick_lines" id="ql" key="lk"}
  376. <tr class="outward-confirm-supplier-row" data-supplier-idx="{$k-1}">
  377. {if $lk == 1}
  378. <td class="text-center"{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">
  379. <label>
  380. <input type="checkbox" class="pod-company-pick-cb" name="pod_company_pick[]" value="{$k-1}" disabled="disabled" tabindex="-1"
  381. data-detail-picks="{$co.detail_picks_json|htmlentities}"
  382. {if condition="$pickedCompanyName neq '' && $pickedCompanyName eq $co.name"} checked="checked"{/if}/>
  383. </label>
  384. </td>
  385. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{$co.name|default=''|htmlentities}</td>
  386. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{$co.username|default=''|htmlentities}</td>
  387. <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>
  388. <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>
  389. <td class="text-center col-rank"{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;font-size:17px;font-weight:700;">{if condition="!empty($bidOpenVerified)"}{$co.service_rank_text|default=''|htmlentities}{/if}</td>
  390. <td class="text-center"{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{if condition="!empty($bidOpenVerified)"}{$co.service_quality_score_text|default=''|htmlentities}{/if}</td>
  391. <td class="text-center"{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;"{if condition="!empty($bidOpenVerified)"} title="单价合计 {$co.service_price_sum_text|default=''|htmlentities}"{/if}>{if condition="!empty($bidOpenVerified)"}{$co.service_price_score_text|default=''|htmlentities}{/if}</td>
  392. <td class="text-center"{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;font-weight:600;">{if condition="!empty($bidOpenVerified)"}{$co.service_score_text|default=''|htmlentities}{/if}</td>
  393. {/if}
  394. <td class="outward-process-name">{$ql.cgymc|default=''|htmlentities}</td>
  395. <td class="text-center{if condition="!empty($ql.amount_quote_pending)"} outward-quote-empty{elseif condition="$ql.amount_filled neq 1"} outward-quote-empty{/if}">{$ql.unit_price_text|default='未填写'|htmlentities}</td>
  396. <td class="text-center{if condition="!empty($ql.lead_days_quote_pending)"} outward-quote-empty{elseif condition="$ql.lead_days_filled neq 1"} outward-quote-empty{/if}">{$ql.lead_days_text|default='未填写'|htmlentities}</td>
  397. <td class="text-center{if condition="!empty($ql.delivery_quote_pending)"} outward-quote-empty{elseif condition="$ql.delivery_filled neq 1"} outward-quote-empty{/if}">{$ql.delivery_text|default='未填写'|htmlentities}</td>
  398. <td class="text-center">{$ql.subtotal_text|default=''|htmlentities}</td>
  399. <td class="text-center">{$ql.oper_time_text|default=''|htmlentities}</td>
  400. </tr>
  401. {/volist}
  402. {if !empty($co.has_remark)}
  403. <tr class="outward-confirm-supplier-row{if !empty($co.is_void)} text-muted{/if}" data-supplier-idx="{$k-1}">
  404. <td><strong>备注</strong></td>
  405. <td colspan="5" class="{if !empty($co.remark_quote_pending)}outward-quote-empty{/if}" style="text-align:left;vertical-align:middle;">{$co.remark|default=''|htmlentities}</td>
  406. </tr>
  407. {/if}
  408. {if !empty($co.has_total)}
  409. <tr class="active outward-confirm-supplier-row" data-supplier-idx="{$k-1}">
  410. <td><strong>总计</strong></td>
  411. <td></td>
  412. <td></td>
  413. <td></td>
  414. <td class="text-center"><strong>{$co.total_text|default=''|htmlentities}</strong></td>
  415. <td></td>
  416. </tr>
  417. {/if}
  418. {/volist}
  419. {empty name="confirmPickGroups"}
  420. <tr>
  421. <td colspan="20" class="text-center text-muted">暂无供应商报价</td>
  422. </tr>
  423. {/empty}
  424. </tbody>
  425. </table>
  426. </div>
  427. <div class="form-group layer-footer">
  428. <div class="row procuremen-outward-confirm-footer-row">
  429. <div class="col-xs-12 procuremen-outward-confirm-footer-btns">
  430. {if $auth->check('procuremen/purchaseconfirmpick')}
  431. <button type="button" style="margin-right: 20px" class="btn procuremen-btn-slate btn-embossed" id="btn-pod-purchase-confirm"><i class="fa fa-check"></i> 审批通过</button>
  432. {/if}
  433. {if $auth->check('procuremen/purchaseapprovalreject')}
  434. <button type="button" style="margin-right: 20px" class="btn btn-warning btn-embossed" id="btn-pod-purchase-reject"><i class="fa fa-undo"></i> 审批驳回</button>
  435. {/if}
  436. <button type="button" style="margin-right: 20px" class="btn btn-default btn-embossed" id="btn-pod-purchase-close"><i class="fa fa-times"></i> 关闭</button>
  437. </div>
  438. </div>
  439. </div>
  440. {else /}
  441. <div class="table-responsive outward-detail-table-wrap">
  442. <table class="table table-striped table-bordered table-hover outward-detail-table">
  443. <colgroup>
  444. <col style="width:48px" />
  445. <col style="width:118px" />
  446. <col style="width:200px" />
  447. <col style="width:92px" />
  448. <col style="width:128px" />
  449. <col style="width:200px" />
  450. <col style="width:240px" />
  451. <col style="width:108px" />
  452. <col style="width:148px" />
  453. </colgroup>
  454. <thead>
  455. <tr>
  456. <th class="col-sn">序号</th>
  457. <th>订单号</th>
  458. <th class="col-title">印件名称</th>
  459. <th class="col-amount">加工金额</th>
  460. <th class="col-delivery">交货日期</th>
  461. <th>供应商名称</th>
  462. <th>邮箱</th>
  463. <th>手机号</th>
  464. <th class="col-time">审核时间</th>
  465. </tr>
  466. </thead>
  467. <tbody>
  468. {volist name="rows" id="r"}
  469. <tr>
  470. <td class="text-center col-sn">{$i}</td>
  471. <td>{$r.CCYDH|default=''}</td>
  472. <td class="col-title">{$r.CYJMC|default=''}</td>
  473. <td class="col-amount">{$r.amount|default=''}</td>
  474. <td class="col-delivery">{$r.delivery|default=''}</td>
  475. <td>{$r.company_name|default=''}</td>
  476. <td>{:htmlentities(mask_email(isset($r['email']) ? $r['email'] : ''))}</td>
  477. <td>{:htmlentities(mask_phone(isset($r['phone']) ? $r['phone'] : ''))}</td>
  478. <td class="col-time">{$r.createtime_text|default=''}</td>
  479. </tr>
  480. {/volist}
  481. {empty name="rows"}
  482. <tr>
  483. <td colspan="{$detailColspan|default=9}" class="text-center text-muted">暂无记录</td>
  484. </tr>
  485. {/empty}
  486. </tbody>
  487. </table>
  488. </div>
  489. {/if}
  490. </div>