qingjian/view/manager/desk/add.html

46 lines
1.8 KiB
HTML

<form class="layui-form " data-action="{:url('manager.desk/add')}">
<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]" 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 == $default_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">隐藏</option>
<option value="yes" selected>正常</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="item[hall_id]" value="{$hall_id}">
</form>