⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 querymodifyrecordlist.jsp

📁 一套完整的工商12315的源程序jsp部分在12315里,后台JAVA部分在gs12315src里,没有打包数据库.
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<input type="hidden" name=selectBID value="">
<input type="hidden" name=selectItem value="">
<input type="hidden" value="1002" name=action>
<input type="hidden" value="<%=pageNum%>" name=nowPageNum>
<input type="hidden" value="<%=queryShowNum%>" name=queryShowNum>
<input type="hidden" value="<%=nextAction%>" name=nextAction>
<input type="hidden" value="<%=nextPageType%>" name=nextPageType>
</form>
</div>
<table border="0"  width="99%" >
<tr>
    <td class=businessTd><font class="textNoPrint textLeft10">[<a href="#" onclick="updatePageNUM()"  title="设置显示数量">显示数量</a>] 满足条件的企业共计:<font class=textWarnPrompt><%=queryResultCount%></font>个,每页<font class=textWarnPrompt><%=queryShowNum%></font>条记录,共<font class=textWarnPrompt><%=pageCount%></font>页,当前为第<font class="textLeft12" color=red><b>&nbsp;<%=queryNowPageNum%>&nbsp;</b></font>页。</font>
    </td>
</tr>
</table>
<br>
<input type="button" name="Submit1" value=" 登记修改 " <%if(queryResultList.size()==0){%>disabled<%}%> title="登记修改" onclick="functionInstance(1,'stockmanID')"  class="button" onmouseover="this.className='mouseover'" onmouseout="this.className='button'">
<%if(startSelectBID.startsWith("01")){
	}else{%>
<input type="button" name="Submit2" value=" 变更修改 " disabled title="变更修改" onclick="functionInstance(2,'stockmanID')"  class="button" onmouseover="this.className='mouseover'" onmouseout="this.className='button'">
<%}%>
<input type="button" name="Submit3" value="返回上一页" title="返回上一页" onclick="functionInstance('6','stockmanID')" class="button" onmouseover="this.className='mouseover'" onmouseout="this.className='button'"><br>
<span class=textLeft10>注释:[<font color=#0000FF>已变更企业</font>],[<font color="red">注销、吊销、迁入迁出企业</font>].</span>
<script>
function changeItem(stockman,selectnum,xName,selectSN,selectBID,xnameV){
	var rowT=document.all(stockman);
	var i=0;
	var j=0;
	var rowsNum=rowT.rows.length;
	if(document.all.selectRow.value!=""){
		for(j=0;j<rowT.rows[document.all.selectRow.value].cells.length;j++){
			if((document.all.selectRow.value)%2==0){
				rowT.rows[document.all.selectRow.value].cells[j].className="businessTd01LeftBig";
			}else{
				rowT.rows[document.all.selectRow.value].cells[j].className="businessTd00LeftBig";
			}
		}
	}

	for(j=0;j<rowT.rows[selectnum].cells.length;j++){
		rowT.rows[selectnum].cells[j].className="businessTd03LeftBig";
	}
	document.all.selectRow.value=selectnum;
	document.all.selectItemName.value=xName;

	document.all.selectSN.value=selectSN;
	document.all.selectBID.value=selectBID;
	document.all.selectItem.value=xnameV;

	//选择企业	
	selectBussiness.innerHTML="<font class=textLeft12><b>您选择的企业是:<font color=red>"+document.all.selectItemName.value+"</font></b></font>";
	
	//判断变更修改按钮是否可用
	if(document.all.Submit2!=null){
			if(rowT.rows[selectnum].cells[rowT.rows[selectnum].cells.length - 1].innerHTML.indexOf("已变更")>-1){
			document.all.Submit2.disabled = false;
		}else{
			document.all.Submit2.disabled = true;
		}
	}	
}

function selectallItem(state,stockman){
	//取消选择
	var rowT=document.all(stockman);
	var i=0;
	var j=0;
	var rowsNum=rowT.rows.length;
	if(state=="0"){
		for(i=1;i<rowsNum;i++){
			rowT.rows[i].cells[0].children[0].checked=false;
		}
	}else{
		//全部选择
		for(i=1;i<rowsNum;i++){
			rowT.rows[i].cells[0].children[0].checked=true;
		}
	}
	window.open("<%=request.getContextPath()%>/pageBuilderAction.do?action=<%=PageBuilderEvent.query_printSelectALL%>&pagePrintSelectAllFlag="+state,"","toolbar=no,resizable,scrollbars,dependent,width=300,height=160,top="+(screen.availHeight/2-160/2)+",left="+(screen.availWidth/2-300/2));
}

function functionInstance(id,stockman,nexpageNum){
	var w = screen.availWidth-10;
	var h = screen.availHeight-30;
	if(id==null||id=="")return false;	

	//取消选择
	var rowT=document.all(stockman);
	var i=0;
	var j=0;
	var rowsNum=rowT.rows.length;

  //  var action = "";
	//alert(document.all.selectBID.value);
	//修改
	if(id==1){
		if(document.all.selectItem.value==""){
			alert("请选择企业!");
			return false;
		}else{
			if((document.all.selectBID.value).length>2){
				//if(document.all.selectBID.value.substring(0,2)=='01'){
				//}else{
				//	document.all.selectBID.value="02"+document.all.selectBID.value.substring(2,6);
				//}		
				window.open("<%=request.getContextPath()%>/pageBuilderAction.do?action=<%=PageBuilderEvent.query_defineEditFrame%>&actionTo=<%=PageBuilderEvent.query_defineEditList%>&BID="+document.all.selectBID.value+"&innerID="+document.all.selectItem.value+"&SN="+document.all.selectSN.value,"","toolbar=no,resizable,scrollbars,dependent,width="+w+",height="+h+",top=0,left=0");
			}else{
				alert("您选择企业的业务类型不正确!");
			}
		}				
	}else	
	//变更修改
	if(id==2){
		if(document.all.selectItem.value==""){
			alert("请选择企业!");
			return false;
		}else{
			if((document.all.selectBID.value).length>2){
				window.open("<%=request.getContextPath()%>/pageBuilderAction.do?action=<%=PageBuilderEvent.query_defineEditFrame%>&actionTo=<%=PageBuilderEvent.query_modifyRecord_edit_list%>&SN="+document.all.selectSN.value+"&innerID="+document.all.selectItem.value+"&BID=03"+(document.all.selectBID.value).substring(2,(document.all.selectBID.value).length),"","toolbar=no,resizable,scrollbars,dependent,width="+w+",height="+h+",top=0,left=0");
			}else{
				alert("您选择企业的业务类型不正确!");
			}
		}
	}else
	//返回上一页
	if(id==6){
		location="<%=request.getContextPath()%>/pageBuilderAction.do?action=<%=nextAction%>&type=<%=nextPageType%>";		
	}else		
	//翻页
	if(id==10){
		//如果为单行
		if(rowsNum==2){
			if(rowT.rows[1].cells[0].children[0].checked){				
				var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>));
				theObj.value="1";
			}else{
				var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>));
				theObj.value="0";
			}
		}else{
			for(i=1;i<rowsNum;i++){
				if(rowT.rows[i].cells[0].children[0].checked){
					var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>+i-1));
					theObj.value="1";
				}else{
					var theObj = eval("document.forms[0].querySelectPrintItem" + (<%=(pageNum-1)*(Integer.parseInt(queryShowNum))%>+i-1));
					theObj.value="0";
				}
			}
		}
		document.forms[0].target="_top";
		document.forms[0].nowPageNum.value=nexpageNum;
		document.forms[0].action.value="4301";		
		document.forms[0].submit();		
	}	
}
//设置页面显示数量
function updatePageNUM(){
	var queryShowNum="";
	queryShowNum=prompt("请输入页面显示记录数量:",'<%=queryShowNum%>');
	if(queryShowNum==null){
		return false;
	}else{
		location="pageBuilderAction.do?action=4301&nowPageNum=<%=pageNum%>&queryShowNum="+queryShowNum;
	}
}

//刷新当前页
function refurbishPage(){
	functionInstance(10,'stockmanID','<%=pageNum%>');
}

<%=tempStrSelect%>
</script>
</center>
</body>
</html>
<%}catch(Exception ex){
	Debug.println("[querySuperShow.jsp]--->exception:"+ex.getMessage());
}%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -