48 lines
2.0 KiB
HTML
48 lines
2.0 KiB
HTML
<form class="layui-form " data-action="{:url('manager.desk/edit')}">
|
|
<div class="layui-card-body ">
|
|
<input type="hidden" name="__token__" value="{$_token}" />
|
|
<strong style="color: #f20000; font-size: 12px; display: block; line-height: 1;">注意*号为必填选项!</strong>
|
|
<hr style="margin: 20px 0;">
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">桌号<em>*</em></label>
|
|
<div class="layui-input-block">
|
|
<input class="layui-input" type="number" name="item[number]" value="{$item['number']}" maxlength="60" />
|
|
</div>
|
|
</div>
|
|
<hr style="margin: 20px 0;">
|
|
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">乘坐人数</label>
|
|
<div class="layui-inline new-inline">
|
|
<select name="item[type]">
|
|
{foreach $desk_type as $key => $value}
|
|
<option value="{$key}" {if $key == $item['type']} selected {/if}>{$value}</option>
|
|
{/foreach}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">状态</label>
|
|
<div class="layui-inline new-inline">
|
|
<select name="item[show]">
|
|
<option value="no" {if $item['show'] == 'no'}selected{/if}>隐藏</option>
|
|
<option value="yes" {if $item['show'] == 'yes'}selected{/if}>正常</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label"></label>
|
|
<div class="layui-inline new-inline">
|
|
<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submitAll">保存</button>
|
|
</div>
|
|
</div>
|
|
<input type="hidden" name="id" value="{$item['id']}">
|
|
<input type="hidden" name="item[hall_id]" value="{$item['hall_id']}">
|
|
</form> |