| | |
| | | cols: [[ |
| | | {type: 'checkbox'} |
| | | // ,{field: 'id', title: 'ID', sort: true,align: 'center', fixed: 'left', width: 80} |
| | | ,{field: 'locNo', align: 'center',title: '货位编号'} |
| | | ,{field: 'locNo', align: 'center',title: '货位', templet: '#locNoTpl'} |
| | | // ,{field: 'nodeId$', align: 'center',title: '所属货位',event: 'nodeId', style: 'cursor:pointer'} |
| | | ,{field: 'zpallet', align: 'center',title: '托盘码'} |
| | | ,{field: 'anfme', align: 'center',title: '库存余量'} |
| | |
| | | // ,{field: 'nodeId$', align: 'center',title: '所属区域',event: 'nodeId', style: 'cursor:pointer'} |
| | | ,{field: 'matnr', align: 'center',title: '商品编号'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称', minWidth: 300} |
| | | ,{field: 'tagId$', align: 'center',title: '所属归类'} |
| | | ,{field: 'tagId$', align: 'center',title: '所属归类', templet: '#tagTpl'} |
| | | // ,{field: 'name', align: 'center',title: '名称'} |
| | | ,{field: 'specs', align: 'center',title: '规格'} |
| | | ,{field: 'model', align: 'center',title: '型号', hide: true} |
| | |
| | | <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData">导出</button> |
| | | </div> |
| | | </script> |
| | | |
| | | <script type="text/html" id="locNoTpl"> |
| | | <span name="locNo" class="layui-badge layui-badge-gray">{{d.locNo}}</span> |
| | | </script> |
| | | <script type="text/html" id="operate"> |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">详情</a> |
| | | <a class="layui-btn layui-btn-xs btn-edit" lay-event="edit">编辑</a> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <script type="text/html" id="tagTpl"> |
| | | <span name="tagId" class="layui-badge layui-badge-gray">{{d.tagId$}}</span> |
| | | </script> |
| | | |
| | | <script type="text/html" id="toolbar"> |
| | | <div class="layui-btn-container"> |
| | | <button class="layui-btn layui-btn-sm" id="btn-add" lay-event="addData">新增</button> |