<!--
 *this file is part of nseer erp
 *Copyright (C)2006-2010 Nseer(Beijing) Technology co.LTD/http://www.nseer.com 
 *
 *This program is free software; you can redistribute it and/or
 *modify it under the terms of the GNU General Public License
 *as published by the Free Software Foundation; either
 *version 2 of the License, or (at your option) any later version.
 -->
<%@page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" import="java.util.*" import="java.io.*" import="include.nseer_db.*,java.text.*,include.nseer_cookie.*"%>
<%@include file="../include/head.jsp"%>
<jsp:useBean id="demo" class="include.tree_index.businessComment" scope="page"/>
<%
DealWithString DealWithString=new DealWithString(application);
String mod=request.getRequestURI();
demo.setPath(request);
String handbook=demo.businessComment(mod,"您正在做的业务是：","document_main","reason","value");
%>
<%nseer_db crm_db=new nseer_db((String)session.getAttribute("unit_db_name"));%>
<script language="javascript" src="../../javascript/winopen/winopen.js"></script>
<script language="javascript" src="../../javascript/winopen/winopenm.js"></script>
<%
String customer_ID=request.getParameter("customer_ID");
String config_id=request.getParameter("config_id");
try{
String sql="select * from ecommerce_workflow where object_ID='"+customer_ID+"' and config_id='"+config_id+"'";
ResultSet rs=crm_db.executeQuery(sql);
while(rs.next()){
String check_time=rs.getString("check_time");
if(check_time.equals("1800-01-01 00:00:00.0")){
check_time="未审核";
}
%>
<table <%=TABLE_STYLE2%> class="TABLE_STYLE2">
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE3%> class="TD_STYLE3">
<td <%=TD_HANDBOOK_STYLE1%> class="TD_HANDBOOK_STYLE1"><div class="div_handbook"><%=handbook%></div></td>
</tr>
</table>
<div id="nseerGround" class="nseerGround">
<table height="30px" <%=TABLE_STYLE2%> class="TABLE_STYLE2">
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE3%> class="TD_STYLE3"><div <%=DIV_STYLE1%> class="DIV_STYLE1"><input type="button" <%=BUTTON_STYLE1%> class="BUTTON_STYLE1" <%=BUTTON_STYLE1%> class="BUTTON_STYLE1" value="<%=demo.getLang("erp","关闭")%>" onClick="window.close();"></div></td>
</tr>
</table>
<table <%=TABLE_STYLE1%> class="TABLE_STYLE1" id=theObjTable>
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE11%> class="TD_STYLE1" width="13%"><%=demo.getLang("erp","伙伴档案编号")%></td>
<td <%=TD_STYLE21%> class="TD_STYLE2" width="87%"><%=rs.getString("object_ID")%>&nbsp;</td>
</tr>
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE11%> class="TD_STYLE1" width="13%"><%=demo.getLang("erp","审核人编号")%></td>
<td <%=TD_STYLE21%> class="TD_STYLE2" width="87%"><%=rs.getString("checker_ID")%>&nbsp;</td>
</tr>
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE11%> class="TD_STYLE1" width="13%"><%=demo.getLang("erp","审核人")%></td>
<td <%=TD_STYLE21%> class="TD_STYLE2" width="87%"><%=exchange.toHtml(rs.getString("checker"))%>&nbsp;</td>
</tr>
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_STYLE11%> class="TD_STYLE1" width="13%"><%=demo.getLang("erp","审核时间")%></td>
<td <%=TD_STYLE21%> class="TD_STYLE2" width="87%"><%=exchange.toHtml(rs.getString("check_time"))%>&nbsp;</td>
</tr>
</table>
</div>
<%
}crm_db.close();
}catch (Exception ex){
out.println("error2:"+ex);
}
%>