优化所有页面的搜索框样式

This commit is contained in:
季圣华
2020-03-02 20:00:29 +08:00
parent 58d19ece40
commit db004ee1a7
65 changed files with 1218 additions and 1161 deletions

View File

@@ -6,6 +6,8 @@
<!-- 指定以IE8的方式来渲染 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="/js/bootstrap/css/bootstrap.min.css">
<link type="text/css" rel="stylesheet" href="/css/jsherp.css"/>
<script type="text/javascript" src="/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="/js/print/print.js"></script>
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
@@ -19,24 +21,19 @@
<body>
<!-- 数据显示table -->
<div id="tablePanel" class="easyui-panel" data-options="fit:true" style="padding:1px;top:300px;" title="库存预警列表" iconCls="icon-list">
<table id="searchTable">
<tr>
<td>仓库:</td>
<td>
<div class="box-body form-inline">
<div class="form-group">
<label class="control-label">仓库:</label>
<div class="control-inline">
<select name="searchProjectId" id="searchProjectId" style="width:100px;height: 30px;border: 1px solid #95B8E7;border-radius:5px;"></select>
</td>
<td>&nbsp;</td>
<td>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
&nbsp;&nbsp;
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="exprotBtn">导出</a>
&nbsp;&nbsp;
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-print" id="printBtn">打印</a>
&nbsp;&nbsp;<span class="total-count"></span>
</td>
</tr>
</table>
</div>
</div>
<div class="form-group">
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-redo" id="exprotBtn">导出</a>
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-print" id="printBtn">打印</a>
</div>
</div>
<table id="tableData" style="top:300px;border-bottom-color:#FFFFFF"></table>
</div>
@@ -297,18 +294,12 @@
}),
success: function (res) {
if(res && res.code === 200 && res.data) {
var HeadIds = res.data.total;
if (HeadIds > 0) {
if (pageSize === 3000) {
window.location.href = "/depotItem/exportWarningExcel?browserType=" + getOs() + "&currentPage=" + pageNo + "&pageSize=" + pageSize + "&projectId=" + $.trim($("#searchProjectId").val()) ;
}
else {
//获取排序后的产品ID
$("#tableData").datagrid('loadData', res.data.rows);
}
if (pageSize === 3000) {
window.location.href = "/depotItem/exportWarningExcel?browserType=" + getOs() + "&currentPage=" + pageNo + "&pageSize=" + pageSize + "&projectId=" + $.trim($("#searchProjectId").val()) ;
}
else {
$.messager.alert('查询提示', '无数据!', 'error');
//获取排序后的产品ID
$("#tableData").datagrid('loadData', res.data.rows);
}
}
},