outward_detail.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. <style>
  2. body.is-dialog .outward-detail-wrap {
  3. margin: 0;
  4. padding: 10px 12px 12px;
  5. }
  6. .outward-detail-head {
  7. margin-bottom: 10px;
  8. font-size: 13px;
  9. color: #666;
  10. line-height: 1.6;
  11. }
  12. .outward-detail-head strong {
  13. color: #333;
  14. }
  15. .outward-detail-table-wrap,
  16. .outward-confirm-process-wrap {
  17. overflow-x: auto;
  18. overflow-y: auto;
  19. max-height: min(200px, 32vh);
  20. -webkit-overflow-scrolling: touch;
  21. margin-bottom: 10px;
  22. border: 1px solid #e5e5e5;
  23. }
  24. .outward-confirm-company-wrap {
  25. overflow-x: auto;
  26. overflow-y: auto;
  27. max-height: min(560px, 62vh);
  28. -webkit-overflow-scrolling: touch;
  29. margin-bottom: 10px;
  30. border: 1px solid #e5e5e5;
  31. }
  32. .outward-detail-table-wrap {
  33. max-height: min(520px, 68vh);
  34. border: 0;
  35. }
  36. .outward-detail-table {
  37. table-layout: fixed;
  38. width: 100%;
  39. min-width: 1320px;
  40. margin-bottom: 0;
  41. }
  42. .outward-confirm-process-table,
  43. .outward-confirm-company-table {
  44. margin: 0;
  45. font-size: 12px;
  46. table-layout: fixed;
  47. width: 100%;
  48. min-width: 1320px;
  49. }
  50. .outward-detail-table > thead > tr > th,
  51. .outward-detail-table > tbody > tr > td,
  52. .outward-confirm-process-table th,
  53. .outward-confirm-process-table td,
  54. .outward-confirm-company-table th,
  55. .outward-confirm-company-table td {
  56. vertical-align: middle;
  57. word-wrap: break-word;
  58. word-break: break-word;
  59. white-space: normal;
  60. line-height: 1.45;
  61. padding: 8px 10px;
  62. }
  63. .outward-confirm-process-table th,
  64. .outward-confirm-company-table th {
  65. background: #f5f5f5;
  66. font-weight: 600;
  67. white-space: nowrap;
  68. }
  69. .outward-detail-table > thead > tr > th {
  70. font-weight: 600;
  71. white-space: nowrap;
  72. }
  73. .outward-detail-table .col-title {
  74. white-space: normal;
  75. }
  76. .outward-detail-table .col-amount,
  77. .outward-detail-table .col-delivery {
  78. text-align: center;
  79. white-space: nowrap;
  80. }
  81. .outward-detail-table .col-sn,
  82. .outward-detail-table .col-time {
  83. white-space: nowrap;
  84. }
  85. .outward-confirm-block-title {
  86. margin: 0 0 6px;
  87. font-weight: 600;
  88. font-size: 13px;
  89. color: #333;
  90. }
  91. .outward-confirm-meta-row {
  92. display: flex;
  93. align-items: center;
  94. flex-wrap: wrap;
  95. gap: 6px 12px;
  96. margin: 0 0 10px;
  97. font-size: 13px;
  98. line-height: 1.5;
  99. }
  100. .outward-confirm-deadline-row {
  101. display: flex;
  102. align-items: center;
  103. flex-wrap: wrap;
  104. gap: 8px 12px;
  105. margin: 0 0 10px;
  106. font-size: 13px;
  107. }
  108. .outward-confirm-deadline-row .deadline-label {
  109. font-weight: 600;
  110. color: #333;
  111. white-space: nowrap;
  112. margin: 0;
  113. }
  114. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-fields {
  115. display: flex;
  116. flex-wrap: wrap;
  117. align-items: center;
  118. gap: 8px;
  119. }
  120. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-date {
  121. width: 148px;
  122. min-width: 132px;
  123. height: 32px;
  124. padding: 4px 8px;
  125. font-size: 13px;
  126. }
  127. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-time-group {
  128. display: inline-flex;
  129. align-items: center;
  130. gap: 4px;
  131. }
  132. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-hour,
  133. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-minute {
  134. width: 62px;
  135. height: 32px;
  136. padding: 4px 6px;
  137. font-size: 13px;
  138. }
  139. .outward-confirm-deadline-wrap.procuremen-sys-rq-split .procuremen-sys-rq-colon {
  140. color: #666;
  141. font-weight: 600;
  142. line-height: 32px;
  143. }
  144. .outward-confirm-deadline-wrap.procuremen-sys-rq-split.is-readonly .procuremen-sys-rq-date,
  145. .outward-confirm-deadline-wrap.procuremen-sys-rq-split.is-readonly .procuremen-sys-rq-hour,
  146. .outward-confirm-deadline-wrap.procuremen-sys-rq-split.is-readonly .procuremen-sys-rq-minute {
  147. background-color: #f5f5f5;
  148. color: #333;
  149. cursor: default;
  150. pointer-events: none;
  151. box-shadow: none;
  152. }
  153. .outward-confirm-company-table.outward-confirm-readonly tbody tr {
  154. cursor: default;
  155. }
  156. .outward-confirm-company-table.outward-confirm-readonly .pod-company-pick-cb {
  157. pointer-events: none;
  158. cursor: default;
  159. }
  160. .outward-confirm-company-table.outward-confirm-readonly label {
  161. cursor: default;
  162. }
  163. .outward-confirm-company-table td label {
  164. margin: 0;
  165. font-weight: normal;
  166. cursor: pointer;
  167. }
  168. .outward-confirm-company-table tbody tr {
  169. cursor: pointer;
  170. }
  171. .outward-confirm-company-table td.outward-quote-empty {
  172. color: #e67e22;
  173. }
  174. .outward-confirm-quote-cell {
  175. font-size: 12px;
  176. line-height: 1.55;
  177. }
  178. .outward-confirm-quote-item {
  179. padding: 4px 0;
  180. }
  181. .outward-confirm-quote-item + .outward-confirm-quote-item {
  182. margin-top: 6px;
  183. padding-top: 6px;
  184. border-top: 1px dashed #e8e8e8;
  185. }
  186. .outward-confirm-quote-item div {
  187. margin: 0;
  188. }
  189. .outward-detail-wrap .audit-notify-tip {
  190. margin: 0 0 10px;
  191. padding: 8px 12px;
  192. font-size: 12px;
  193. line-height: 1.65;
  194. color: #8a6d3b;
  195. background: #fcf8e3;
  196. border: 1px solid #faebcc;
  197. border-radius: 3px;
  198. }
  199. .btn.procuremen-btn-slate {
  200. color: #fff !important;
  201. background-color: #4b5573 !important;
  202. border-color: #3e4659 !important;
  203. }
  204. .btn.procuremen-btn-slate:hover,
  205. .btn.procuremen-btn-slate:focus,
  206. .btn.procuremen-btn-slate:active {
  207. color: #fff !important;
  208. background-color: #3f485f !important;
  209. border-color: #353c4c !important;
  210. }
  211. </style>
  212. <div class="panel panel-default panel-intro outward-detail-wrap outward-confirm-readonly" style="border:0;box-shadow:none;"
  213. data-scydgy-id="{$scydgyId|htmlentities}"
  214. data-purchase-order-id="{$purchaseOrderId|default=0}"
  215. data-confirm-process-count="{$confirmProcessCount|default=1}"
  216. data-required-sids="{$requiredSidListJson|htmlentities}"
  217. data-all-details-by-sid="{$allDetailsBySidJson|htmlentities}">
  218. <div style="display:none;">{:token()}</div>
  219. {if $showPurchaseConfirm}
  220. {if $processDisplayRows}
  221. <div class="outward-confirm-process-wrap">
  222. <table class="table table-bordered table-condensed outward-confirm-process-table">
  223. <thead>
  224. <tr>
  225. <th class="text-center" style="width:100px;">订单号</th>
  226. <th style="min-width:160px;">印件名称</th>
  227. <th>工序名称</th>
  228. <th class="text-center" style="width:56px;">单位</th>
  229. <th class="text-center" style="width:72px;">工作量</th>
  230. <th class="text-center" style="width:72px;">本次数量</th>
  231. <th class="text-center" style="width:72px;">最高限价</th>
  232. <th class="text-center" style="width:80px;">订法</th>
  233. <th style="min-width:120px;">备注</th>
  234. </tr>
  235. </thead>
  236. <tbody>
  237. {volist name="processDisplayRows" id="pr"}
  238. <tr>
  239. {if $pr.show_order_cells}
  240. <td class="text-center"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''}</td>
  241. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''}</td>
  242. {/if}
  243. <td>{$pr.CGYMC|default=''}</td>
  244. <td class="text-center">{$pr.CDW|default=''}</td>
  245. <td class="text-center">{$pr.NGZL|default=''}</td>
  246. <td class="text-center">{$pr.This_quantity|default=''}</td>
  247. <td class="text-center">{$pr.ceilingPrice|default=''}</td>
  248. <td class="text-center">{$pr.CDF|default=''}</td>
  249. <td>{$pr.MBZ|default=''}</td>
  250. </tr>
  251. {/volist}
  252. </tbody>
  253. </table>
  254. </div>
  255. {/if}
  256. <div class="outward-confirm-deadline-row">
  257. <label class="deadline-label">截止时间:</label>
  258. <div class="outward-confirm-deadline-wrap procuremen-sys-rq-split is-readonly" id="outward-confirm-sys-rq-wrap" title="仅查看,不可修改">
  259. <input type="hidden" id="outward-confirm-sys-rq" name="sys_rq" value="{$sysRq|default=''|htmlentities}"/>
  260. <div class="procuremen-sys-rq-fields">
  261. <input type="date" class="form-control procuremen-sys-rq-date" title="截止日期" readonly="readonly" disabled="disabled" tabindex="-1"/>
  262. <div class="procuremen-sys-rq-time-group">
  263. <select class="form-control procuremen-sys-rq-hour" title="时" disabled="disabled" tabindex="-1"></select>
  264. <span class="procuremen-sys-rq-colon">:</span>
  265. <select class="form-control procuremen-sys-rq-minute" title="分" disabled="disabled" tabindex="-1"></select>
  266. </div>
  267. </div>
  268. </div>
  269. </div>
  270. <p class="audit-notify-tip">
  271. 审批通过:将向中标供应商发送「已通过」短信、向未中标供应商发送「未通过」短信。
  272. </p>
  273. <p class="outward-confirm-block-title">供应商({$confirmPickCount|default=0} 家)</p>
  274. <div class="outward-confirm-company-wrap">
  275. <table class="table table-bordered table-condensed outward-confirm-company-table outward-confirm-readonly">
  276. <thead>
  277. <tr>
  278. <th class="text-center" style="width:52px;">选定</th>
  279. <th style="min-width:140px;">供应商名称</th>
  280. <th style="width:88px;">姓名</th>
  281. <th style="min-width:160px;">邮箱</th>
  282. <th style="width:120px;">手机号</th>
  283. <th style="min-width:120px;">工序名称</th>
  284. <th class="text-center" style="width:112px;">单价</th>
  285. <th class="text-center" style="width:118px;">交货日期</th>
  286. <th class="text-center" style="width:100px;">小计</th>
  287. </tr>
  288. </thead>
  289. <tbody>
  290. {volist name="confirmPickGroups" id="co" key="k"}
  291. {volist name="co.pick_lines" id="ql" key="lk"}
  292. <tr class="outward-confirm-supplier-row" data-supplier-idx="{$k-1}">
  293. {if $lk == 1}
  294. <td class="text-center"{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">
  295. <label>
  296. <input type="checkbox" class="pod-company-pick-cb" name="pod_company_pick[]" value="{$k-1}" disabled="disabled" tabindex="-1"
  297. data-detail-picks="{$co.detail_picks_json|htmlentities}"
  298. {if condition="$pickedCompanyName neq '' && $pickedCompanyName eq $co.name"} checked="checked"{/if}/>
  299. </label>
  300. </td>
  301. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{$co.name|default=''|htmlentities}</td>
  302. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{$co.username|default=''|htmlentities}</td>
  303. <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>
  304. <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>
  305. {/if}
  306. <td>{$ql.cgymc|default=''|htmlentities}</td>
  307. <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>
  308. <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>
  309. <td class="text-center">{$ql.subtotal_text|default=''|htmlentities}</td>
  310. </tr>
  311. {/volist}
  312. {if !empty($co.has_total)}
  313. <tr class="active outward-confirm-supplier-row" data-supplier-idx="{$k-1}">
  314. <td colspan="3" class="text-right"><strong>总计</strong></td>
  315. <td class="text-center"><strong>{$co.total_text|default=''|htmlentities}</strong></td>
  316. </tr>
  317. {/if}
  318. {/volist}
  319. {empty name="confirmPickGroups"}
  320. <tr>
  321. <td colspan="9" class="text-center text-muted">暂无供应商报价</td>
  322. </tr>
  323. {/empty}
  324. </tbody>
  325. </table>
  326. </div>
  327. <div class="form-group layer-footer">
  328. <div class="row procuremen-outward-confirm-footer-row">
  329. <div class="col-xs-12 procuremen-outward-confirm-footer-btns">
  330. {if $auth->check('procuremen/purchaseconfirmpick')}
  331. <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>
  332. {/if}
  333. {if $auth->check('procuremen/purchaseapprovalreject')}
  334. <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>
  335. {/if}
  336. <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>
  337. </div>
  338. </div>
  339. </div>
  340. {else /}
  341. <div class="table-responsive outward-detail-table-wrap">
  342. <table class="table table-striped table-bordered table-hover outward-detail-table">
  343. <colgroup>
  344. <col style="width:48px" />
  345. <col style="width:118px" />
  346. <col style="width:200px" />
  347. <col style="width:92px" />
  348. <col style="width:128px" />
  349. <col style="width:200px" />
  350. <col style="width:240px" />
  351. <col style="width:108px" />
  352. <col style="width:148px" />
  353. </colgroup>
  354. <thead>
  355. <tr>
  356. <th class="col-sn">序号</th>
  357. <th>订单号</th>
  358. <th class="col-title">印件名称</th>
  359. <th class="col-amount">加工金额</th>
  360. <th class="col-delivery">交货日期</th>
  361. <th>供应商名称</th>
  362. <th>邮箱</th>
  363. <th>手机号</th>
  364. <th class="col-time">审核时间</th>
  365. </tr>
  366. </thead>
  367. <tbody>
  368. {volist name="rows" id="r"}
  369. <tr>
  370. <td class="text-center col-sn">{$i}</td>
  371. <td>{$r.CCYDH|default=''}</td>
  372. <td class="col-title">{$r.CYJMC|default=''}</td>
  373. <td class="col-amount">{$r.amount|default=''}</td>
  374. <td class="col-delivery">{$r.delivery|default=''}</td>
  375. <td>{$r.company_name|default=''}</td>
  376. <td>{:htmlentities(mask_email(isset($r['email']) ? $r['email'] : ''))}</td>
  377. <td>{:htmlentities(mask_phone(isset($r['phone']) ? $r['phone'] : ''))}</td>
  378. <td class="col-time">{$r.createtime_text|default=''}</td>
  379. </tr>
  380. {/volist}
  381. {empty name="rows"}
  382. <tr>
  383. <td colspan="{$detailColspan|default=9}" class="text-center text-muted">暂无记录</td>
  384. </tr>
  385. {/empty}
  386. </tbody>
  387. </table>
  388. </div>
  389. {/if}
  390. </div>