audit_issue.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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-table-wrap {
  14. max-height: 240px;
  15. overflow: auto;
  16. margin-bottom: 12px;
  17. border: 1px solid #e5e5e5;
  18. }
  19. .audit-issue-wrap .audit-process-table {
  20. margin: 0;
  21. font-size: 12px;
  22. table-layout: fixed;
  23. width: 100%;
  24. min-width: 860px;
  25. }
  26. .audit-issue-wrap .audit-process-table th {
  27. background: #f5f5f5;
  28. white-space: nowrap;
  29. font-weight: 600;
  30. padding: 6px 8px;
  31. vertical-align: middle;
  32. }
  33. .audit-issue-wrap .audit-process-table th.text-center,
  34. .audit-issue-wrap .audit-process-table td.text-center {
  35. text-align: center;
  36. }
  37. .audit-issue-wrap .audit-process-table td {
  38. padding: 6px 8px;
  39. vertical-align: middle;
  40. word-wrap: break-word;
  41. }
  42. .audit-issue-wrap .audit-table {
  43. margin: 0;
  44. font-size: 12px;
  45. }
  46. .audit-issue-wrap .audit-table th {
  47. background: #f5f5f5;
  48. white-space: nowrap;
  49. }
  50. .audit-issue-wrap .audit-quote-lines {
  51. margin: 0;
  52. padding: 0;
  53. font-size: 11px;
  54. color: #555;
  55. line-height: 1.65;
  56. }
  57. .audit-issue-wrap .audit-quote-line {
  58. margin: 0;
  59. padding: 0;
  60. list-style: none;
  61. }
  62. .audit-issue-wrap .audit-quote-line + .audit-quote-line {
  63. margin-top: 4px;
  64. }
  65. .audit-issue-wrap .audit-quote-line .quote-gymc {
  66. color: #333;
  67. }
  68. .audit-issue-wrap .audit-quote-line .quote-ok {
  69. color: #3c763d;
  70. }
  71. .audit-issue-wrap .audit-quote-line .quote-wait {
  72. color: #999;
  73. }
  74. .audit-issue-wrap .audit-quote-line .quote-meta {
  75. color: #666;
  76. }
  77. .audit-issue-wrap .audit-quote-line .quote-empty {
  78. color: #d9534f;
  79. }
  80. .audit-issue-wrap .audit-pick-table td label {
  81. margin: 0;
  82. font-weight: normal;
  83. cursor: pointer;
  84. }
  85. .audit-issue-wrap tr.audit-row-no-quote td {
  86. color: #666;
  87. }
  88. .audit-issue-wrap tr.audit-row-no-quote label {
  89. cursor: pointer;
  90. }
  91. .audit-issue-wrap .text-quote-ok {
  92. color: #3c763d;
  93. }
  94. .audit-issue-wrap .text-quote-wait {
  95. color: #999;
  96. }
  97. </style>
  98. <div class="audit-issue-wrap">
  99. <div class="audit-block-title">本单工序({$processCount|default='1'} 项)</div>
  100. <div class="audit-table-wrap">
  101. <table class="table table-bordered table-condensed audit-process-table">
  102. <thead>
  103. <tr>
  104. <th class="text-center" style="width:100px;">订单号</th>
  105. <th style="min-width:160px;">印件名称</th>
  106. <th>工序名称</th>
  107. <th class="text-center" style="width:56px;">单位</th>
  108. <th class="text-center" style="width:72px;">工作量</th>
  109. <th class="text-center" style="width:72px;">本次数量</th>
  110. <th class="text-center" style="width:72px;">最高限价</th>
  111. <th class="text-center" style="width:80px;">订法</th>
  112. </tr>
  113. </thead>
  114. <tbody>
  115. {volist name="processDisplayRows" id="pr"}
  116. <tr>
  117. {if $pr.show_order_cells}
  118. <td class="text-center"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''}</td>
  119. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''}</td>
  120. {/if}
  121. <td>{$pr.CGYMC|default=''}</td>
  122. <td class="text-center">{$pr.CDW|default=''}</td>
  123. <td class="text-center">{$pr.NGZL|default=''}</td>
  124. <td class="text-center">{$pr.This_quantity|default=''}</td>
  125. <td class="text-center">{$pr.ceilingPrice|default=''}</td>
  126. <td class="text-center">{$pr.CDF|default=''}</td>
  127. </tr>
  128. {/volist}
  129. </tbody>
  130. </table>
  131. </div>
  132. <div class="audit-block-title">供应商报价(请勾选一家)</div>
  133. <div class="audit-table-wrap">
  134. <table class="table table-bordered table-condensed audit-table audit-pick-table">
  135. <thead>
  136. <tr>
  137. <th style="width:42px;"></th>
  138. <th>公司名称</th>
  139. <th>联系人</th>
  140. <th>邮箱</th>
  141. <th>手机号</th>
  142. <th>报价明细</th>
  143. </tr>
  144. </thead>
  145. <tbody id="audit-pick-tbody">
  146. {volist name="supplierGroups" id="co" key="k"}
  147. <tr class="{if !$co.has_quote}audit-row-no-quote{/if}" data-has-quote="{if $co.has_quote}1{else /}0{/if}">
  148. <td class="text-center">
  149. <label>
  150. <input type="radio" name="audit_pick_company" class="audit-pick-radio" value="{$k-1}"/>
  151. </label>
  152. </td>
  153. <td>{$co.name|default=''}</td>
  154. <td>{$co.username|default=''}</td>
  155. <td>{$co.email|default=''}</td>
  156. <td>{$co.phone|default=''}</td>
  157. <td>
  158. {if isset($co.lines) && $co.lines}
  159. <div class="audit-quote-lines">
  160. {volist name="co.lines" id="ln"}
  161. <div class="audit-quote-line">
  162. <span class="quote-meta">工序名称:</span><span class="quote-gymc">{$ln.cgymc|default='工序'}</span>
  163. <span class="quote-meta"> · 金额 </span>{if condition="$ln.amount_filled"}<span>{$ln.amount_show}</span>{else /}<span class="quote-empty">未填</span>{/if}<span class="quote-meta">,货期 </span>{if condition="$ln.delivery_filled"}<span>{$ln.delivery_show}</span>{else /}<span class="quote-empty">未填</span>{/if}
  164. </div>
  165. {/volist}
  166. </div>
  167. {else /}
  168. <span class="text-quote-wait">待报价</span>
  169. {/if}
  170. </td>
  171. </tr>
  172. {/volist}
  173. </tbody>
  174. </table>
  175. </div>
  176. <form id="audit-issue-form" class="form-horizontal" role="form">
  177. {:token()}
  178. <input type="hidden" name="scydgy_id" value="{$scydgyId|htmlentities}"/>
  179. <input type="hidden" id="audit-supplier-groups-json" value="{$supplierGroupsJson|htmlentities}"/>
  180. </form>
  181. <div class="form-group layer-footer">
  182. <div class="row procuremen-audit-issue-footer-row">
  183. <div class="col-xs-12 procuremen-audit-issue-footer-btns">
  184. <button type="button" style="margin-right: 20px" class="btn btn-primary btn-embossed" id="btn-audit-issue-submit">
  185. <i class="fa fa-check"></i> 确认
  186. </button>
  187. <button type="button" style="margin-right: 20px" class="btn btn-default btn-embossed" id="btn-audit-issue-close">
  188. <i class="fa fa-times"></i> 关闭
  189. </button>
  190. </div>
  191. </div>
  192. </div>
  193. </div>