升级easyUI到1.9.4版本
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
<script type="text/javascript" src="/js/colorbox/jquery.colorbox-min.js"></script>
|
||||
<script type="text/javascript" src="/js/colorbox/colorboxSet.js"></script>
|
||||
<link href="/js/colorbox/colorbox.css" rel="stylesheet" type="text/css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/default/easyui.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/js/easyui-1.3.5/themes/icon.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/default/easyui.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/js/easyui/themes/icon.css"/>
|
||||
<link type="text/css" rel="stylesheet" href="/css/common.css"/>
|
||||
<script type="text/javascript" src="/js/easyui-1.3.5/jquery.easyui.min.js"></script>
|
||||
<script type="text/javascript" src="/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
|
||||
<script type="text/javascript" src="/js/easyui/jquery.easyui.min.js"></script>
|
||||
<script type="text/javascript" src="/js/easyui/locale/easyui-lang-zh_CN.js"></script>
|
||||
<script type="text/javascript" src="/js/common/common.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
@@ -24,7 +24,7 @@
|
||||
<tr>
|
||||
<td>公司名称:</td>
|
||||
<td>
|
||||
<input type="text" name="searchCompanyName" id="searchCompanyName" style="width:100px;"/>
|
||||
<input type="text" name="searchCompanyName" id="searchCompanyName" class="easyui-textbox" style="width:100px;"/>
|
||||
</td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
@@ -39,39 +39,57 @@
|
||||
<div id="systemConfigDlg" class="easyui-dialog" style="width:380px;padding:10px 20px"
|
||||
closed="true" buttons="#dlg-buttons" modal="true" collapsible="false" closable="true">
|
||||
<form id="systemConfigFM" method="post" novalidate>
|
||||
<div class="fitem" style="padding:5px">
|
||||
<label id="companyNameLabel">公司名称 </label>
|
||||
<input name="companyName" id="companyName" class="easyui-validatebox"
|
||||
data-options="required:true,validType:'length[2,15]'" style="width: 220px;height: 20px"/>
|
||||
</div>
|
||||
<div class="fitem" style="padding:5px">
|
||||
<label id="companyContactsLabel">联系人 </label>
|
||||
<input name="companyContacts" id="companyContacts" style="width: 220px;height: 20px"/>
|
||||
</div>
|
||||
<div class="fitem" style="padding:5px">
|
||||
<label id="companyAddressLabel">公司地址 </label>
|
||||
<input name="companyAddress" id="companyAddress" style="width: 220px;height: 20px"/>
|
||||
</div>
|
||||
<div class="fitem" style="padding:5px">
|
||||
<label id="companyTelLabel">公司电话 </label>
|
||||
<input name="companyTel" id="companyTel" style="width: 220px;height: 20px"/>
|
||||
</div>
|
||||
<div class="fitem" style="padding:5px">
|
||||
<label id="companyFaxLabel">公司传真 </label>
|
||||
<input name="companyFax" id="companyFax" style="width: 220px;height: 20px"/>
|
||||
</div>
|
||||
<div class="fitem" style="padding:5px">
|
||||
<label id="companyPostCodeLabel">公司邮编 </label>
|
||||
<input name="companyPostCode" id="companyPostCode" style="width: 220px;height: 20px"/>
|
||||
</div>
|
||||
<div class="fitem" style="padding:5px">
|
||||
<label id="depotFlagLabel">仓库开关 </label>
|
||||
<input name="depotFlag" id="depotFlag" type="checkbox" style="width: 220px;height: 20px" title="勾选后需要到用户列表配置权限"/>
|
||||
</div>
|
||||
<div class="fitem" style="padding:5px">
|
||||
<label id="customerFlagLabel">客户开关 </label>
|
||||
<input name="customerFlag" id="customerFlag" type="checkbox" style="width: 220px;height: 20px" title="勾选后需要到用户列表配置权限"/>
|
||||
</div>
|
||||
<table>
|
||||
<tr>
|
||||
<td>公司名称</td>
|
||||
<td style="padding:5px">
|
||||
<input name="companyName" id="companyName" class="easyui-textbox"
|
||||
data-options="required:true,validType:'length[2,15]'" style="width: 220px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>联系人</td>
|
||||
<td style="padding:5px">
|
||||
<input name="companyContacts" id="companyContacts" class="easyui-textbox" style="width: 220px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>公司地址</td>
|
||||
<td style="padding:5px">
|
||||
<input name="companyAddress" id="companyAddress" class="easyui-textbox" style="width: 220px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>公司电话</td>
|
||||
<td style="padding:5px">
|
||||
<input name="companyTel" id="companyTel" class="easyui-textbox" style="width: 220px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>公司传真</td>
|
||||
<td style="padding:5px">
|
||||
<input name="companyFax" id="companyFax" class="easyui-textbox" style="width: 220px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>公司邮编</td>
|
||||
<td style="padding:5px">
|
||||
<input name="companyPostCode" id="companyPostCode" class="easyui-textbox" style="width: 220px;"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>仓库开关</td>
|
||||
<td style="padding:5px">
|
||||
<input name="depotFlag" id="depotFlag" type="checkbox" style="width: 220px;height: 20px" title="勾选后需要到用户列表配置权限"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>客户开关</td>
|
||||
<td style="padding:5px">
|
||||
<input name="customerFlag" id="customerFlag" type="checkbox" style="width: 220px;height: 20px" title="勾选后需要到用户列表配置权限"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<div id="dlg-buttons">
|
||||
@@ -120,8 +138,8 @@
|
||||
var rowInfo = rec.id + 'AaBb' + rec.companyName + 'AaBb' + rec.companyContacts + 'AaBb' + rec.companyAddress
|
||||
+ 'AaBb' + rec.companyTel + 'AaBb' + rec.companyFax + 'AaBb' + rec.companyPostCode
|
||||
+ 'AaBb' + rec.depotFlag + 'AaBb' + rec.customerFlag;
|
||||
str += '<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editSystemConfig(\'' + rowInfo + '\');"/> ';
|
||||
str += '<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteSystemConfig(' + rec.id + ');"/>';
|
||||
str += '<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editSystemConfig(\'' + rowInfo + '\');"/> ';
|
||||
str += '<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteSystemConfig(' + rec.id + ');"/>';
|
||||
return str;
|
||||
}
|
||||
},
|
||||
@@ -304,7 +322,7 @@
|
||||
if(pageTotal>=1) {
|
||||
$.messager.alert('提示', '只能填写一条系统配置信息', 'warning');
|
||||
} else {
|
||||
$('#systemConfigDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/edit_add.png"/> 增加系统配置');
|
||||
$('#systemConfigDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/edit_add.png"/> 增加系统配置');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
$('#systemConfigFM').form('clear');
|
||||
var row = {};
|
||||
@@ -365,7 +383,7 @@
|
||||
companyPostCode: systemConfigInfo[6]
|
||||
};
|
||||
oldCompanyName = systemConfigInfo[1];
|
||||
$('#systemConfigDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui-1.3.5/themes/icons/pencil.png"/> 编辑系统配置信息');
|
||||
$('#systemConfigDlg').dialog('open').dialog('setTitle', '<img src="/js/easyui/themes/icons/pencil.png"/> 编辑系统配置信息');
|
||||
$(".window-mask").css({width: webW, height: webH});
|
||||
$('#systemConfigFM').form('load', row);
|
||||
systemConfigId = systemConfigInfo[0];
|
||||
|
||||
Reference in New Issue
Block a user