| | |
| | | <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" style="border-color: #e1e1e1"> |
| | | <!-- <input class="layui-input" type="text" name="conditionName" placeholder="搜索字段" autocomplete="off" style="border-color: #e1e1e1">--> |
| | | <span id="conditionNameSpan">搜索字段:</span> |
| | | <select id="conditionNameSelect" name="conditionName" lay-verify="required"> |
| | | <option value = "" name="conditionName" disabled selected hidden > 请选择... </option> |
| | | <option value="name" name="conditionName">客户名称</option> |
| | | <option value="uuid" name="conditionName">客户代码</option> |
| | | <option value="addr" name="conditionName">详细地址</option> |
| | | <option value="tel" name="conditionName">电话</option> |
| | | <option value="remarks" name="conditionName">备注</option> |
| | | <option value="rela" name="conditionName">客户关系</option> |
| | | <option value="simple" name="conditionName">客户简称</option> |
| | | <option value="director" name="conditionName">负责人</option> |
| | | <option value="contacts" name="conditionName">客户联系人</option> |
| | | </select> |
| | | <input class="layui-input" type="text" name="condition" placeholder="值" autocomplete="off" style="border-color: #e1e1e1"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline">  |
| | |
| | | </body> |
| | | <!-- 表单弹窗 --> |
| | | <script type="text/html" id="editDialog"> |
| | | <form id="detail" lay-filter="detail" class="layui-form admin-form model-form"> |
| | | <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-md6"> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label layui-form-required">客户名称: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="name" placeholder="请输入客户名称" lay-vertype="tips" lay-verify="required" autocomplete="off"> |
| | | <input class="layui-input" name="name" placeholder="请输入客户名称" lay-vertype="tips" lay-verify="required|name" lay-min="8" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">省市区 : </label> |
| | | <label class="layui-form-label layui-form-required">省市区 : </label> |
| | | <div class="layui-input-block"> |
| | | <input id="cascaderVal" name="pcd" placeholder="请选择" class="layui-hide"/> |
| | | <input id="cascaderVal" name="pcd" placeholder="请选择" class="layui-hide" lay-verify="required"/> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">详细地址: </label> |
| | | <label class="layui-form-label layui-form-required">详细地址: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="addr" placeholder="请输入详细地址" autocomplete="off"> |
| | | <input class="layui-input" name="addr" placeholder="请输入详细地址" autocomplete="off" lay-verify="required"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">客户联系人: </label> |
| | | <label class="layui-form-label layui-form-required">客户联系人: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="contacts" placeholder="请输入客户联系人" autocomplete="off"> |
| | | <input class="layui-input" name="contacts" placeholder="请输入客户联系人" autocomplete="off" lay-verify="required"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">电话: </label> |
| | | <label class="layui-form-label layui-form-required">电话: </label> |
| | | <div class="layui-input-block"> |
| | | <input class="layui-input" name="tel" placeholder="请输入电话" autocomplete="off"> |
| | | <input class="layui-input" name="tel" placeholder="请输入电话" autocomplete="off" lay-verify="required"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">负责人: </label> |
| | | <label class="layui-form-label layui-form-required">负责人: </label> |
| | | <div class="layui-input-block cool-auto-complete"> |
| | | <input class="layui-input" name="director" placeholder="请输入负责人" style="display: none"> |
| | | <input class="layui-input" name="director" placeholder="请输入负责人" style="display: none" lay-verify="required"> |
| | | <input id="director$" name="director$" 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="userQueryBydirector" onkeyup="autoLoad(this.getAttribute('data-key'))"> |
| | |
| | | <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> |
| | | </div> |
| | | </script> |
| | | </html> |
| | | |