audit_issue.html 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  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. </style>
  118. <div class="audit-issue-wrap">
  119. <div class="audit-table-wrap">
  120. <table class="table table-bordered table-condensed audit-process-table">
  121. <thead>
  122. <tr>
  123. <th class="text-center" style="width:100px;">订单号</th>
  124. <th style="min-width:160px;">印件名称</th>
  125. <th>工序名称</th>
  126. <th class="text-center" style="width:56px;">单位</th>
  127. <th class="text-center" style="width:72px;">工作量</th>
  128. <th class="text-center" style="width:72px;">本次数量</th>
  129. <th class="text-center" style="width:72px;">最高限价</th>
  130. <th class="text-center" style="width:80px;">订法</th>
  131. <th style="min-width:120px;">备注</th>
  132. </tr>
  133. </thead>
  134. <tbody>
  135. {volist name="processDisplayRows" id="pr"}
  136. <tr>
  137. {if $pr.show_order_cells}
  138. <td class="text-center"{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CCYDH|default=''}</td>
  139. <td{if condition="$pr.order_rowspan gt 1"} rowspan="{$pr.order_rowspan}"{/if}>{$pr.CYJMC|default=''}</td>
  140. {/if}
  141. <td>{$pr.CGYMC|default=''}</td>
  142. <td class="text-center">{$pr.CDW|default=''}</td>
  143. <td class="text-center">{$pr.NGZL|default=''}</td>
  144. <td class="text-center">{$pr.This_quantity|default=''}</td>
  145. <td class="text-center">{$pr.ceilingPrice|default=''}</td>
  146. <td class="text-center">{$pr.CDF|default=''}</td>
  147. <td>{$pr.MBZ|default=''}</td>
  148. </tr>
  149. {/volist}
  150. </tbody>
  151. </table>
  152. </div>
  153. <form id="audit-issue-form" class="form-horizontal" role="form" style="margin-bottom:0;">
  154. {:token()}
  155. <input type="hidden" name="scydgy_id" value="{$scydgyId|htmlentities}"/>
  156. <input type="hidden" id="audit-quote-groups-json" value="{$quoteGroupsJson|htmlentities}"/>
  157. <div class="audit-deadline-row">
  158. <span class="audit-field-label">截止时间:<span class="text-danger">*</span></span>
  159. <div class="audit-deadline-input-wrap">
  160. <input type="text" id="audit-sys-rq" name="sys_rq" class="form-control datetimepicker audit-sys-rq-input"
  161. value="{$sysRq|default=''|htmlentities}"
  162. data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true"
  163. placeholder="请选择年月日时分" autocomplete="off"/>
  164. </div>
  165. </div>
  166. </form>
  167. <p class="audit-notify-tip">
  168. <i class="fa fa-exclamation-triangle"></i>
  169. <strong>重要提示:</strong>请查看各供应商报价,<strong>选定唯一一家</strong>后点击「确认供应商」进入采购终审(本步<strong>任何发送短信通知</strong>)。
  170. 需再次提醒报价时,请在右侧<strong>操作</strong>列点击「发邮件」或「发短信」。
  171. </p>
  172. <div class="audit-table-wrap">
  173. <table class="table table-bordered table-condensed audit-table audit-quote-pick-table">
  174. <thead>
  175. <tr>
  176. <th class="text-center" style="width:42px;">选定</th>
  177. <th>公司名称</th>
  178. <th style="width:88px;">联系人</th>
  179. <th style="min-width:160px;">邮箱</th>
  180. <th style="width:120px;">手机号</th>
  181. <th style="min-width:200px;">报价工序</th>
  182. <th class="text-center" style="width:120px;">操作</th>
  183. </tr>
  184. </thead>
  185. <tbody id="audit-quote-tbody">
  186. {volist name="quoteGroups" id="co" key="k"}
  187. <tr>
  188. <td class="text-center">
  189. <label>
  190. <input type="radio" class="audit-quote-pick" name="audit_quote_pick" value="{$co.name|default=''|htmlentities}"
  191. {if condition="$pickedCompanyName neq '' && $pickedCompanyName eq $co.name"} checked="checked"{/if}/>
  192. </label>
  193. </td>
  194. <td>{$co.name|default=''|htmlentities}</td>
  195. <td>{$co.username|default=''|htmlentities}</td>
  196. <td>{$co.email|default=''|htmlentities}</td>
  197. <td>{$co.phone|default=''|htmlentities}</td>
  198. <td>
  199. {volist name="co.lines" id="ln"}
  200. <div class="audit-quote-item">
  201. <div>工序:{$ln.cgymc|default=''|htmlentities}</div>
  202. <div>单价:{if condition="$ln.amount_filled"}{$ln.amount_show|htmlentities}{else /}未填写{/if}</div>
  203. <div>交货日期:{if condition="$ln.delivery_filled"}{$ln.delivery_show|htmlentities}{else /}未填写{/if}</div>
  204. </div>
  205. {/volist}
  206. </td>
  207. <td class="text-center audit-op-cell">
  208. <button type="button" class="btn btn-default btn-xs audit-row-send-email" data-company="{$co.name|default=''|htmlentities}">发邮件</button>
  209. <button type="button" class="btn btn-default btn-xs audit-row-send-sms" data-company="{$co.name|default=''|htmlentities}">发短信</button>
  210. </td>
  211. </tr>
  212. {/volist}
  213. </tbody>
  214. </table>
  215. </div>
  216. <div class="form-group layer-footer">
  217. <div class="row procuremen-audit-issue-footer-row">
  218. <div class="col-xs-12 procuremen-audit-issue-footer-btns">
  219. <button type="button" style="margin-right: 12px" class="btn btn-primary btn-embossed" id="btn-audit-issue-submit">
  220. <i class="fa fa-check"></i> 确认供应商
  221. </button>
  222. <button type="button" class="btn btn-default btn-embossed" id="btn-audit-issue-close">
  223. <i class="fa fa-times"></i> 关闭
  224. </button>
  225. </div>
  226. </div>
  227. </div>
  228. </div>