118 lines
4.2 KiB
Plaintext
118 lines
4.2 KiB
Plaintext
<%@ page contentType="text/html; charset=GBK"%>
|
||
<body class="info_page" onresize="javascript:change_height('<%=sButtonPosition%>')" >
|
||
<div id="messageBox" class="info_error_edoc" style="display:none;">
|
||
<div class="ow_righttop_close" onclick="$(this).parent().hide();" ></div>
|
||
<div class="info_error_rt" onmousedown="AsLink.moveBoxOnDown(event, this.parentNode)"></div>
|
||
<div class="info_error_eline"></div>
|
||
<div class="info_error_txt">
|
||
<ul class="info_error_ulstyle" id="ul_error_0">
|
||
</ul>
|
||
</div>
|
||
<div class="info_error_txt" id="showpart">
|
||
<ul class="info_error_ulstyle" id="ul_error_1">
|
||
</ul>
|
||
</div>
|
||
<button class="info_error_mobtn" id="mobtn" name="btn">ÏÔʾ¸ü¶à</button>
|
||
<button class="info_error_mobtn" id="hidbtn" name="btn">ÊÕÆð</button>
|
||
</div>
|
||
<table class="info_data_tablecommon" id="InfoTable">
|
||
<tr height=1>
|
||
<td valign=top>
|
||
<%=sASNavigatorHtml%>
|
||
</td>
|
||
</tr>
|
||
<tr height=1>
|
||
<td valign=top>
|
||
<%=sASWizardHtml%>
|
||
</td>
|
||
</tr>
|
||
<%
|
||
if(com.amarsoft.awe.ui.model.ItemHelp.isShowButton(isShowButton,sButtons) && ("both".equalsIgnoreCase(sButtonPosition) || "north".equalsIgnoreCase(sButtonPosition)) ){%>
|
||
<tr height=1 id="ButtonTR">
|
||
<td valign=top id="InfoButtonArea" class="infodw_buttonarea_td" align="left" >
|
||
<%@ include file="/Frame/resources/include/ui/include_buttonset_dw.jspf"%>
|
||
</td>
|
||
</tr>
|
||
<%}%><tr id="DWTR" >
|
||
<td valign=top class="infodw_top_area" id="DWTD" >
|
||
<div id="div_my0">
|
||
<form name="myiframe0" id="myiframe0" style="margin:0px;width: 100%" method="post" action="<%=sWebRootPath%>/Frame/page/ow/InfoSave.jsp" target="WINDOW_SAVE_IFRAME_<%=CurPage.getClientID()%>">
|
||
<%out.print(CurPage.getObjectWindowOutput().get(0));%>
|
||
<script type="text/javascript">addSpecialCharacterValidate(getIdNames("myiframe0"));</script>
|
||
</form>
|
||
</div>
|
||
<%if(com.amarsoft.awe.ui.model.ItemHelp.isShowButton(isShowButton,sButtons) && ("both".equalsIgnoreCase(sButtonPosition) || "south".equalsIgnoreCase(sButtonPosition)) ){%>
|
||
<div align="center" style="margin-top:-20px;">
|
||
<br>
|
||
<%@ include file="/Frame/resources/include/ui/include_buttonset_dw.jspf"%>
|
||
</div>
|
||
<%}%>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
<%@ include file="/Frame/page/jspf/ui/widget/ow/info_context_menu.jspf"%>
|
||
</body>
|
||
<script type="text/javascript">
|
||
<%-- ±£ÁôÔʼֵ --%>
|
||
saveElementsValue(0,false);
|
||
<%
|
||
ASDataObject asoFRequest = (ASDataObject)request.getAttribute("ASDataObject");
|
||
if(asoFRequest!=null){
|
||
out.println(asoFRequest.getScriptFunctions());
|
||
request.removeAttribute("ASDataObject");
|
||
}
|
||
%>
|
||
change_height('<%=sButtonPosition%>',<%=doTemp.getColCount()%>);
|
||
if(screen.availWidth<1025) bFreeFormMultiCol=false;
|
||
|
||
<%--
|
||
°´Enter¼üÌø×ªµ½ÏÂÒ»¸ö¿Ø¼þ
|
||
¶àÐÐÎı¾textareaÓл»Ðй¦ÄÜ£¬ÓÐЩIE6ÏÂbutton°´EnterÓеã»÷Ч¹û£¬²»Ö§³ÖÌø×ª
|
||
--%>
|
||
$(function(){
|
||
$("#myiframe0").each(function(){
|
||
var inputs = $(":input", this); <%-- ²éÕҿؼþ --%>
|
||
inputs.bind("keypress", function(e){ <%-- °ó¶¨keypressʼþ IE²»Ö§³Ö(IEä¯ÀÀÆ÷ÓÐ×Ô¼ºµÄEnterÌø×ª¹¦ÄÜ) --%>
|
||
if(e.keyCode != 13 || $(this).is("textarea,:button")) return; <%-- textareaÓл»Ðй¦ÄÜ£¬IE6ÏÂbutton°´EnterÓеã»÷Ч¹û --%>
|
||
$(getNext(this)).focus(); <%-- ¾Û½¹µ½ÏÂÒ»¸ö¿Ø¼þ --%>
|
||
});
|
||
|
||
<%-- »ñÈ¡ÏÂÒ»¸ö¿Ø¼þ --%>
|
||
function getNext(obj){
|
||
var next = null;
|
||
var begin = false; <%-- ¿ªÊ¼²éÕÒ±êʶ --%>
|
||
inputs.each(function(i){
|
||
if(begin && $(this).is(":visible")){ <%-- ¿ªÊ¼²éÕÒ£¬²¢¿Ø¼þ¿É¼û --%>
|
||
next = this;
|
||
return false; <%-- ÖÕֹѻ· --%>
|
||
}
|
||
if(this == obj) begin = true; <%-- ²éÕÒ¿ªÊ¼ --%>
|
||
});
|
||
return next;
|
||
}
|
||
});
|
||
});
|
||
function initSelectOption(sql,text,value,colname){
|
||
var sReturn = AsControl.RunJsp("/Tenwa/Comm/ContractTemplate/select.jsp","sql="+sql+"&text="+text+"&value="+value);
|
||
$("#"+colname).empty();
|
||
$("#"+colname).append("<option value='' selected>---ÇëÑ¡Ôñ---</option>");
|
||
if(sReturn.length>0){
|
||
var sparam=eval("("+sReturn+")");
|
||
for(var key in sparam){
|
||
var text=sparam[key].text||"";
|
||
if(text!=""){
|
||
$("#"+colname).append("<option value='"+sparam[key].value+"'>"+sparam[key].text+"</option>");
|
||
}
|
||
}
|
||
}
|
||
}
|
||
|
||
function setErrorTips(colName,tips){
|
||
if(tips==""){
|
||
setItemUnit(0,getRow(),colName,"");
|
||
return ;
|
||
}
|
||
setItemUnit(0,getRow(),colName,"<font color=red>"+tips+"</font>");
|
||
}
|
||
</script>
|
||
<%@ include file="/Frame/page/jspf/ui/widget/ow/overdiv.jspf"%> |