将大部分页面的弹窗默认最大化,自适应窗口

This commit is contained in:
季圣华
2020-03-21 19:43:31 +08:00
parent 5f0cdd3f2e
commit f1fba5f705
24 changed files with 160 additions and 151 deletions

View File

@@ -54,23 +54,31 @@
<div id="inOutItemDlg" class="easyui-dialog" style="width:380px;padding:10px 20px"
closed="true" buttons="#dlg-buttons" modal="true" collapsible="false" closable="true">
<form id="inOutItemFM" method="post" novalidate>
<div class="fitem" style="padding:5px">
<label id="nameLabel">名&nbsp;&nbsp;&nbsp;&nbsp;称</label>
<input name="name" id="name" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width:230px;"/>
</div>
<div class="fitem" style="padding:5px">
<label id="typeLabel">类&nbsp;&nbsp;&nbsp;&nbsp;型</label>
<select name="type" id="type" class="easyui-combobox"
data-options="panelHeight:'auto'" style="width:230px;">
<option value="收入">收入</option>
<option value="支出">支出</option>
</select>
</div>
<div class="fitem" style="padding:5px">
<label id="remarkLabel">备&nbsp;&nbsp;&nbsp;&nbsp;注</label>
<textarea name="remark" id="remark" class="easyui-textbox" data-options="multiline:true" style="width: 230px;height: 40px;"></textarea>
</div>
<table>
<tr>
<td>名&nbsp;&nbsp;&nbsp;&nbsp;称</td>
<td style="padding:5px">
<input name="name" id="name" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width:230px;"/>
</td>
</tr>
<tr>
<td>类&nbsp;&nbsp;&nbsp;&nbsp;型</td>
<td style="padding:5px">
<select name="type" id="type" class="easyui-combobox"
data-options="panelHeight:'auto'" style="width:230px;">
<option value="收入">收入</option>
<option value="支出">支出</option>
</select>
</td>
</tr>
<tr>
<td>备&nbsp;&nbsp;&nbsp;&nbsp;注</td>
<td style="padding:5px">
<textarea name="remark" id="remark" class="easyui-textbox" data-options="multiline:true" style="width: 230px;height: 40px;"></textarea>
</td>
</tr>
</table>
</form>
</div>
<div id="dlg-buttons">

View File

@@ -44,9 +44,11 @@
<form id="roleFM" method="post" novalidate>
<table>
<tr>
<td><label id="nameLabel">角色名称&nbsp;&nbsp;</label></td>
<td style="padding:5px"><input name="name" id="name" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;"/></td>
<td>角色名称&nbsp;&nbsp;</td>
<td style="padding:5px">
<input name="name" id="name" class="easyui-textbox"
data-options="required:true,validType:'length[2,30]'" style="width: 230px;"/>
</td>
</tr>
</table>
</form>

View File

@@ -55,10 +55,10 @@
<table id="serialNumberTableData" style="top:50px;border-bottom-color:#FFFFFF"></table>
</div>
<div id="serialNumberDlg" class="easyui-dialog" style="width:860px;height:440px;padding:10px 20px"
<div id="serialNumberDlg" class="easyui-dialog" style="padding:10px 20px" fit="true"
closed="true" buttons="#dlg-buttons" modal="true" collapsible="false" closable="true">
<form id="serialNumberFM" method="post" novalidate>
<div id="tt" class="easyui-tabs" style="width:800px;height:320px;">
<div id="tt" class="easyui-tabs" style="width:100%;height: 520px">
<div title="基本信息" style="padding:20px;">
<table>
<tr>
@@ -99,10 +99,10 @@
<a href="javascript:void(0)" id="cancelSerialNumber" class="easyui-linkbutton" iconCls="icon-cancel"
onclick="javascript:$('#serialNumberDlg').dialog('close')">取消</a>
</div>
<div id="batAddSerialNumberDlg" class="easyui-dialog" style="width:860px;height:440px;padding:10px 20px"
<div id="batAddSerialNumberDlg" class="easyui-dialog" style="padding:10px 20px" fit="true"
closed="true" buttons="#bat-dlg-buttons" modal="true" collapsible="false" closable="true">
<form id="batAddserialNumberFM" method="post" novalidate>
<div id="batAddtt" class="easyui-tabs" style="width:800px;height:320px;">
<div id="batAddtt" class="easyui-tabs" style="width: 100%; height: 520px">
<div title="批量自定义序列号" style="padding:20px;">
<table>
<tr>