<%@ 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.proapproval.projectapprove.projectApproveList" uipk="projectApproveController" title="立项单"/>
</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" fitColumns="true" sortName="lastUpdateTime" sortOrder="desc" queryMode="single" actionUrl="/projectApproveController?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="state" dictionary="BILLSTATUS"></Dst:SMDgCol>
			<Dst:SMDgCol title="是否最新版" replace="是_true,否_false" field="isLast" ></Dst:SMDgCol>
			<Dst:SMDgCol title="版本号" field="version" ></Dst:SMDgCol>
			<Dst:SMDgCol title="事项描述" field="itemDes" ></Dst:SMDgCol>
			<Dst:SMDgCol title="业务日期" formatter="yyyy-MM-dd" field="bizdate" ></Dst:SMDgCol>
			<Dst:SMDgCol title="计划类型" field="planType" dictionary="planType"></Dst:SMDgCol>
			<Dst:SMDgCol title="营销科目" field="markaccount.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="主题" field="theme" ></Dst:SMDgCol>
			<Dst:SMDgCol title="月度营销计划" field="monMarkMange.number" ></Dst:SMDgCol>
			<Dst:SMDgCol title="是否主题计划外" replace="是_true,否_false" field="isoutplan" ></Dst:SMDgCol>
			<Dst:SMDgCol title="当月是否需要支付" replace="是_true,否_false" field="ismonPay" ></Dst:SMDgCol>
			<Dst:SMDgCol title="是否关联框架合同" replace="是_true,否_false" field="isglcontract" ></Dst:SMDgCol>
			<Dst:SMDgCol title="是否生成合同" replace="是_true,否_false" field="istoContract" ></Dst:SMDgCol>
			<Dst:SMDgCol title="立项金额" numberFormt="2@Y" field="lxAmt" ></Dst:SMDgCol>
			<Dst:SMDgCol title="项目" field="project.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="合同性质" field="contractNature" dictionary="contractNature"></Dst:SMDgCol>
			<Dst:SMDgCol title="所属组织" field="orgunit.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="供应商" field="supplier.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="合同名称" field="contract.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="开始节点" field="startNote" dictionary="startNote"></Dst:SMDgCol>
			<Dst:SMDgCol title="当月使用金额" numberFormt="2@Y" field="monAmt" ></Dst:SMDgCol>
			<Dst:SMDgCol title="采购方式" field="purType" dictionary="purType"></Dst:SMDgCol>
			<Dst:SMDgCol title="审核人" field="auditor.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="审核时间" formatter="yyyy-MM-dd" field="auditTime" ></Dst:SMDgCol>
			<Dst:SMDgCol title="操作" field="opt" width="100"></Dst:SMDgCol>
			<Dst:SMDGFunOpt title="删除" urlfont="fa-trash-o" bindAction="deleteAction"></Dst:SMDGFunOpt>
			<Dst:SMDGFunOpt title="审核"  bindAction="auditAction"></Dst:SMDGFunOpt>
			<Dst:SMDGFunOpt title="反审核"  bindAction="unAuditAction"></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="修订"  bindAction="reviseAction"/>
		    <Dst:SMDGToolBar title="生成合同"  bindAction="toConAction"/>
		    <Dst:SMDGToolBar title="刷新" icon="fa fa-refresh" bindAction="refreshAction"/>
			<Dst:SMDGToolBar title="流程图" icon="fa fa-cubes" bindAction="viewFlowAction"/>
			<Dst:SMDGToolBar title="审核" bindAction="auditAction"/>
			<Dst:SMDGToolBar title="反审核" bindAction="unAuditAction"/>
			<Dst:SMDGToolBar title="作废" bindAction="cancelAction"/>
		</Dst:SMDatagrid>
	</div>
</div>
