@layout("/common/_form.html",{js:["/assets/modular/sys/codingRule/codingRule_edit.js"]}){
|
|
<form class="layui-form" id="codingRuleForm" lay-filter="codingRuleForm">
|
<div class="layui-fluid" style="padding-bottom: 75px;">
|
<div class="layui-card">
|
<div class="layui-card-header">基本信息</div>
|
<div class="layui-card-body">
|
<div class="layui-form-item layui-row">
|
<input name="id" type="hidden"/>
|
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">规则编号<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="codingRuleCode" name="codingRuleCode" placeholder="请输入编码规则编号" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">规则描述</label>
|
<div class="layui-input-block">
|
<input id="codingRuleDesc" name="codingRuleDesc" placeholder="请输入编码规则描述" type="text" class="layui-input"/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">启用日期<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<select name="enableDate" id="enableDate" lay-verify="required">
|
<option value="">请选择启用日期</option>
|
<option value="0">否</option>
|
<option value="1">是</option>
|
</select>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">日期格式<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<select id="dateType" name="dateType" lay-filter="dateType">
|
<option value="">日期格式类型</option>
|
</select>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">规则前缀</label>
|
<div class="layui-input-block">
|
<input id="codingRulePrefix" name="codingRulePrefix" placeholder="请输入编码规则前缀" type="text" class="layui-input"/>
|
</div>
|
</div>
|
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">当前编号<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="currentCode" name="currentCode" placeholder="请输入当前编号" type="text" class="layui-input" disabled lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">编号长度<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="codeLength" name="codeLength" placeholder="请输入编号长度" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md6">
|
<label class="layui-form-label">备注</label>
|
<div class="layui-input-block">
|
<input id="remark" name="remark" placeholder="请输入备注" type="text" class="layui-input"/>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div class="form-group-bottom text-center">
|
<button class="layui-btn" lay-filter="btnSubmit" lay-submit> 提交 </button>
|
<button type="reset" class="layui-btn layui-btn-primary" id="cancel"> 取消 </button>
|
</div>
|
|
</form>
|
|
@}
|