<!--
 *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.*,include.nseer_cookie.*" import="java.util.*" import="java.io.*" import="include.nseer_db.*,java.text.*"%>
<%nseer_db security_db=new nseer_db((String)session.getAttribute("unit_db_name"));%>
<%@taglib uri="/WEB-INF/mytag.tld" prefix="page"%>
<jsp:useBean id="validata" scope="page" class="validata.ValidataNumber"/>
<%@include file="../../include/head_list.jsp"%>
<jsp:useBean id="demo" class="include.tree_index.businessComment" scope="page"/>
<jsp:useBean id="NseerSql" class="include.query.NseerSql" scope="page"/>
<jsp:useBean id="mask" class="include.operateXML.Reading"/>
<jsp:setProperty name="mask" property="file" value="xml/design/design_file.xml"/>
<%
DealWithString DealWithString=new DealWithString(application);
String mod=request.getRequestURI();
demo.setPath(request);
String handbook=demo.businessComment(mod,"您正在做的业务是：","document_main","reason","value");
%>
<table <%=TABLE_STYLE2%> class="TABLE_STYLE2">
<tr <%=TR_STYLE1%> class="TR_STYLE1">
<td <%=TD_HANDBOOK_STYLE1%> class="TD_HANDBOOK_STYLE1"><div class="div_handbook"><%=handbook%></div></td>
</tr>
</table>
<%
String register_ID=(String)session.getAttribute("human_IDD");
String tablename="design_file";
String realname=(String)session.getAttribute("realeditorc");
String condition="check_tag='1' and type!='物料'";
String queue="order by register_time desc";
String validationXml="../../../xml/design/design_file.xml";
String nickName="产品档案";
String fileName="retailRate_list.jsp";
String rowSummary=demo.getLangBlank("erp","符合条件的产品档案总数");
%>
<%@include file="../../../include/search.jsp"%>
<%
ResultSet rs1=security_db.executeQuery(sql_search);
otherButtons="";
%>
<%@include file="../../../include/search_top.jsp"%>
<div id="nseer_grid_div"></div>
<script type="text/javascript">
function id_link(link){
document.location.href=link;
}
var nseer_grid=new nseergrid();
nseer_grid.callname="nseer_grid";
nseer_grid.parentNode=nseer_grid.$("nseer_grid_div");
nseer_grid.columns=[{name: '<%=demo.getLang("erp","产品编号")%>'},{name: '<%=demo.getLang("erp","产品名称")%>'},{name: '<%=demo.getLang("erp","市场单价（元）")%>'},{name: '<%=demo.getLang("erp","成本单价")%>'},{name: '<%=demo.getLang("erp","参考成本单价")%>'},{name: '<%=demo.getLang("erp","绩效比例(按毛利)")%>'},{name: '<%=demo.getLang("erp","绩效比例(按销售额)")%>'},{name: '<%=demo.getLang("erp","个别计价")%>'},{name: '<%=demo.getLang("erp","变更")%>'}
]
nseer_grid.column_width=[180,140,110,80,80,120,120,60,40];
nseer_grid.auto='<%=demo.getLang("erp","产品名称")%>';
nseer_grid.data=[
<page:pages rs="<%=rs1%>" strPage="<%=strPage%>"> 
['<%=rs1.getString("product_ID")%>','<%=exchange.toHtml(rs1.getString("product_name"))%>','<%=demo.aformat(rs1.getDouble("list_price"))%>','<%=demo.aformat(rs1.getDouble("cost_price"))%>','<%=demo.aformat(rs1.getDouble("real_cost_price"))%>','<%=demo.aformat(rs1.getDouble("retail_profit_bonus_rate"))%>%','<%=demo.aformat(rs1.getDouble("retail_sale_bonus_rate"))%>%','<%=exchange.toHtml(rs1.getString("calculate_bonus_sn_tag"))%>','<div style="text-decoration : underline;color:#3366FF" onclick=id_link("retailRate_change.jsp?product_ID=<%=rs1.getString("product_ID")%>&&product_name=<%=toUtf8String.utf8String(exchange.toURL(rs1.getString("product_name")))%>&&retail_sale_bonus_rate=<%=rs1.getString("retail_sale_bonus_rate")%>&&retail_profit_bonus_rate=<%=rs1.getString("retail_profit_bonus_rate")%>")><%=demo.getLang("erp","变更")%></div>'],
</page:pages>
['']];
nseer_grid.init();
</script>
<div id="drag_div"></div>
<div id="point_div_t"></div>
<div id="point_div_b"></div>
<%@include file="../../../include/search_bottom.jsp"%>
<page:updowntag num="<%=intRowCount%>" file="<%=fileName%>"/>
<%security_db.close();%>
<%@include file="../../../include/head_msg.jsp"%>