outward_detail.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  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. .outward-confirm-company-wrap {
  18. overflow-x: auto;
  19. overflow-y: auto;
  20. max-height: min(280px, 42vh);
  21. -webkit-overflow-scrolling: touch;
  22. margin-bottom: 12px;
  23. border: 1px solid #e5e5e5;
  24. }
  25. .outward-detail-table-wrap {
  26. max-height: min(520px, 68vh);
  27. border: 0;
  28. }
  29. .outward-detail-table {
  30. table-layout: fixed;
  31. width: 100%;
  32. min-width: 1180px;
  33. margin-bottom: 0;
  34. }
  35. .outward-confirm-process-table,
  36. .outward-confirm-company-table {
  37. margin: 0;
  38. font-size: 12px;
  39. table-layout: fixed;
  40. width: 100%;
  41. min-width: 860px;
  42. }
  43. .outward-detail-table > thead > tr > th,
  44. .outward-detail-table > tbody > tr > td,
  45. .outward-confirm-process-table th,
  46. .outward-confirm-process-table td,
  47. .outward-confirm-company-table th,
  48. .outward-confirm-company-table td {
  49. vertical-align: middle;
  50. word-wrap: break-word;
  51. word-break: break-word;
  52. white-space: normal;
  53. line-height: 1.45;
  54. padding: 8px 10px;
  55. }
  56. .outward-confirm-process-table th,
  57. .outward-confirm-company-table th {
  58. background: #f5f5f5;
  59. font-weight: 600;
  60. white-space: nowrap;
  61. }
  62. .outward-detail-table > thead > tr > th {
  63. font-weight: 600;
  64. white-space: nowrap;
  65. }
  66. .outward-detail-table .col-title {
  67. white-space: normal;
  68. }
  69. .outward-detail-table .col-amount,
  70. .outward-detail-table .col-delivery {
  71. text-align: center;
  72. white-space: nowrap;
  73. }
  74. .outward-detail-table .col-sn,
  75. .outward-detail-table .col-time {
  76. white-space: nowrap;
  77. }
  78. .outward-confirm-block-title {
  79. margin: 0 0 6px;
  80. font-weight: 600;
  81. font-size: 13px;
  82. color: #333;
  83. }
  84. .outward-confirm-company-table td label {
  85. margin: 0;
  86. font-weight: normal;
  87. cursor: pointer;
  88. }
  89. .outward-confirm-company-table tbody tr {
  90. cursor: pointer;
  91. }
  92. .outward-confirm-quote-cell {
  93. font-size: 12px;
  94. line-height: 1.55;
  95. }
  96. .outward-confirm-quote-item {
  97. padding: 4px 0;
  98. }
  99. .outward-confirm-quote-item + .outward-confirm-quote-item {
  100. margin-top: 6px;
  101. padding-top: 6px;
  102. border-top: 1px dashed #e8e8e8;
  103. }
  104. .outward-confirm-quote-item div {
  105. margin: 0;
  106. }
  107. .outward-detail-wrap .audit-notify-tip {
  108. margin: 0 0 10px;
  109. padding: 8px 12px;
  110. font-size: 12px;
  111. line-height: 1.65;
  112. color: #8a6d3b;
  113. background: #fcf8e3;
  114. border: 1px solid #faebcc;
  115. border-radius: 3px;
  116. }
  117. .btn.procuremen-btn-slate {
  118. color: #fff !important;
  119. background-color: #4b5573 !important;
  120. border-color: #3e4659 !important;
  121. }
  122. .btn.procuremen-btn-slate:hover,
  123. .btn.procuremen-btn-slate:focus,
  124. .btn.procuremen-btn-slate:active {
  125. color: #fff !important;
  126. background-color: #3f485f !important;
  127. border-color: #353c4c !important;
  128. }
  129. </style>
  130. <div class="panel panel-default panel-intro outward-detail-wrap" style="border:0;box-shadow:none;"
  131. data-scydgy-id="{$scydgyId|htmlentities}"
  132. data-purchase-order-id="{$purchaseOrderId|default=0}"
  133. data-confirm-process-count="{$confirmProcessCount|default=1}"
  134. data-required-sids="{$requiredSidListJson|htmlentities}"
  135. data-all-details-by-sid="{$allDetailsBySidJson|htmlentities}">
  136. <div style="display:none;">{:token()}</div>
  137. {if $showPurchaseConfirm}
  138. {if $processDisplayRows}
  139. <div class="outward-confirm-process-wrap">
  140. <table class="table table-bordered table-condensed outward-confirm-process-table">
  141. <thead>
  142. <tr>
  143. <th class="text-center" style="width:100px;">订单号</th>
  144. <th style="min-width:160px;">印件名称</th>
  145. <th>工序名称</th>
  146. <th class="text-center" style="width:56px;">单位</th>
  147. <th class="text-center" style="width:72px;">工作量</th>
  148. <th class="text-center" style="width:72px;">本次数量</th>
  149. <th class="text-center" style="width:72px;">最高限价</th>
  150. <th class="text-center" style="width:80px;">订法</th>
  151. <th style="min-width:120px;">备注</th>
  152. </tr>
  153. </thead>
  154. <tbody>
  155. {volist name="processDisplayRows" id="pr"}
  156. <tr>
  157. {if $pr.show_order_cells}
  158. <td class="text-center"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''}</td>
  159. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''}</td>
  160. {/if}
  161. <td>{$pr.CGYMC|default=''}</td>
  162. <td class="text-center">{$pr.CDW|default=''}</td>
  163. <td class="text-center">{$pr.NGZL|default=''}</td>
  164. <td class="text-center">{$pr.This_quantity|default=''}</td>
  165. <td class="text-center">{$pr.ceilingPrice|default=''}</td>
  166. <td class="text-center">{$pr.CDF|default=''}</td>
  167. <td>{$pr.MBZ|default=''}</td>
  168. </tr>
  169. {/volist}
  170. </tbody>
  171. </table>
  172. </div>
  173. {/if}
  174. <p class="audit-notify-tip">
  175. 审批通过将向中标供应商发送「已通过」短信、向未中标供应商发送「未通过」短信;审批驳回将退回「外发审批下发」并通知供应商。
  176. </p>
  177. <p class="outward-confirm-block-title">供应商({$confirmPickCount|default=0} 家)</p>
  178. <div class="outward-confirm-company-wrap">
  179. <table class="table table-bordered table-condensed outward-confirm-company-table">
  180. <thead>
  181. <tr>
  182. <th class="text-center" style="width:42px;">选择</th>
  183. <th>公司名称</th>
  184. <th style="width:88px;">联系人</th>
  185. <th style="min-width:160px;">邮箱</th>
  186. <th style="width:120px;">手机号</th>
  187. <th style="min-width:220px;">报价工序</th>
  188. </tr>
  189. </thead>
  190. <tbody>
  191. {volist name="confirmPickGroups" id="co" key="k"}
  192. <tr>
  193. <td class="text-center">
  194. <label>
  195. <input type="checkbox" class="pod-company-pick-cb" name="pod_company_pick[]" value="{$k-1}"
  196. data-detail-picks="{$co.detail_picks_json|htmlentities}"
  197. {if condition="$pickedCompanyName neq '' && $pickedCompanyName eq $co.name"} checked="checked"{/if}/>
  198. </label>
  199. </td>
  200. <td>{$co.name|default=''|htmlentities}</td>
  201. <td>{$co.username|default=''|htmlentities}</td>
  202. <td>{$co.email|default=''|htmlentities}</td>
  203. <td>{$co.phone|default=''|htmlentities}</td>
  204. <td class="outward-confirm-quote-cell">
  205. {volist name="co.pick_lines" id="ql"}
  206. <div class="outward-confirm-quote-item">
  207. <div>工序:{$ql.cgymc|default=''|htmlentities}</div>
  208. <div>单价:{$ql.amount_text|default='未填写'|htmlentities}</div>
  209. <div>交货日期:{$ql.delivery_text|default='未填写'|htmlentities}</div>
  210. </div>
  211. {/volist}
  212. </td>
  213. </tr>
  214. {/volist}
  215. {empty name="confirmPickGroups"}
  216. <tr>
  217. <td colspan="6" class="text-center text-muted">暂无供应商报价</td>
  218. </tr>
  219. {/empty}
  220. </tbody>
  221. </table>
  222. </div>
  223. <div class="form-group layer-footer">
  224. <div class="row procuremen-outward-confirm-footer-row">
  225. <div class="col-xs-12 procuremen-outward-confirm-footer-btns">
  226. <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>
  227. <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>
  228. <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>
  229. </div>
  230. </div>
  231. </div>
  232. {else /}
  233. <div class="table-responsive outward-detail-table-wrap">
  234. <table class="table table-striped table-bordered table-hover outward-detail-table">
  235. <colgroup>
  236. <col style="width:48px" />
  237. <col style="width:118px" />
  238. <col style="width:200px" />
  239. <col style="width:92px" />
  240. <col style="width:128px" />
  241. <col style="width:200px" />
  242. <col style="width:240px" />
  243. <col style="width:108px" />
  244. <col style="width:148px" />
  245. </colgroup>
  246. <thead>
  247. <tr>
  248. <th class="col-sn">序号</th>
  249. <th>订单号</th>
  250. <th class="col-title">印件名称</th>
  251. <th class="col-amount">加工金额</th>
  252. <th class="col-delivery">交货日期</th>
  253. <th>公司名称</th>
  254. <th>邮箱</th>
  255. <th>手机号</th>
  256. <th class="col-time">审核时间</th>
  257. </tr>
  258. </thead>
  259. <tbody>
  260. {volist name="rows" id="r"}
  261. <tr>
  262. <td class="text-center col-sn">{$i}</td>
  263. <td>{$r.CCYDH|default=''}</td>
  264. <td class="col-title">{$r.CYJMC|default=''}</td>
  265. <td class="col-amount">{$r.amount|default=''}</td>
  266. <td class="col-delivery">{$r.delivery|default=''}</td>
  267. <td>{$r.company_name|default=''}</td>
  268. <td>{$r.email|default=''}</td>
  269. <td>{$r.phone|default=''}</td>
  270. <td class="col-time">{$r.createtime_text|default=''}</td>
  271. </tr>
  272. {/volist}
  273. {empty name="rows"}
  274. <tr>
  275. <td colspan="{$detailColspan|default=9}" class="text-center text-muted">暂无记录</td>
  276. </tr>
  277. {/empty}
  278. </tbody>
  279. </table>
  280. </div>
  281. {/if}
  282. </div>