| | |
| | | {{# } else if(d.type === 3){ }} |
| | | <span name="type" class="layui-badge layui-badge-green" ><span style="display: none">{{d.number}}</span>货位</span> |
| | | {{# } else { }} |
| | | <span name="type" class="layui-badge layui-badge-gray" ><span style="display: none">{{d.number}}</span>其他</span> |
| | | <span name="type" class="layui-badge layui-badge-gray" ><span style="display: none">{{d.number}}</span>Другое</span> |
| | | {{# } }} |
| | | </script> |
| | | |
| | | <script type="text/html" id="operate"> |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="edit">修改</a> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs btn-del" lay-event="del">删除</a> |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="edit">Изменить</a> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs btn-del" lay-event="del">Удалить</a> |
| | | </script> |
| | | |
| | | <!-- 表单弹窗 --> |
| | |
| | | </div> |
| | | <hr class="layui-bg-gray"> |
| | | <div class="layui-form-item text-right"> |
| | | <button class="layui-btn" lay-filter="editSubmit" lay-submit="">保存</button> |
| | | <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button> |
| | | <button class="layui-btn" lay-filter="editSubmit" lay-submit="">Сохранить</button> |
| | | <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">Отменить</button> |
| | | </div> |
| | | </form> |
| | | </script> |
| | |
| | | ,{type: 'numbers'} |
| | | ,{field: 'name', align: 'left',title: '编号/名称', minWidth: 150} |
| | | // ,{field: 'uuid', left: 'center',title: '编号/名称', minWidth: 150} |
| | | ,{field: 'type$', align: 'center',title: '类型', templet: '#typeTpl'} |
| | | ,{field: 'type$', align: 'center',title: 'Тип', templet: '#typeTpl'} |
| | | // ,{field: 'leading', align: 'center',title: '负责人'} |
| | | // ,{field: 'img', align: 'center',title: '图片', hide: true} |
| | | // ,{field: 'brief', align: 'center',title: '简要描述'} |
| | | // ,{field: 'count', align: 'center',title: '数量'} |
| | | // ,{field: 'count', align: 'center',title: 'Количество'} |
| | | // ,{field: 'sort', align: 'center',title: '排序'} |
| | | ,{field: 'status$', align: 'center',title: '状态', hide: true} |
| | | ,{field: 'updateTime$', align: 'center',title: '修改时间'} |
| | | ,{field: 'updateBy$', align: 'center',title: '修改人员'} |
| | | ,{field: 'memo', align: 'center',title: '备注', hide: true} |
| | | ,{field: 'status$', align: 'center',title: 'Статус', hide: true} |
| | | ,{field: 'updateTime$', align: 'center',title: 'Время редактирования'} |
| | | ,{field: 'updateBy$', align: 'center',title: 'Редактировал'} |
| | | ,{field: 'memo', align: 'center',title: 'Примечание', hide: true} |
| | | |
| | | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150} |
| | | ,{fixed: 'right', title:'Операция', align: 'center', toolbar: '#operate', width:150} |
| | | ]], |
| | | done: function (data) { |
| | | console.log(data) |
| | |
| | | admin.open({ |
| | | type: 1, |
| | | area: '600px', |
| | | title: (mData ? '修改' : '添加') + '货位', |
| | | title: (mData ? 'Изменить' : 'Добавить') + '货位', |
| | | content: $('#editDialog').html(), |
| | | success: function (layero, dIndex) { |
| | | // 回显表单数据 |