<!DOCTYPE html>
|
<html lang="en">
|
<head>
|
<meta charset="utf-8">
|
<title></title>
|
<meta name="renderer" content="webkit">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
|
<link rel="stylesheet" href="../../static/css/admin.css?v=318" media="all">
|
<link rel="stylesheet" href="../../static/css/cool.css" media="all">
|
</head>
|
<body>
|
|
<div class="layui-fluid">
|
<div class="layui-card">
|
<div class="layui-card-body">
|
<div class="layui-form toolbar" id="search-box">
|
<div class="layui-form-item">
|
<div class="layui-inline">
|
<div class="layui-input-inline">
|
<input class="layui-input" type="text" name="condition" placeholder="请输入" autocomplete="off">
|
</div>
|
</div>
|
<div class="layui-inline" style="width: 300px">
|
<div class="layui-input-inline">
|
<input class="layui-input layui-laydate-range" name="timeRange" type="text" placeholder="起始时间 - 终止时间" autocomplete="off" style="width: 300px">
|
</div>
|
</div>
|
<div class="layui-inline"> 
|
<button class="layui-btn icon-btn" lay-filter="search" lay-submit>
|
<i class="layui-icon"></i>搜索
|
</button>
|
<button class="layui-btn icon-btn" lay-filter="reset" lay-submit>
|
<i class="layui-icon"></i>重置
|
</button>
|
</div>
|
</div>
|
</div>
|
<table class="layui-hide" id="node" lay-filter="node"></table>
|
</div>
|
</div>
|
</div>
|
|
<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>
|
<button class="layui-btn layui-btn-sm layui-btn-danger" id="btn-delete" lay-event="deleteData">删除</button>
|
<button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData" style="float: right">导出</button>
|
</div>
|
</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-edit" lay-event="del">删除</a>
|
</script>
|
|
<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
|
<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
|
<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
|
<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
|
<script type="text/javascript" src="../../static/js/node/node.js" charset="utf-8"></script>
|
</body>
|
<!-- 表单弹窗 -->
|
<script type="text/html" id="editDialog">
|
<div id="detail" lay-filter="detail" class="layui-form admin-form model-form">
|
<input name="id" type="hidden">
|
<div class="layui-row">
|
<div class="layui-col-md12">
|
<div class="layui-form-item">
|
<label class="layui-form-label">编号: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="uuid" placeholder="请输入编号">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">名称: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="name" placeholder="请输入名称">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">父级: </label>
|
<div class="layui-input-block cool-auto-complete">
|
<input class="layui-input" name="parentId" placeholder="请输入父级" style="display: none">
|
<input id="parentId$" name="parentId$" class="layui-input cool-auto-complete-div" onclick="autoShow(this.id)" type="text" placeholder="请输入父级" onfocus=this.blur()>
|
<div class="cool-auto-complete-window">
|
<input class="cool-auto-complete-window-input" data-key="nodeQueryByparentId" onkeyup="autoLoad(this.getAttribute('data-key'))">
|
<select class="cool-auto-complete-window-select" data-key="nodeQueryByparentIdSelect" onchange="confirmed(this.getAttribute('data-key'))" multiple="multiple">
|
</select>
|
</div>
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">父级名称: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="parentName" placeholder="请输入父级名称">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">类型: </label>
|
<div class="layui-input-block">
|
<select name="type">
|
<option value="">请选择类型</option>
|
<option value="1">仓库</option>
|
<option value="2">库区</option>
|
<option value="3">货位</option>
|
</select>
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">关联路径: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="path" placeholder="请输入关联路径">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">关联路径名: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="namePath" placeholder="请输入关联路径名">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">等级: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="level" placeholder="请输入等级">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">负责人: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="leading" placeholder="请输入负责人">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">排序: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="sort" placeholder="请输入排序">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">条码: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="barcode" placeholder="请输入条码">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">推荐位: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="major" placeholder="请输入推荐位">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">状态: </label>
|
<div class="layui-input-block">
|
<select name="status">
|
<option value="">请选择状态</option>
|
<option value="1">正常</option>
|
<option value="0">禁用</option>
|
</select>
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">添加时间: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="createTime" id="createTime$" placeholder="请输入添加时间">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">添加人员: </label>
|
<div class="layui-input-block cool-auto-complete">
|
<input class="layui-input" name="createBy" placeholder="请输入添加人员" style="display: none">
|
<input id="createBy$" name="createBy$" class="layui-input cool-auto-complete-div" onclick="autoShow(this.id)" type="text" placeholder="请输入添加人员" onfocus=this.blur()>
|
<div class="cool-auto-complete-window">
|
<input class="cool-auto-complete-window-input" data-key="userQueryBycreateBy" onkeyup="autoLoad(this.getAttribute('data-key'))">
|
<select class="cool-auto-complete-window-select" data-key="userQueryBycreateBySelect" onchange="confirmed(this.getAttribute('data-key'))" multiple="multiple">
|
</select>
|
</div>
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">修改时间: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="updateTime" id="updateTime$" placeholder="请输入修改时间">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">修改人员: </label>
|
<div class="layui-input-block cool-auto-complete">
|
<input class="layui-input" name="updateBy" placeholder="请输入修改人员" style="display: none">
|
<input id="updateBy$" name="updateBy$" class="layui-input cool-auto-complete-div" onclick="autoShow(this.id)" type="text" placeholder="请输入修改人员" onfocus=this.blur()>
|
<div class="cool-auto-complete-window">
|
<input class="cool-auto-complete-window-input" data-key="userQueryByupdateBy" onkeyup="autoLoad(this.getAttribute('data-key'))">
|
<select class="cool-auto-complete-window-select" data-key="userQueryByupdateBySelect" onchange="confirmed(this.getAttribute('data-key'))" multiple="multiple">
|
</select>
|
</div>
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">备注: </label>
|
<div class="layui-input-block">
|
<input class="layui-input" name="memo" placeholder="请输入备注">
|
</div>
|
</div>
|
<div class="layui-form-item">
|
<label class="layui-form-label">授权商户: </label>
|
<div class="layui-input-block cool-auto-complete">
|
<input class="layui-input" name="hostId" placeholder="请输入授权商户" style="display: none">
|
<input id="hostId$" name="hostId$" class="layui-input cool-auto-complete-div" onclick="autoShow(this.id)" type="text" placeholder="请输入授权商户" onfocus=this.blur()>
|
<div class="cool-auto-complete-window">
|
<input class="cool-auto-complete-window-input" data-key="hostQueryByhostId" onkeyup="autoLoad(this.getAttribute('data-key'))">
|
<select class="cool-auto-complete-window-select" data-key="hostQueryByhostIdSelect" onchange="confirmed(this.getAttribute('data-key'))" multiple="multiple">
|
</select>
|
</div>
|
</div>
|
</div>
|
|
</div>
|
</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>
|
</div>
|
</div>
|
</script>
|
</html>
|