<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@taglib uri="/WEB-INF/taglib.tld" prefix="x" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <script type="text/javascript">
      var applyType ="${applyType}";
    </script>
    <x:base include="layout,dialog,grid,tree,combox,commonTree,date,attachment"/>
    <x:script src='/biz/topsun/sap/suppliers/suppliersDataDetail.js'/>
</head>
<body>
<c:if test="${applyType==0}">
  <x:billTitle title="供应商主数据维护申请表" needStatus="false" needPerson="true"/>
</c:if>
<c:if test="${applyType==1}">
    <x:billTitle title="供应商主数据修改申请表" needStatus="false" needPerson="true"/>
</c:if>
<c:if test="${applyType==-1}">
    <x:billTitle title="供应商主数据删除申请表" needStatus="false" needPerson="true"/>
</c:if>
<form class="hg-form" method="post" action="" id="submitForm">
        <x:hidden name="id"/>
        <x:hidden name="sId"/>
        <x:hidden name="applyType"/>
<%--        <x:hidden name="billCode"/>--%>
<%--        <x:hidden name="fillinDate" type="datetime"/>--%>
        <x:hidden name="fullId"/>
        <x:hidden name="organId"/>
        <x:hidden name="organName"/>
        <x:hidden name="deptId"/>
<%--        <x:hidden name="deptName"/>--%>
        <x:hidden name="positionId"/>
        <x:hidden name="positionName"/>
        <x:hidden name="personMemberId"/>
        <x:hidden name="statusId"/>
<%--        <x:hidden name="personMemberName"/>--%>
    <x:title title="申请人填写区域" name="group"/>
    <div class="hg-form-cols">
        <div class="hg-form-row">
            <x:inputC name="billCode" label="申请单编号" labelCol="1" readonly="true" fieldCol="2"/>
            <x:inputC name="personMemberName" label="申请人" readonly="true" labelCol="1" fieldCol="2"/>
            <x:inputC name="deptName" label="申请部门" readonly="true" labelCol="1" fieldCol="2"/>
            <x:inputC name="fillinDate" label="申请日期" readonly="true" wrapper="dateTime" labelCol="1" fieldCol="2"/>
        </div>

    </div>
    <x:title title="供应商主数据" name="group"/>
    <div class="hg-form-cols">
        <div class="hg-form-row">
            <x:inputC name="rltgr" label="业务伙伴角色" labelCol="1" fieldCol="2" required="true" readonly="true"/>
            <x:selectC name="buGroup" label="业务伙伴分组" labelCol="1" fieldCol="2" required="true" dictionary="buGroup"/>
            <x:inputC name="partner" label="供应商编码" labelCol="1" fieldCol="2" required="false" readonly="true"/>
            <x:selectC name="title" label="称谓代码" labelCol="1" fieldCol="2" dictionary="title"/>
            <x:inputC name="nameOrg1" label="供应商名称1" labelCol="1" fieldCol="2" required="true"/>
            <x:inputC name="nameOrg2" label="供应商名称2" labelCol="1" fieldCol="2"/>
            <%--<x:inputC name="nameOrg3" label="组织名称3" labelCol="1" fieldCol="2"/>
            <x:inputC name="nameOrg4" label="组织名称4" labelCol="1" fieldCol="2"/>--%>
            <x:inputC name="buSort1" label="搜索词1" labelCol="1" fieldCol="2" required="true"/>
            <x:inputC name="buSort2" label="搜索词2" labelCol="1" fieldCol="2"/>

            <%--<x:inputC name="strSuppl1" label="街道2" labelCol="1" fieldCol="2"/>
            <x:inputC name="strSuppl2" label="街道3" labelCol="1" fieldCol="2"/>
            <x:inputC name="strSuppl3" label="街道4" labelCol="1" fieldCol="2"/>--%>
            <x:inputC name="land1Name" label="国家" labelCol="1" fieldCol="2" required="true" wrapper="select"/>
            <x:hidden name="land1"/>
            <x:inputC name="regionName" label="地区" labelCol="1" fieldCol="2" required="false" wrapper="select"/>
            <x:hidden name="region"/>
            <x:inputC name="city1" label="城市" labelCol="1" fieldCol="2" required="true" />

            <x:inputC name="street" label="街道地址" labelCol="1" fieldCol="2" maxLength="35"/>
            <x:inputC name="strSuppl1" label="街道2" labelCol="1" fieldCol="2" maxLength="35"/>
            <x:inputC name="strSuppl2" label="街道3" labelCol="1" fieldCol="2" maxLength="35"/>
            <x:inputC name="strSuppl3" label="街道4" labelCol="1" fieldCol="2" maxLength="35"/>
            <x:inputC name="strSuppl4" label="街道5" labelCol="1" fieldCol="2" maxLength="35"/>

            <x:selectC name="langu" label="语言" labelCol="1" fieldCol="2" required="true" dictionary="langu"/>
            <x:inputC name="smtpAddr" label="电子邮件地址" labelCol="1" fieldCol="2" maxLength="30"/>
            <x:inputC name="postCode1" label="城市邮政编码" labelCol="1" fieldCol="2" required="true" maxLength="6"/>
            <x:inputC name="telNumber" label="电话" labelCol="1" fieldCol="2"/>
            <%--<x:inputC name="telExtens" label="第一个电话号码分机" labelCol="1" fieldCol="2"/>--%>
            <x:inputC name="mobNumber" label="移动电话" labelCol="1" fieldCol="2"/>
            <%--<x:inputC name="mobExtens" label="第一个移动电话号码分机" labelCol="1" fieldCol="2"/>--%>
            <x:inputC name="faxNumber" label="传真" labelCol="1" fieldCol="2" maxLength="30"/>
            <%--<x:inputC name="faxExtens" label="第一个传真号分机号" labelCol="1" fieldCol="2"/>--%>
             <!--x:selectC name="ktokk" label="供应商帐户组" labelCol="1" fieldCol="2" required="true" dictionary="buGroup"/-->
            <x:inputC name="kunnr" label="客户编号" labelCol="1" fieldCol="2"/>
            <%--<x:inputC name="vbund" label="贸易伙伴" labelCol="1" fieldCol="2"/>--%>
            <x:inputC name="stenr" label="税号" labelCol="1" fieldCol="2" required="false" maxLength="18"/>

            <x:selectC name="sperr" label="中心记帐冻结" labelCol="1" fieldCol="2" dictionary="sperr"/>
            <x:selectC name="sperm" label="集中设置的采购冻结" labelCol="2" fieldCol="1" dictionary="sperrB"/>
           </div>
    </div>
    <div style="padding-top: 15px;">
        <x:fileList bizCode="supplier" bizId="attbizId" id="supplierList" title="营业执照/开票资料" />
    </div>
    <div class="blank_div clearfix"></div>
    <x:title title="供应商采购组织信息" name="group"/>
    <div id="sapSuppliersBuyerGrid" style="margin: 2px;"></div>
    <div class="blank_div clearfix"></div>
    <x:title title="供应商公司信息" name="group"/>
    <div id="sapSuppliersPayGrid" style="margin: 2px;"></div>
    <div class="blank_div clearfix"></div>
    <x:title title="供应商银行信息" name="group"/>
    <div id="sapSuppliersBankGrid" style="margin: 2px;"></div>
</form>
</body>
</html>
