<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/common.jsp"%>
<head>
<Dst:SMBase type="jquery,eui,ztree" pakgagePath="com.dst.slms.workBench.mediaReport" uipk="report" title="项目渠道情况表"/>
<style type="text/css">
.datagrid-simple .datagrid-header td, .datagrid-simple .datagrid-body td, .datagrid-simple .datagrid-footer td{
	border-width: 0 0 1px 1px;
}
</style>
</head>
<div id="main_list" class="easyui-layout" fit="true">
	<div data-options="region:'west',title:'组织',split:true" style="width:250px;padding:0px;">
		<Dst:SMZTree id="orgTree" url="/cost/getProjectBaseTree" expandAll="true" virtualRootName="项目组织树" onClick="clickTreeAction"  />
	</div>  
	<div region="center" style="padding:0px;border:0px">
		<Dst:SMDatagrid name="tblGrid" onLoadSuccess="onLoadSuccess" fitColumns="false" enableShowSimpleQuery="true" pagination="false" enableSimpleQuery="true" queryInputTpiLeft="true" queryMode="group" actionUrl="/report/mediaReportData?fid=" idField="id"  fit="true">
			<Dst:SMDgCol title="id" field="id"  hidden="true"></Dst:SMDgCol>
			<Dst:SMDgCol title="大项分类" field="ctname" query="false" sortable="false" align="center"></Dst:SMDgCol>
			<Dst:SMDgCol title="渠道类型" field="fname" query="true" sortable="false" align="center"></Dst:SMDgCol>
			<Dst:SMDgCol title="费用(万元)" field="amount" numberFormt="4@Y" sortable="false" align="right"></Dst:SMDgCol>
			<Dst:SMDgCol title="来人量" numberFormt="0@Y" field="lfcount"  sortable="false" align="right"></Dst:SMDgCol>
			<Dst:SMDgCol title="来人费效(元)" numberFormt="2@Y" field="lrfx"  sortable="false" align="right"></Dst:SMDgCol>
			<Dst:SMDgCol title="占总来人比例%" numberFormt="2@Y" field="lrzb"  sortable="false" align="right"></Dst:SMDgCol>
			<Dst:SMDgCol title="成交量" field="cjcount" numberFormt="0@Y" width="80"  sortable="false" align="right"></Dst:SMDgCol>
			<Dst:SMDgCol title="成交套数占比%" numberFormt="2@Y" field="cjzb" width="120"  sortable="false" align="right"></Dst:SMDgCol>
			<Dst:SMDgCol title="费用占比%" numberFormt="2@Y" field="cjfyzb"  sortable="false" align="right"></Dst:SMDgCol>
			<Dst:SMDgCol title="成交金额(万元)" numberFormt="4@Y" field="cjAmt"  sortable="false" align="right"></Dst:SMDgCol>
			<Dst:SMDgCol title="成交费效(元)" numberFormt="2@Y" field="cjfx" width="130" sortable="false" align="right"></Dst:SMDgCol>
		</Dst:SMDatagrid>
	</div>
</div>
