<form class="form-horizontal">
	<div class="form-group">
		<label class="col-sm-1 control-label"><span style="color:red;">*</span>药品名称</label>
		<div class="col-sm-3">
			<ui-select allow-clear ng-model="vm.productSelected" theme="bootstrap">
				<ui-select-match>{{ $select.selected.Name }}</ui-select-match>
				<ui-select-choices repeat="item in vm.productList|filter:$select.search">
					<span ng-bind-html="item.Name | highlight: $select.search"></span>
				</ui-select-choices>
			</ui-select>
		</div>
		<!--<label class="col-sm-1 control-label"><span style="color:red;">*</span>商业公司</label>-->
		<!--<div class="col-sm-3">-->
			<!--<ui-select allow-clear ng-model="vm.busiSelected" theme="bootstrap">-->
				<!--<ui-select-match>{{ $select.selected }}</ui-select-match>-->
				<!--<ui-select-choices repeat="item in vm.busiList|filter:$select.search" >-->
					<!--<span ng-bind-html="item | highlight: $select.search"></span>-->
				<!--</ui-select-choices>-->
			<!--</ui-select>-->
		<!--</div>-->
		<rt-lookup2 rt-title="商业公司"
					ng-model="vm.busiSelected"
					rt-get-data-name="Account.GetAllBusiness"
					rt-order-by="accountnumber"
					rt-col-list="[{Code:'name',Name:'客户名称'},{Code:'accountnumber',Name:'客户编码'}]"
					rt-required="true"
					rt-label-col="1"
					rt-col="3"></rt-lookup2>
		<!--<rt-input ng-model="vm.busiSelected" rt-title="商业公司" rt-col="3" rt-label-col="1" rt-required="true"></rt-input>-->
		<div class="col-sm-1">
			<button class="btn btn-primary" ng-click="vm.showReport()">查询</button>
		</div>
		</div>
	<div class="form-group">
		<rt-datetime ng-model="vm.startYm"
					 rt-type="month"
					 rt-title="开始年月" rt-required="true" rt-col="3" rt-label-col="1"></rt-datetime>
		<rt-datetime ng-model="vm.endYm"
					 rt-type="month"
					 rt-title="结束年月" rt-required="true" rt-col="3" rt-label-col="1"></rt-datetime>

	</div>
</form>

<!--<div class="row" >-->
	<!--<div class="col-sm-3" style="padding-left: 30px;">-->
		<!--<div style="height:100px;">-->
			<!--<div class="row">-->
				<!--<div class="col-sm-12" style="background-color: #4D8EEC; color: white; font-size: 10px; text-align: center; ">-->
					<!--<i class="fa fa-level-up" style="font-size:45px;"></i>-->
				<!--</div>-->
			<!--</div>-->
			<!--<div class="row" ng-init="vm.reportData.StatisticMod.PurchaseCount=0;vm.reportData.StatisticMod.FromEntCount=0;">-->
				<!--<div class="col-sm-6" style=" color: black; text-align: center; border: solid 1px #f3f3f3; height:50px;">-->
					<!--<div class="row">往上游商业购进量</div>-->
					<!--<div class="row">{{ vm.reportData.StatisticMod.PurchaseCount }}</div>-->
				<!--</div>-->
				<!--<div class="col-sm-6" style=" color: black; text-align: center; border: solid 1px #f3f3f3; height:50px;">-->
					<!--<div class="row">往上游商业家数</div>-->
					<!--<div class="row" style="text-align: center;">{{ vm.reportData.StatisticMod.FromEntCount }}(家)</div>-->
				<!--</div>-->
			<!--</div>-->
		<!--</div>-->
	<!--</div>-->
	<!--<div class="col-sm-3" style="padding-left: 30px;">-->
		<!--<div style="height:100px;">-->
			<!--<div class="row">-->
				<!--<div class="col-sm-12" style="background-color: green; color: white; font-size: 10px; text-align: center; ">-->
					<!--<i class="fa fa-level-down" style="font-size:45px;"></i>-->
				<!--</div>-->
			<!--</div>-->
			<!--<div class="row" ng-init="vm.reportData.StatisticMod.EntSaleCount=0;vm.reportData.StatisticMod.ToEntCount=0;">-->
				<!--<div class="col-sm-6" style=" color: black; text-align: center; border: solid 1px #f3f3f3; height:50px;">-->
					<!--<div class="row">往下游商业销出量</div>-->
					<!--<div class="row">{{ vm.reportData.StatisticMod.EntSaleCount }}</div>-->
				<!--</div>-->
				<!--<div class="col-sm-6" style=" color: black; text-align: center; border: solid 1px #f3f3f3; height:50px;">-->
					<!--<div class="row">往下游商业家数</div>-->
					<!--<div class="row" style="text-align: center;">{{ vm.reportData.StatisticMod.ToEntCount }}(家)</div>-->
				<!--</div>-->
			<!--</div>-->
		<!--</div>-->
	<!--</div>-->
	<!--<div class="col-sm-3" style="padding-left: 30px;">-->
		<!--<div style="height:100px;">-->
			<!--<div class="row">-->
				<!--<div class="col-sm-12" style="background-color:orange; color: white; font-size: 10px; text-align: center; ">-->
					<!--<i class="fa fa-mobile" style="font-size:45px;"></i>-->
				<!--</div>-->
			<!--</div>-->
			<!--<div class="row" ng-init="vm.reportData.StatisticMod.TerminalSaleCount=0;vm.reportData.StatisticMod.TerminalCount=0;">-->
				<!--<div class="col-sm-6" style=" color: black; text-align: center; border: solid 1px #f3f3f3; height:50px;">-->
					<!--<div class="row">往终端销出量</div>-->
					<!--<div class="row">{{ vm.reportData.StatisticMod.TerminalSaleCount }}</div>-->
				<!--</div>-->
				<!--<div class="col-sm-6" style=" color: black; text-align: center; border: solid 1px #f3f3f3; height:50px;">-->
					<!--<div class="row">往终端家数</div>-->
					<!--<div class="row" style="text-align: center;">{{ vm.reportData.StatisticMod.TerminalCount }}(家)</div>-->
				<!--</div>-->
			<!--</div>-->
		<!--</div>-->
	<!--</div>-->
	<!--<div class="col-sm-3" style="padding-left: 30px;">-->
		<!--<div style="height:100px;">-->
			<!--<div class="row">-->
				<!--<div class="col-sm-12" style="background-color:red; color: white; font-size: 10px; text-align: center; ">-->
					<!--<i class="fa fa-map-marker" style="font-size:45px;"></i>-->
				<!--</div>-->
			<!--</div>-->
			<!--<div class="row" ng-init="vm.reportData.StatisticMod.PurchaseProvCount=0;vm.reportData.StatisticMod.SaleProvCount=0;">-->
				<!--<div class="col-sm-6" style=" color: black; text-align: center; border: solid 1px #f3f3f3; height:50px;">-->
					<!--<div class="row">购进省份</div>-->
					<!--<div class="row">{{ vm.reportData.StatisticMod.PurchaseProvCount }}(个)</div>-->
				<!--</div>-->
				<!--<div class="col-sm-6" style=" color: black; text-align: center; border: solid 1px #f3f3f3; height:50px;">-->
					<!--<div class="row">销出省份</div>-->
					<!--<div class="row" style="text-align: center;">{{ vm.reportData.StatisticMod.SaleProvCount }}(个)</div>-->
				<!--</div>-->
			<!--</div>-->
		<!--</div>-->
	<!--</div>-->
<!--</div>-->

<!--以下是图表数据-->
<ul class="nav nav-tabs">
	<!--<li class="active" ng-click="selectTab('tab0')">
		<a href="#c0"
		   onclick="return false;"
		   data-toggle="tab">商业进销关系</a>
	</li>-->
	<li class="active" ng-click="selectTab('tab1')">
		<a href="#c1"
		   onclick="return false;"
		   data-toggle="tab">商业进销对比</a>
	</li>
	<li ng-click="selectTab('tab2')">
		<a href="#c2"
		   onclick="return false;"
		   data-toggle="tab">商业纯销分析</a>
	</li>
	<li ng-click="selectTab('tab3')">
		<a href="#c3"
		   onclick="return false;"
		   data-toggle="tab">商业窜货销售分析</a>
	</li>
</ul>
<div class="tab-content">
	<div class="tab-pane active" id="c1">
		<div class="row" style="border-top: 1px dotted #d5c4c4; padding-top: 20px">
			<div class="col-sm-12">
				<div id="report1" style="height: 400px;" ng-style="{width: chartWidth + 'px'}"/>
			</div>
		</div>
	</div>
	<div class="tab-pane" id="c2">
		<div class="row" style="border-top: 1px dotted #d5c4c4; padding-top: 20px">
			<div class="col-sm-12">
				<div id="report2" style="height: 400px; " ng-style="{width: chartWidth + 'px'}" />
			</div>
		</div>
	</div>
	<div class="tab-pane" id="c3">
		<div class="row" style="border-top: 1px dotted #d5c4c4; padding-top: 20px">
			<div class="col-sm-12">
				<div id="report3" style="height: 400px;" ng-style="{width: chartWidth + 'px'}"/>
			</div>
		</div>
	</div>
</div> 




