- <input type="hidden" name="id" id="id" value="{% if 'info' in data and data['info'] and 'id' in data['info'] and data['info']['id'] > 0 %}{{data['info']['id']}}{% end %}" />
- <input type="hidden" name="update_table_id" id="update_table_id" value="{{data['table_id']}}" />
- <div class="block">
- <label><span>打印机</span>
- <select name="update_printer_id" id="update_printer_id">
- {% for v in data['printer'] %}
- <option value="{{v['id']}}" {% if 'info' in data and data['info'] and 'printer_id' in data['info'] and data['info']['printer_id'] == v['id'] %}selected{% end %}>{{v['name']}}</option>
- {% end %}
- </select>
- </label>
- <label><span>打印张数</span><input type="text" name="update_num" id="update_num" value="{% if 'info' in data and data['info'] and 'num' in data['info'] and data['info']['num'] %}{{data['info']['num']}}{% end %}" placeholder="打印张数" /></label>
- </div>
|