<%@ 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.supplierprofile.supplierprofile.supplierProfileList" uipk="supplierProfileController" title="供应商档案"/>
</head>
<div id="main_list" class="easyui-layout" fit="true">
		<div data-options="region:'west',split:true" style="width: 20%">
			<div  class="easyui-layout" fit="true">
				<div data-options="region:'north',title:'供应商分类',split:true" style="height: 50%">
					<Dst:SMZTree id="type1" onClick="type_onClick" expandAll="true" url="/supplierClassificatioController/getListSupplierClassificatio"></Dst:SMZTree>
				</div>
				<div data-options="region:'center',title:'区域',split:true" style="height: 50%">
					<Dst:SMZTree id="type2" onClick="type_onClick1"  virtualRootName="区域" entityPath="com.dst.slms.system.entity.SysAreaInfo" textField="name" valueField="id"></Dst:SMZTree>
				</div>
			</div>
		</div>
	<div region="center" style="padding:0px;border:0px">
		<Dst:SMDatagrid name="tblGrid" fitColumns="true" sortName="lastUpdateTime" sortOrder="desc" queryMode="single" actionUrl="/supplierProfileController?list" idField="id"  fit="true">
			<Dst:SMDgCol title="id" field="id"  hidden="true"></Dst:SMDgCol>
			<Dst:SMDgCol title="公司名称" field="name" query="true"></Dst:SMDgCol>
			<Dst:SMDgCol title="供应商编码" field="number" query="true"></Dst:SMDgCol>
			<Dst:SMDgCol title="法人代表" field="enterpriseMaster" ></Dst:SMDgCol>
			<Dst:SMDgCol title="成立日期" formatter="yyyy-MM-dd" field="buildDate" ></Dst:SMDgCol>
			<Dst:SMDgCol title="注册资金(万元)" numberFormt="2@Y" field="registerMoney" ></Dst:SMDgCol>
			<Dst:SMDgCol title="企业资质" field="enterpriseKind" dictionary="EnterpriseKind"></Dst:SMDgCol>
			<Dst:SMDgCol title="统一社会信用代码" field="socialCreditNumber" ></Dst:SMDgCol>
			<Dst:SMDgCol title="公司传真" field="linkFax" ></Dst:SMDgCol>
			<Dst:SMDgCol title="城市" field="cityBase.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="供应商分类" field="supplierClassificatio.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="供应商评价" field="supplyEvaluation.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="单据状态" field="state" dictionary="BILLSTATUS"></Dst:SMDgCol>
			<Dst:SMDgCol title="创建人" field="creator.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="创建时间" formatter="yyyy-MM-dd HH:mm:ss"  field="creatTime" ></Dst:SMDgCol>	
			<Dst:SMDgCol title="最后修改人" field="lastUpdateUser.name" ></Dst:SMDgCol>
			<Dst:SMDgCol title="最后修改时间" formatter="yyyy-MM-dd HH:mm:ss"  field="lastUpdateTime"></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>
