<%@ 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.contractmange.paymentreq.paymentReqList" uipk="paymentReqController" title="付款申请单"/>
</head>
<div id="main_list" class="easyui-layout" fit="true">
	<div data-options="region:'west',split:true" style="width:250px;padding:0px;">
		<div class="easyui-layout" fit="true">   
		    <div data-options="region:'north',split:true,title:'组织树'" style="height:50%" style="padding:0px;">
		    	<Dst:SMZTree id="orgTree"  url="/cost/getProjectBaseTree" expandAll="true"  />
		    </div>   
		    <div data-options="region:'center',split:true,title:'合同类型'" style="padding:0px;border:0px">
				<Dst:SMZTree id="ConTypeTree"   url="/cost/getConTypeTree" expandAll="true" />
		    </div>   
		</div>  
	</div>
	<div region="center" style="padding:0px;border:0px">
		<Dst:SMDatagrid name="tblGrid" fitColumns="true" sortName="lastUpdateTime" sortOrder="desc" queryMode="single" actionUrl="/paymentReqController?list" idField="id"  fit="true">
			<Dst:SMDgCol title="id" field="id"  hidden="true"></Dst:SMDgCol>
			<Dst:SMDgCol title="付款申请单编号"  query="true" field="number" ></Dst:SMDgCol>
			<Dst:SMDgCol title="单据状态" field="state" dictionary="BILLSTATUS"></Dst:SMDgCol>
			<Dst:SMDgCol title="组织" field="orgunit.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="项目" field="project.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="合同编码" field="contract.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="记账公司" field="jzcompany.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="业务日期" formatter="yyyy-MM-dd" field="bizDate" ></Dst:SMDgCol>
			<Dst:SMDgCol title="付款类型" field="payType.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="含税申请金额" numberFormt="2@Y" field="taxReqAmt" ></Dst:SMDgCol>
			<Dst:SMDgCol title="不含税申请金额" numberFormt="2@Y" field="noTaxReqAmt" ></Dst:SMDgCol>
			<Dst:SMDgCol title="税率(%)" field="taxRate.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="税额" numberFormt="2@Y" field="taxAmt" ></Dst:SMDgCol>
			<Dst:SMDgCol title="收款单位" field="supplier.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="累计已到发票金额" numberFormt="2@Y" field="ljfpAmt" ></Dst:SMDgCol>
			<Dst:SMDgCol title="项目累计当月已付金额" numberFormt="2@Y" field="monAmt" ></Dst:SMDgCol>
			<Dst:SMDgCol title="合同金额" numberFormt="2@Y" field="contractAmt" ></Dst:SMDgCol>
			<Dst:SMDgCol title="累计已付金额" numberFormt="2@Y" field="ljpayAmt" ></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="刷新" 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:SMDatagrid>
	</div>
</div>
