<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/common.jsp"%>
<head>
<Dst:SMBase type="jquery,eui" pakgagePath="com.dst.slms.base.salestarget.salesTargetList" uipk="salesTargetController" title="销售目标"/>
</head>
<div id="main_list" class="easyui-layout" fit="true">
	<div region="center" style="padding:0px;border:0px">
		<Dst:SMDatagrid name="tblGrid" fitColumns="true" sortName="lastUpdateTime"  sortOrder="desc"  actionUrl="/salesTargetController?list" idField="id"  fit="true">
			<Dst:SMDgCol title="id" field="id"  hidden="true"></Dst:SMDgCol>
			<%--Dst:SMDgCol title="编号" field="number" query="true"></Dst:SMDgCol>
			<Dst:SMDgCol title="名称" field="name" query="true"></Dst:SMDgCol>
			<Dst:SMDgCol title="备注" field="remake" ></Dst:SMDgCol>--%>
			<Dst:SMDgCol title="是否启用" replace="是_true,否_false" field="isEnable" ></Dst:SMDgCol>
			<Dst:SMDgCol title="项目" field="project.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="年月" field="yearMonth" ></Dst:SMDgCol>
			<Dst:SMDgCol title="销售目标金额" numberFormt="2@Y" field="salesTarget" ></Dst:SMDgCol>
			<Dst:SMDgCol title="实际销售金额" numberFormt="2@Y" field="salesAmount" ></Dst:SMDgCol>
			<Dst:SMDgCol title="操作" field="opt" width="100"></Dst:SMDgCol>
			<Dst:SMDGFunOpt title="启用" urlStyle="background-color:#18a689" exp="isEnable#eq#false" urlfont="fa-unlock" bindAction="enableAction"></Dst:SMDGFunOpt>
		    <Dst:SMDGFunOpt title="禁用" urlStyle="background-color:#E25129" exp="isEnable#eq#true" urlfont="fa-unlock-alt" bindAction="disEnableAction"></Dst:SMDGFunOpt>
			<Dst:SMDGFunOpt title="删除" urlfont="fa-trash-o" bindAction="deleteAction"></Dst:SMDGFunOpt>
			<Dst:SMDGToolBar title="新增" icon="fa fa-file-o" bindAction="addNewAction"/>
		    <Dst:SMDGToolBar title="修改" icon="fa fa-edit" bindAction="editAction"/>
		    <Dst:SMDGToolBar title="查看" icon="fa fa-newspaper-o" bindAction="viewAction"/>
		    <Dst:SMDGToolBar title="刷新" icon="fa fa-refresh" bindAction="refreshAction"/>
		</Dst:SMDatagrid>
	</div>
</div>
