| 1234567891011121314151617181920212223242526272829303132333435 |
- <h2>扣减系数管理</h2>
- <form method="post" action="/admin/factors/save">
- 检测项:
- <select name="option_id">
- {% for o in options %}
- <option value="{{ o.option_id }}">{{ o.option_name }}</option>
- {% endfor %}
- </select><br/>
- 比例系数:
- <input name="factor" value="1.0"><br/>
- 固定扣减:
- <input name="absolute_deduct" value="0"><br/>
- <button>保存</button>
- </form>
- <hr/>
- <table border="1">
- <tr>
- <th>检测项</th>
- <th>比例</th>
- <th>固定扣减</th>
- </tr>
- {% for r in rows %}
- <tr>
- <td>{{ r.option_name }}</td>
- <td>{{ r.factor }}</td>
- <td>{{ r.absolute_deduct }}</td>
- </tr>
- {% endfor %}
- </table>
|