完善搜索条件
parent
a0799df777
commit
947948502a
|
@ -105,7 +105,7 @@
|
|||
<div class="input-group">
|
||||
<input name="customerName" class="form-control" type="text" required
|
||||
onclick="selectCustomer()">
|
||||
<span class="input-group-addon" style="width: 40px !important;"><i
|
||||
<span class="input-group-addon"><i
|
||||
class="fa fa-search"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -109,7 +109,7 @@
|
|||
<div class="input-group">
|
||||
<input name="customerName" th:field="*{customerName}" class="form-control" type="text"
|
||||
required onclick="selectCustomer()">
|
||||
<span class="input-group-addon" style="width: 40px !important;"><i
|
||||
<span class="input-group-addon"><i
|
||||
class="fa fa-search"></i></span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -3,13 +3,14 @@
|
|||
<head>
|
||||
<th:block th:include="include :: header('办事处信息列表')" />
|
||||
</head>
|
||||
|
||||
<body class="gray-bg">
|
||||
<div class="container-div">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 search-collapse">
|
||||
<form id="formId">
|
||||
<div class="select-list">
|
||||
<ul>
|
||||
<ul id="element1">
|
||||
<li>
|
||||
<label>办事处编码:</label>
|
||||
<input type="text" name="agentCode"/>
|
||||
|
@ -18,6 +19,18 @@
|
|||
<label>办事处名称:</label>
|
||||
<input type="text" name="agentName"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>所在省:</label>
|
||||
<select name="province" class="province form-control" data-first-title="选择省">
|
||||
<option value="">请选择</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label>所在市:</label>
|
||||
<select name="city" class="city form-control" data-first-title="选择省">
|
||||
<option value="">请选择</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||
|
@ -47,6 +60,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<th:block th:include="include :: jquery-cxselect-js"/>
|
||||
|
||||
<script th:inline="javascript">
|
||||
var editFlag = [[${@permission.hasPermi('system:agent:edit')}]];
|
||||
var removeFlag = [[${@permission.hasPermi('system:agent:remove')}]];
|
||||
|
@ -100,6 +115,15 @@
|
|||
}]
|
||||
};
|
||||
$.table.init(options);
|
||||
|
||||
var urlChina = '/cnarea/select';
|
||||
$.cxSelect.defaults.url = urlChina;
|
||||
// $.cxSelect.defaults.jsonSpace = 'data';
|
||||
$('#element1').cxSelect({
|
||||
selects: ['province', 'city'],
|
||||
nodata: 'none'
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
@ -89,8 +89,10 @@
|
|||
<div class="form-group">
|
||||
<label class="col-sm-4 control-label">所属行业:</label>
|
||||
<div class="col-sm-8">
|
||||
<select name="industryType" class="form-control" th:with="type=${@dict.getType('industry_code')}" required>
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
||||
<select name="industryType" class="form-control"
|
||||
th:with="type=${@dict.getType('industry_code')}" required>
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
||||
th:value="${dict.dictValue}"></option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<div class="col-sm-12 search-collapse">
|
||||
<form id="formId">
|
||||
<div class="select-list">
|
||||
<ul>
|
||||
<ul id="element1">
|
||||
<li>
|
||||
<label>客户编码:</label>
|
||||
<input type="text" name="customerCode"/>
|
||||
|
@ -22,18 +22,23 @@
|
|||
<label>客户邮编:</label>
|
||||
<input type="text" name="customerPostcode"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>所在省:</label>
|
||||
<input type="text" name="province"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>所在市:</label>
|
||||
<input type="text" name="city"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>详细地址:</label>
|
||||
<input type="text" name="address"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>所在省:</label>
|
||||
<select name="province" class="province form-control" data-first-title="选择省">
|
||||
<option value="">请选择</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label>所在市:</label>
|
||||
<select name="city" class="city form-control" data-first-title="选择省">
|
||||
<option value="">请选择</option>
|
||||
</select>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>联系人:</label>
|
||||
<input type="text" name="contactPerson"/>
|
||||
|
@ -48,7 +53,11 @@
|
|||
</li>
|
||||
<li>
|
||||
<label>所属行业:</label>
|
||||
<input type="text" name="industryType"/>
|
||||
<select name="industryType" class="form-control"
|
||||
th:with="type=${@dict.getType('industry_code')}" required>
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
||||
th:value="${dict.dictValue}"></option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label>创建时间:</label>
|
||||
|
@ -83,6 +92,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<th:block th:include="include :: jquery-cxselect-js"/>
|
||||
|
||||
<script th:inline="javascript">
|
||||
var editFlag = [[${@permission.hasPermi('system:customer:edit')}]];
|
||||
var removeFlag = [[${@permission.hasPermi('system:customer:remove')}]];
|
||||
|
@ -175,7 +186,18 @@
|
|||
}]
|
||||
};
|
||||
$.table.init(options);
|
||||
|
||||
var urlChina = '/cnarea/select';
|
||||
$.cxSelect.defaults.url = urlChina;
|
||||
// $.cxSelect.defaults.jsonSpace = 'data';
|
||||
$('#element1').cxSelect({
|
||||
selects: ['province', 'city'],
|
||||
nodata: 'none'
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -3,13 +3,21 @@
|
|||
<head>
|
||||
<th:block th:include="include :: header('代理商管理列表')" />
|
||||
</head>
|
||||
<style>
|
||||
#element1{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
</style>
|
||||
<body class="gray-bg">
|
||||
<div class="container-div">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 search-collapse">
|
||||
<form id="formId">
|
||||
<div class="select-list">
|
||||
<ul>
|
||||
<ul id="element1">
|
||||
<li>
|
||||
<label>代理商编码:</label>
|
||||
<input type="text" name="partnerCode"/>
|
||||
|
@ -18,6 +26,19 @@
|
|||
<label>代理商名称:</label>
|
||||
<input type="text" name="partnerName"/>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<label>所在省:</label>
|
||||
<select name="province" class="province form-control" data-first-title="选择省">
|
||||
<option value="">请选择</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label>所在市:</label>
|
||||
<select name="city" class="city form-control" data-first-title="选择省">
|
||||
<option value="">请选择</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<label>认证级别:</label>
|
||||
<select name="level" th:with="type=${@dict.getType('identify_level')}">
|
||||
|
@ -54,6 +75,8 @@
|
|||
</div>
|
||||
</div>
|
||||
<th:block th:include="include :: footer" />
|
||||
<th:block th:include="include :: jquery-cxselect-js"/>
|
||||
|
||||
<script th:inline="javascript">
|
||||
var editFlag = [[${@permission.hasPermi('system:partner:edit')}]];
|
||||
var removeFlag = [[${@permission.hasPermi('system:partner:remove')}]];
|
||||
|
@ -127,6 +150,14 @@
|
|||
}]
|
||||
};
|
||||
$.table.init(options);
|
||||
var urlChina = '/cnarea/select';
|
||||
$.cxSelect.defaults.url = urlChina;
|
||||
// $.cxSelect.defaults.jsonSpace = 'data';
|
||||
$('#element1').cxSelect({
|
||||
selects: ['province', 'city'],
|
||||
nodata: 'none'
|
||||
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue