@layout("/common/_container.html",{js:["/assets/modular/bs/opInfo/opInfo.js"]}){
|
|
<div class="layui-body-header">
|
<span class="layui-body-header-title">工序信息管理</span>
|
</div>
|
|
<div class="layui-fluid">
|
<div class="layui-row layui-col-space15">
|
<div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
|
<div class="layui-card">
|
<div class="layui-card-body">
|
<div class="layui-form toolbar">
|
<div class="layui-form-item">
|
<div class="layui-inline">
|
工序编号:
|
</div>
|
<div class="layui-inline">
|
<input id="opCode" class="layui-input" type="text" placeholder="工序编号"/>
|
</div>
|
<div class="layui-inline">
|
工序名称:
|
</div>
|
<div class="layui-inline">
|
<input id="opName" class="layui-input" type="text" placeholder="工序名称"/>
|
</div>
|
<div class="layui-inline">
|
产线编号:
|
</div>
|
<div class="layui-inline">
|
<input id="lineCode" class="layui-input" type="text" placeholder="产线编号"/>
|
</div>
|
<div class="layui-inline">
|
工序类型:
|
</div>
|
<div class="layui-inline">
|
<!-- <input id="opType" class="layui-input" type="text" placeholder="工序类型"/>-->
|
<select id="opType" name="opType">
|
<option value="">请选择工序类型</option>
|
</select>
|
</div>
|
<div class="layui-inline">
|
状态:
|
</div>
|
<div class="layui-inline">
|
<!-- <input id="status" class="layui-input" type="text" placeholder="状态"/>-->
|
<select name="status" id="status">
|
<option value="">请选择状态</option>
|
<option value="ENABLE">启用</option>
|
<option value="DISABLE">禁用</option>
|
</select>
|
</div>
|
<div class="layui-inline">
|
<button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon"></i>搜索</button>
|
<button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon"></i>添加</button>
|
<button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon"></i>导出</button>
|
</div>
|
</div>
|
</div>
|
<table class="layui-table" id="opInfoTable" lay-filter="opInfoTable"></table>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
<script type="text/html" id="tableBar">
|
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
|
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
|
</script>
|
|
<script type="text/html" id="statusTpl">
|
<input type="checkbox" lay-filter="status" value="{{d.id}}" lay-skin="switch" lay-text="启用|禁用"
|
{{d.status=='ENABLE'?'checked':''}}/>
|
</script>
|
@}
|