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

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

@@ -66,8 +66,7 @@
webH = document.documentElement.clientHeight;
webW = document.documentElement.offsetWidth;
widthInfo = $("body").outerWidth() -27;
var mtopH = $("#searchTable").outerHeight();
var positionH = $("#position").outerHeight();
var mtopH = $(".box-body").outerHeight();
heightInfo = webH - mtopH - 86;
//分页信息修改成 15条
@@ -83,11 +82,11 @@
}
}
function dgResize() {
var searchTabHeight = $('#searchTable').height();
var searchTabHeight = $('.box-body').height();
if($('#tableData').length) {
$('#tableData').datagrid('resize', {
width: $(window).width() - 6,
height: $(window).height() - searchTabHeight -46
height: $(window).height() - searchTabHeight -43
});
}
}

View File

@@ -546,12 +546,10 @@
//重置按钮
$("#searchResetBtn").unbind().bind({
click:function(){
$("#searchSupplier").val("");
$("#searchType").val("");
$("#searchPhonenum").val("");
$("#searchTelephone").val("");
$("#searchDesc").val("");
$("#searchSupplier").textbox("clear");
$("#searchPhonenum").textbox("clear");
$("#searchTelephone").textbox("clear");
$("#searchDesc").textbox("clear");
//加载完以后重新初始化
$("#searchBtn").click();
}
@@ -563,8 +561,8 @@
//编辑信息
function editSupplier(supplierTotalInfo) {
var supplierInfo = supplierTotalInfo.split("AaBb");
var beginNeedGet = supplierInfo[5];
var beginNeedPay = supplierInfo[6];
var beginNeedGet = supplierInfo[5].replace("undefined","");
var beginNeedPay = supplierInfo[6].replace("undefined","");
var row = {
supplier : supplierInfo[1],
contacts : supplierInfo[2].replace("undefined",""),