<%@ page contentType="text/html; charset=GBK"%>
<%@page import="com.sytax.xxfb.xxfbForm"%>
<%@page import="com.sytax.xxfb.xxfbCtrl"%>
<%@page import="java.util.ArrayList"%>
<%@ include file="/global.jsp" %>
<%@ page import ="com.sytax.oa.zixun.*" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@page import="com.sytax.oa.menu.function.FunctionForm"%>
<%@page import="com.sytax.oa.menu.function.FunctionCtrl"%>
<%@ page import="java.util.List" %>
<%@ page import="java.util.Map" %>
<%@ page import="com.sytax.global.*" %>
<%
String intidStr=session.getAttribute("menu_function_intid")!=null?(String)session.getAttribute("menu_function_intid"):"0";
%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<script language="javascript">
String.prototype.trim = function()
{
return this.replace(/(^/s*)|(/s*$)/g, '');
}
function tijiao(){
document.zixunForm.flag.value=6;
var yhsh=document.getElementById("YHSH").value;
if(isEmpty(yhsh)){
alert( "纳税税号不能为空");
return false;
}
var gh=document.getElementById("GONGHAO").value;
if(!(isNumeric(gh))){
alert("工号不能为空且必须为数字");
return false;
}
var n=document.getElementById("NEIRONG").value.trim();
if(isEmpty(n)){
alert( "咨询内容不能为空");
return false;
}
document.zixunForm.submit();
return true;
}
function searchcp(){
document.zixunForm.flag.value=9;
var yhsh=document.getElementById("YHSH").value;
if(isEmpty(yhsh)){
alert( "纳税税号不能为空");
return false;
}
document.zixunForm.action="<%=webPath%>/zixun/zixunAction.do";
document.zixunForm.submit();
}
function searchxx(){
document.zixunForm.flag.value=7;
var yhsh=document.getElementById("YHSH").value;
if(isEmpty(yhsh)){
alert( "纳税税号不能为空");
return false;
}
document.zixunForm.submit();
}
function searchmc(){
document.zixunForm.flag.value=8;
var yhsh=document.getElementById("YHSH").value;
if(isEmpty(yhsh)){
alert( "纳税税号不能为空");
return false;
}
document.zixunForm.action="<%=webPath%>/zixun/zixunAction.do";
document.zixunForm.submit();
}
function forback(){
alert("确定要退出吗?");
document.location.href="<%=webPath%>/yuyuedianhua/hrxx.jsp";
}
</script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>咨询登记</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="<%=webPath%>/resources/css/skin/<%=skinStr%>/common.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="<%=webPath%>/resources/javascript/to_check.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/article.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/page_goto.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/meizzDate.js"></script>
<script language="JavaScript" src="<%=webPath%>/resources/javascript/calendar.js"></script>
<script type="text/javascript" src="<%=webPath%>/resources/javascript/jquery-1.2.1.js"></script>
</head>
<body>
<html:form action="/zixun/zixunAction" method="POST"
scope="request">
<html:hidden property="flag" />
<table height="20" width ="1100" cellspacing="0" cellpandding="0"><tr class="bgcolor_detail"><td> </td></tr>
<tr><td> </td></tr>
</table>
<table align="center">
<tr>
<td class="border1" width="20%" height="25"><div align="center">
纳税人税号:
</td>
<%String yhsh = session.getAttribute("taxno")!=null?(String)session.getAttribute("taxno"):"";
String j="";
if(!"".equals(yhsh)){
j="disabled";
}
%>
<td class="border1" width="30%">
<input id="YHSH" name="YHSH" size = "50"
<%=j %> value="<%=yhsh%>">
<html:hidden property="YHSH" value="<%=yhsh%>"/>
</td>
<td>
<input type="button" value="纳税人基本信息查询" onClick="searchxx();">
</td>
</tr>
<tr>
<td class="border1" width="20%" height="25"><div align="center">
用户名称:
</td>
<%String yname=session.getAttribute("dymc")!= null?(String)session.getAttribute("dymc"):"" ;
String jj="";
if(!"".equals(yname)){
jj="disabled";
}
%>
<td class="border1" width="30%">
<input id="YHNAME" name="YHNAME" size = "50"
<%=jj %> value="<%=yname%>">
<html:hidden property="YHNAME" value="<%=yname%>"/>
</td>
<td>
<input type="button" value="激费信息查询" onClick="searchmc();">
</td>
</tr>
<tr>
<td class="border1" width="13%" height="25"><div align="center">
流水号:
</td>
<%String lsh=session.getAttribute("lsh")!= null?(String)session.getAttribute("lsh"):"" ; %>
<td class="border1" width="30%">
<input disabled type="text" name="LIUSHUI" value="<%=lsh%>" size="50"/>
<html:hidden property="LIUSHUI" value="<%=lsh%>"/>
</td>
<td class="border1" width="13%" height="25"><div align="center">
工号:
</div></td>
<td class="border1" width="20%">
<input id="GONGHAO" name="GONGHAO" size = "50"
>
</td>
</tr>
<tr>
<td class="border1" width="13%" height="25"><div align="center">
来电人姓名:
</td>
<td class="border1" width="20%">
<input id="XINGMING" name="XINGMING" size = "50"
>
</td>
<td class="border1" width="13%" height="25"><div align="center">
来电人性别:
</td>
<td class="border1" width="30%">
<select name="XINGBIE" >
<option value="0"> 男 </option>
<option value="1"> 女 </option>
</select>
</td>
</tr>
<tr>
<td class="border1" width="20%" height="25"><div align="center">
来话人地址:
</td>
<td class="border">
<input id="DIZHI" name="DIZHI" size = "50"
>
</td>
<td class="border1" width="13%" height="25"><div align="center">
来电号码:
</td>
<%String phonenum = session.getAttribute("dytel")!=null?(String)session.getAttribute("dytel"):""; %>
<td class="border1" width="30%">
<input id="DIANHUA" name="DIANHUA" size = "50"
value="<%=phonenum%>">
</td>
</tr>
<tr>
<td class="border1" width="20%" height="25"><div align="center">
问题处理结果:
</td>
<td class="border1">
<select name="DAFU_ZHUANGTAI">
<option value="0">未处理
</option>
<option value="1">已处理
</option>
</select>
</td>
<td class="border1" width="20%" height="25"><div align="center">
咨询分类:
</td>
<td class="border1" width="30%">
<select style="width=100%;" name="FenLei" >
<%
ZXCtrl zixunCtrl=new ZXCtrl();
try{
String[] s=zixunCtrl.getFenlei();
int i=0;
while(i<s.length){
out.println("<option value='"+s[i]+"'>"+s[i+1]+"</option>");
i=i+2;
}
}catch(Exception e){
e.printStackTrace();
}
%>
</select>
</td>
</tr>
<tr>
<td class="border1" width="20%" height="25"><div align="center">
受理满意度:
</td>
<%String MYD = session.getAttribute("myd")!=null?(String)session.getAttribute("myd"):"";
%>
<td class="border1" width="30%">
<select name="SL_MYD" disabled>
<option value="<%=MYD %>"> <%=MYD %></option>
</select>
<html:hidden property="SL_MYD" value="<%=MYD%>"/>
</td>
<td class="border1" width="20%" height="25"><div align="center">
受理时间:
</td>
<%String d=session.getAttribute("cjdate")!=null?(String)session.getAttribute("cjdate"):"" ; %>
<td class="border1">
<input type="text" name="SLTIME" size = "30" value="<%=d %>">
</td>
</tr>
<tr>
<td class="border1" width="20%" height="25"><div align="center">
备注:
</td>
<td class="border1" width="30%">
<textarea name="BEIZHU" cols=40 rows=6>
</textarea>
</td>
<td class="border1" width="20%" height="25" ><div align="center">
咨询内容:
</td>
<td class="border1" width="30%">
<textarea name="NEIRONG" id="NEIRONG" cols=40 rows=6 ></textarea>
</td>
</tr>
<tr>
<td class="border1" width="20%" height="25"><div align="center">
是否派单:
</td>
<td class="border1" width="30%">
<select name="PD_FALSE">
<option value="0"> 是 </option>
<option value="1"> 否 </option>
</select>
</td>
</tr>
<tr >
<td colspan="4" align="center">
<input type="button" value=" 通用产品信息 " onClick="searchcp();" />
<input type="button" value=" 保存 " onClick="tijiao();" />
<input type="button" value=" 退出 " onClick="forback();" />
</td>
</tr>
</table>
<table>
<tr><td align = "right">
<font color="#FF0000"><%=request.getAttribute("listdata")!=null?request.getAttribute("listdata"):""%></font>
</td></tr>
</table>
</html:form>
</body>
</html>