| | |
| | | var pageCurr; |
| | | var tableIns; |
| | | |
| | | layui.use(['table','laydate', 'form'], function(){ |
| | | var table = layui.table; |
| | | var $ = layui.jquery; |
| | |
| | | {type: 'checkbox'} |
| | | // ,{field: 'id', align: 'center',title: 'ID'} |
| | | ,{field: 'uuid', align: 'center',title: '编号'} |
| | | ,{field: 'name', align: 'center',title: '仓库名称'} |
| | | ,{field: 'name', align: 'center',title: '库区名称'} |
| | | // ,{field: 'parentId', align: 'center',title: '父级'} |
| | | // ,{field: 'parentName', align: 'center',title: '父级名称'} |
| | | ,{field: 'parentName', align: 'center',title: '所属仓库'} |
| | | // ,{field: 'type$', align: 'center',title: '类型'} |
| | | // ,{field: 'path', align: 'center',title: '关联路径'} |
| | | // ,{field: 'namePath', align: 'center',title: '关联路径名'} |
| | |
| | | layer.open({ |
| | | type: 2, |
| | | title: '新增', |
| | | maxmin: true, |
| | | area: [top.detailWidth, top.detailHeight], |
| | | area: ['30%', top.detailHeight], |
| | | content: 'area_detail.html', |
| | | success: function(layero, index){ |
| | | layer.getChildFrame('#data-detail-submit-edit', index).hide(); |
| | |
| | | layer.open({ |
| | | type: 2, |
| | | title: '修改', |
| | | maxmin: true, |
| | | area: [top.detailWidth, top.detailHeight], |
| | | area: ['30%', top.detailHeight], |
| | | content: 'area_detail.html', |
| | | success: function(layero, index){ |
| | | layer.getChildFrame('#data-detail-submit-save', index).hide(); |
| | |
| | | type: 'datetime' |
| | | }); |
| | | |
| | | |
| | | }); |
| | | |
| | | |
| | | |
| | | // 关闭动作 |
| | | $(document).on('click','#data-detail-close', function () { |
| | | parent.layer.closeAll(); |