📄 collectcompanyinfo.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="com.doone.uurm.WebAuth"%>
<html>
<head>
<title>信息修改查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="<%=request.getContextPath()%>/common/style/main.css" type="text/css" rel="stylesheet" />
<script language="JavaScript" src="<%=request.getContextPath()%>/common/script/ChangeStyle.js"></script>
<script language="JavaScript" src="<%=request.getContextPath()%>/common/mainTool.js"></script>
<script language="JavaScript" src="<%=request.getContextPath()%>/Resource/xmlhttpclient.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="../calendar/calendar-blue2.css"/>
<script type="text/javascript" src="../calendar/calendar.js"></script>
<script type="text/javascript" src="../calendar/calendar-zh.js"></script>
<script language="JavaScript">
function fn_onload() {
window.setTimeout("cltScript_Toolbar();",30);
}
function cltScript_Toolbar() {
if ( self.parent != self ){
var pel = parent.document.all.tags("frame");
for ( i=0; i< pel.length; i++) {
if ( pel(i).name == "main") {
divTop.style.width = pel(i).width;
divMain.style.width = pel(i).width;
divMain.style.height = pel(i).height - divTop.clientHeight;
}
}
}
}
function fn_Submit(that) {
var qrSimp = document.getElementById("QueryTable");
var qt = document.getElementById("Result");
if ( qrSimp == null || qt == null) return true;
//try {
if ( qt.caption == null ) {
qt.createCaption();
}
else {
while ( qt.caption.childNodes.length > 0 ) {
qt.caption.removeChild(qt.caption.childNodes[0]);
}
}
var inputsSimp = qrSimp.getElementsByTagName("INPUT");
var selectsSimp = qrSimp.getElementsByTagName("SELECT");
for ( var i = 0; i<inputsSimp.length; i++ ) {
if ( inputsSimp[i].value == "" || inputsSimp[i].name == "" ) continue;
var newInput = document.createElement("<INPUT NAME='" + inputsSimp[i].name + "'>");
newInput.value = inputsSimp[i].value;
qt.caption.appendChild(newInput);
}
for ( var i = 0; i<selectsSimp.length; i++ ) {
var sValue = selectsSimp[i].value;
if ( selectsSimp[i].disabled ) {
for ( var j =0; j<selectsSimp[i].options.length; j++ ) {
if ( selectsSimp[i].options(j).selected ) {
sValue=selectsSimp[i].options(j).value;
}
}
}
if ( sValue == "" || selectsSimp[i].name == "") continue;
var newInput = document.createElement("<INPUT NAME='" + selectsSimp[i].name + "'>");
newInput.value = selectsSimp[i].value;
qt.caption.appendChild(newInput);
}
qt.reload();
return false;
//}
//catch(ex){
// alert(ex.description);
//}
}
function fn_dblClick(companyinfoid){
var sURL = "displayCompanyInfo.jsp?id=" + companyinfoid;
window.windowOpen(sURL,600,500,"修改信息");
}
function onChoosed() {
}
function onUnChoosed(){
}
function onContentLoad(){
}
</script>
</head>
<%
String sPurvICode = "NGB001006";
WebAuth auth = WebAuth.getInstance(request);
if ( ! auth.IsAuthed() ) {
out.write("<script language=\"javascript\">self.parent.location.replace(\"" + request.getContextPath() + "/view/login/login.jsp" + "\");</script>");
return;
}else if ( ! auth.CheckPurv(sPurvICode) ) {
out.write("<script language=javascript src=\"../../common/script/RightForbidden.js\"></script>");
return;
}
%>
<body onLoad="fn_onload();">
<form id="Default" method="post" action="" onSubmit="return fn_Submit(this);">
<input type="hidden" id="isOpen" value="0">
<input type="hidden" name="count" value="0">
<div onresize="cltScript_Toolbar();" style="width: 100%">
<div id="divTop" style="overflow: hidden">
<table id="ibtnPanel" style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
cellpadding="0" width="100%" border="0">
<tr bgcolor="#efefef" height="33">
<td> </td>
</tr>
</table>
<jsp:include page="../../../common/inc_top.jsp" >
<jsp:param name="purvCode" value="<%=sPurvICode%>"/>
</jsp:include>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="OuterTable">
<tr>
<td width="100%" colspan="2" class="OuterHead" align="left"> <span id="ItemTitle"><font face="webdings">8</font>查询修改信息:</span>
</td>
</tr>
<tr>
<td width="100%" colspan="2" class="InnerMain" align="left">
<table id="QueryTable" border="0" cellspacing="0" cellpadding="0" width="100%">
<caption style="display:none;">
</caption>
<tbody>
<!--常用简单的查询条件-->
<tr height="25">
<td width="100%" align="left">
<table id="QuerySimp" border="0" width="100%" cellspacing="0"
cellpadding="0"
DefaultClass="DefaltRow"
SelectedClass="SelectedRow"
class="InnerTable">
<td width="10%" class="Caption_Td" align="right" nowrap="nowrap">客户ID:</td>
<td width="15%" align="left" nowrap="nowrap">
<input name="CUSTID" type="text" id="CUSTID" size="26"/>
</td>
<td class="Caption_Td" align="left" nowrap="nowrap">
<input name="CITYCODE" type="hidden" id="CITYCODE" value="<%=auth.getCityCode()%>" size="26"/>
</td>
</table>
</td>
</tr>
</tbody>
</table></td>
</tr>
<tr class="OuterFoot">
<td align="left" class="Caption_Td" style="padding-right:10px ">
<input name="submit" type="submit" class="button" value="查询">
<input name="reset" type="reset" class="button" value="重填">
</td>
</tr>
<tr height="3">
<td colspan="2"><img src="<%=request.getContextPath()%>/common/images/spacer.gif"></td>
</tr>
</table>
</div>
<div id="divMain" style="overflow: auto">
<!--service表的服务名-->
<!--dataService表的内容-->
<!--rcService表的行数-->
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="OuterTable">
<tr class="OuterHead">
<td width="100%" class="title_td" align="left">
<span id="ItemTitle"><font face="webdings">8</font>修改信息查询结果</span>
</td>
</tr>
</table>
<table id="Result" border="0" width="100%" cellspacing="0"
cellpadding="1"
style="behavior:url(../../../Resource/table.htc)"
DefaultClass="DefaltRow"
keyName="key"
SelectedClass="SelectedRow"
multiple="true"
onselected="return onChoosed();"
onunselected="return onUnChoosed();"
ontableload="return onContentLoad();"
ondblclick="return fn_dblClick();"
serviceURL="<%=request.getContextPath()+"/XmlHttpService"%>"
service="DskService"
dataService="getCollectCompanyInfoList"
rcService="getCollectCompanyInfoListCount"
pageStyle="0"
refresh = "true"
autoLoad="false"
class="OuterTable">
<caption style="display:none;"></caption>
<tr key="-1" type="">
<td class="InnerHead" style="cursor: default;" onClick="" colspan="10">没有任何记录信息</td>
</tr>
<tfoot>
<tr class="OuterFoot">
<td align="left" class="foot_td">
分页:<span id="pageSet">0</span>
</td>
<td align="right" class="foot_td" colspan="9">
</td>
</tr>
</tfoot>
</table>
<table id="oldParam" cellpadding="0" cellspacing="0" border="0" width="100%" class="OuterTable">
<caption style="display:none;"></caption>
</table>
</div>
</div>
</form>
<IFRAME id="orderAccept" style="display:none;"></IFRAME>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -