- 注册时间
- 2014-6-3
- 最后登录
- 2015-10-14
- 阅读权限
- 10
- 积分
- 159
- 精华
- 0
- 帖子
- 21

|
felt 发表于 2014-6-4 09:43 
复制你的代码重现不出你的问题
请提供完整重现的html页面,高级模式可以打包 ...
<fieldset style="border: 1px #AAAAAA solid; width: 100%;height:100%;"><legend>项目</legend>
<div>
<div class="nui-toolbar" width="100%" id="deptButton" style="border-bottom:0;padding:0px;">
<table style="width:100%;">
<tr>
<td style="width:100%;">
<a class="nui-button" iconCls="icon-add" onclick="addProjectRow()" plain="true">增加</a>
<a class="nui-button" iconCls="icon-remove" id="icon-remove" onclick="removeProjectRow()" plain="true">删除</a>
</td>
</tr>
</table>
</div>
</div>
<div id="datagridDepts" name="datagridDepts" class="mini-datagrid" allowResize="true" dataField="pmworktimeweeks"
url="com.rongwei.pims.pm.worktime.worktime.impl.pmworktime.getPmworktimeweek.biz.ext" oncellbeginedit="cellBeginedit"
showPager="false" allowCellEdit="true" allowCellSelect="true" ondrawcell="ondrawcell" allowCellValid="true"
idField="contractprojectsplitid" multiSelect="true"
cellclick="setTotalContractAmount" style="height:300px"
>
<div property="columns">
<div field="contractprojectsplitid" width="0" style="display:none;"></div>
<div field="projectid" displayField="projectname" headerAlign="center" >项目名称
<input property="editor" class="nui-combobox nui-form-input" style="width:100%;" onvaluechanged="contractchange"
url="com.rongwei.pims.pm.worktime.worktime.impl.getMyProject.getMyProject.biz.ext?projectstatus=30,40,50,60,70"
valueField="projectid" textField="projectname" dataField="pmprojects"/>
</div>
<div header="周日" field="sunday">
<div property="columns">
<div field="sunday.normalhour" width="30" height="80" headerAlign="center">正常
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="sunday.travelhour" width="30" height="80" headerAlign="center">出差
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="sunday.remarks" width="80" height="80" headerAlign="center">日志
<input property="editor" width="80" class="nui-textarea" allowInput="true"/>
</div>
</div>
</div>
<div header="周一" >
<div property="columns">
<div field="monday.normalhour" width="30" height="80" headerAlign="center">正常
<input property="editor" class="nui-textbox" style="width:100%;"/>
</div>
<div field="monday.travelhour" width="30" height="80" headerAlign="center">出差
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="monday.remarks" width="80" height="80" headerAlign="center">日志
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
</div>
</div>
<div header="周二" >
<div property="columns">
<div field="tuesday.normalhour" width="30" height="80" headerAlign="center">正常
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="tuesday.travelhour" width="30" height="80" headerAlign="center">出差
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="tuesday.remarks" width="80" height="80" headerAlign="center">日志
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
</div>
</div>
<div header="周三" >
<div property="columns">
<div field="wednesday.normalhour" width="30" height="80" headerAlign="center">正常
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="wednesday.travelhour" width="30" height="80" headerAlign="center">出差
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="wednesday.remarks" width="80" height="80" headerAlign="center">日志
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
</div>
</div>
<div id="four" header="周四" >
<div property="columns">
<div field="thursday.normalhour" width="30" height="80" headerAlign="center">正常
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="thursday.travelhour" width="30" height="80" headerAlign="center">出差
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="thursday.remarks" width="80" height="80" headerAlign="center">日志
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
</div>
</div>
<div id="five" header="周五" >
<div property="columns">
<div field="friday.normalhour" width="30" height="80" headerAlign="center">正常
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="friday.travelhour" width="30" height="80" headerAlign="center">出差
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
<div field="friday.remarks" width="80" height="80" headerAlign="center">日志
<input property="editor" class="nui-textbox" style="width:100%;" allowInput="true"/>
</div>
</div>
</div>
<div header="周六" >
<div property="columns">
<div field="saturday.normalhour" width="30" height="80" headerAlign="center">正常
<input property="editor" class="nui-textbox" style="width:100%;"/>
</div>
<div field="saturday.travelhour" width="30" height="80" headerAlign="center">出差
<input property="editor" class="nui-textbox" style="width:100%;"/>
</div>
<div field="saturday.remarks" width="80" height="80" headerAlign="center">日志
<input property="editor" class="nui-textbox" style="width:100%;"/>
</div>
</div>
</div>
</div>
</div>
</fieldset> |
|