audit_issue.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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. max-height: 240px;
  25. overflow: auto;
  26. margin-bottom: 12px;
  27. border: 1px solid #e5e5e5;
  28. }
  29. .audit-issue-wrap .audit-process-table {
  30. margin: 0;
  31. font-size: 12px;
  32. table-layout: fixed;
  33. width: 100%;
  34. min-width: 980px;
  35. }
  36. .audit-issue-wrap .audit-process-table th {
  37. background: #f5f5f5;
  38. white-space: nowrap;
  39. font-weight: 600;
  40. padding: 6px 8px;
  41. vertical-align: middle;
  42. }
  43. .audit-issue-wrap .audit-process-table th.text-center,
  44. .audit-issue-wrap .audit-process-table td.text-center {
  45. text-align: center;
  46. }
  47. .audit-issue-wrap .audit-process-table td {
  48. padding: 6px 8px;
  49. vertical-align: middle;
  50. word-wrap: break-word;
  51. }
  52. .audit-issue-wrap .audit-table {
  53. margin: 0;
  54. font-size: 12px;
  55. }
  56. .audit-issue-wrap .audit-table th {
  57. background: #f5f5f5;
  58. white-space: nowrap;
  59. }
  60. .audit-issue-wrap .audit-table td {
  61. padding: 6px 8px;
  62. vertical-align: middle;
  63. word-wrap: break-word;
  64. }
  65. .audit-issue-wrap .audit-quote-pick-table tbody tr {
  66. cursor: pointer;
  67. }
  68. .audit-issue-wrap .audit-quote-pick-table td label {
  69. margin: 0;
  70. font-weight: normal;
  71. cursor: pointer;
  72. }
  73. .audit-issue-wrap .audit-quote-item {
  74. margin-bottom: 6px;
  75. font-size: 12px;
  76. line-height: 1.5;
  77. }
  78. .audit-issue-wrap .audit-quote-item:last-child {
  79. margin-bottom: 0;
  80. }
  81. .audit-issue-wrap .audit-deadline-row {
  82. display: flex;
  83. align-items: flex-start;
  84. flex-wrap: wrap;
  85. gap: 8px 12px;
  86. margin: 0 0 12px;
  87. font-size: 13px;
  88. position: relative;
  89. z-index: 61;
  90. overflow: visible;
  91. }
  92. .audit-issue-wrap .audit-deadline-row .audit-field-label {
  93. font-weight: 600;
  94. color: #333;
  95. white-space: nowrap;
  96. flex-shrink: 0;
  97. margin: 7px 0 0;
  98. }
  99. .audit-issue-wrap .audit-deadline-input-wrap {
  100. position: relative;
  101. flex: 0 0 auto;
  102. z-index: 62;
  103. }
  104. .audit-issue-wrap .audit-sys-rq-input {
  105. width: 240px;
  106. max-width: 240px;
  107. min-width: 180px;
  108. }
  109. .audit-issue-wrap .audit-op-cell {
  110. white-space: nowrap;
  111. }
  112. .audit-issue-wrap .audit-op-cell .btn {
  113. padding: 2px 7px;
  114. font-size: 12px;
  115. margin: 0 2px 2px 0;
  116. }
  117. .audit-issue-wrap .audit-table-wrap.audit-quote-table-wrap {
  118. max-height: 360px;
  119. }
  120. .audit-issue-wrap .audit-quote-detail-table {
  121. min-width: 1180px;
  122. }
  123. .audit-issue-wrap .audit-quote-detail-table td.audit-quote-empty {
  124. color: #e67e22;
  125. }
  126. </style>
  127. <div class="audit-issue-wrap">
  128. <div class="audit-table-wrap">
  129. <table class="table table-bordered table-condensed audit-process-table">
  130. <thead>
  131. <tr>
  132. <th class="text-center" style="width:100px;">订单号</th>
  133. <th style="min-width:160px;">印件名称</th>
  134. <th>工序名称</th>
  135. <th class="text-center" style="width:56px;">单位</th>
  136. <th class="text-center" style="width:72px;">工作量</th>
  137. <th class="text-center" style="width:72px;">本次数量</th>
  138. <th class="text-center" style="width:72px;">最高限价</th>
  139. <th class="text-center" style="width:80px;">订法</th>
  140. <th style="min-width:120px;">备注</th>
  141. </tr>
  142. </thead>
  143. <tbody>
  144. {volist name="processDisplayRows" id="pr"}
  145. <tr>
  146. {if $pr.show_order_cells}
  147. <td class="text-center"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''}</td>
  148. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''}</td>
  149. {/if}
  150. <td>{$pr.CGYMC|default=''}</td>
  151. <td class="text-center">{$pr.CDW|default=''}</td>
  152. <td class="text-center">{$pr.NGZL|default=''}</td>
  153. <td class="text-center">{$pr.This_quantity|default=''}</td>
  154. <td class="text-center">{$pr.ceilingPrice|default=''}</td>
  155. <td class="text-center">{$pr.CDF|default=''}</td>
  156. <td>{$pr.MBZ|default=''}</td>
  157. </tr>
  158. {/volist}
  159. </tbody>
  160. </table>
  161. </div>
  162. <form id="audit-issue-form" class="form-horizontal" role="form" style="margin-bottom:0;">
  163. {:token()}
  164. <input type="hidden" name="scydgy_id" value="{$scydgyId|htmlentities}"/>
  165. <input type="hidden" id="audit-quote-groups-json" value="{$quoteGroupsJson|htmlentities}"/>
  166. <div class="audit-deadline-row">
  167. <span class="audit-field-label">截止时间:<span class="text-danger">*</span></span>
  168. <div class="audit-deadline-input-wrap">
  169. <input type="text" id="audit-sys-rq" name="sys_rq" class="form-control datetimepicker audit-sys-rq-input"
  170. value="{$sysRq|default=''|htmlentities}"
  171. data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true"
  172. placeholder="请选择年月日时分" autocomplete="off"/>
  173. </div>
  174. </div>
  175. </form>
  176. <p class="audit-notify-tip">
  177. <i class="fa fa-exclamation-triangle"></i>
  178. <strong>重要提示:</strong>请查看各供应商报价,<strong>选定唯一一家</strong>后点击「确认供应商」进入采购终审(本步<strong>任何发送短信通知</strong>)。
  179. 需再次提醒报价时,请在右侧<strong>操作</strong>列点击「发邮件」或「发短信」。
  180. </p>
  181. <div class="audit-table-wrap audit-quote-table-wrap">
  182. <table class="table table-bordered table-condensed audit-table audit-quote-pick-table audit-quote-detail-table">
  183. <thead>
  184. <tr>
  185. <th class="text-center" style="width:42px;">选定</th>
  186. <th style="min-width:140px;">供应商名称</th>
  187. <th style="width:88px;">姓名</th>
  188. <th style="min-width:160px;">邮箱</th>
  189. <th style="width:120px;">手机号</th>
  190. <th style="min-width:120px;">工序名称</th>
  191. <th class="text-center" style="width:88px;">单价</th>
  192. <th class="text-center" style="width:100px;">交货日期</th>
  193. <th class="text-center" style="width:88px;">小计</th>
  194. <th class="text-center" style="width:120px;">操作</th>
  195. </tr>
  196. </thead>
  197. <tbody id="audit-quote-tbody">
  198. {volist name="quoteGroups" id="co" key="k"}
  199. {volist name="co.lines" id="ln" key="lk"}
  200. <tr>
  201. {if $lk == 1}
  202. <td class="text-center"{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">
  203. <label>
  204. <input type="radio" class="audit-quote-pick" name="audit_quote_pick" value="{$co.name|default=''|htmlentities}"
  205. {if condition="$pickedCompanyName neq '' && $pickedCompanyName eq $co.name"} checked="checked"{/if}/>
  206. </label>
  207. </td>
  208. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{$co.name|default=''|htmlentities}</td>
  209. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{$co.username|default=''|htmlentities}</td>
  210. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{$co.email|default=''|htmlentities}</td>
  211. <td{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">{$co.phone|default=''|htmlentities}</td>
  212. {/if}
  213. <td>{$ln.cgymc|default=''|htmlentities}</td>
  214. <td class="text-center{if condition="$ln.amount_filled neq 1"} audit-quote-empty{/if}">{$ln.unit_price_text|default='未填写'|htmlentities}</td>
  215. <td class="text-center{if condition="$ln.delivery_filled neq 1"} audit-quote-empty{/if}">{$ln.delivery_show|default='未填写'|htmlentities}</td>
  216. <td class="text-center">{$ln.subtotal_text|default=''|htmlentities}</td>
  217. {if $lk == 1}
  218. <td class="text-center audit-op-cell"{if condition="$co.display_rowspan gt 1"} rowspan="{$co.display_rowspan}"{/if} style="vertical-align:middle;">
  219. <button type="button" class="btn btn-default btn-xs audit-row-send-email" data-company="{$co.name|default=''|htmlentities}">发邮件</button>
  220. <button type="button" class="btn btn-default btn-xs audit-row-send-sms" data-company="{$co.name|default=''|htmlentities}">发短信</button>
  221. </td>
  222. {/if}
  223. </tr>
  224. {/volist}
  225. {if !empty($co.has_total)}
  226. <tr class="active">
  227. <td colspan="3" class="text-right"><strong>总计</strong></td>
  228. <td class="text-center"><strong>{$co.total_text|default=''|htmlentities}</strong></td>
  229. </tr>
  230. {/if}
  231. {/volist}
  232. </tbody>
  233. </table>
  234. </div>
  235. <div class="form-group layer-footer">
  236. <div class="row procuremen-audit-issue-footer-row">
  237. <div class="col-xs-12 procuremen-audit-issue-footer-btns">
  238. <button type="button" style="margin-right: 12px" class="btn btn-primary btn-embossed" id="btn-audit-issue-submit">
  239. <i class="fa fa-check"></i> 确认
  240. </button>
  241. <button type="button" class="btn btn-default btn-embossed" id="btn-audit-issue-close">
  242. <i class="fa fa-times"></i> 关闭
  243. </button>
  244. </div>
  245. </div>
  246. </div>
  247. </div>