<%--采购申请--%>
<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ taglib uri="/WEB-INF/taglib.tld" prefix="x" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <x:base include="layout,dialog,grid,tree,dateTime,combox,attachment,commonTree,comboDialog"/>
    <x:script src="/biz/topsun/sap/purchaseOrder/sapPurchaseOrderDetail.js"/>
</head>
<body>
<div class="container-fluid">
    <x:billTitle title="采购订单" needStatus="true" needPerson="true"/>
    <form class="hg-form" method="post" action="" id="submitForm">
        <x:hidden name="id"/>
        <x:hidden name="version"/>
        <x:hidden name="billCode"/>
        <x:hidden name="fillinDate"/>
        <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="personMemberName"/>
        <x:hidden name="statusId"/>
        <x:hidden name="retpo"/>
        <x:hidden name="lifnr"/>
        <div class="hg-form-cols">
            <div class="hg-form-row">
                <x:inputC name="ebeln" label="采购订单号码" readonly="true" labelCol="1" fieldCol="2" required="false"/>
                <x:inputC name="bsart" label="采购订单类型" readonly="true" labelCol="1" fieldCol="2" required="false"/>
                <x:inputC name="batxt" label="采购订单类型描述" readonly="true" labelCol="1" fieldCol="2"
                          required="false"/>
                <x:inputC name="ekgrp" label="采购组" readonly="true" labelCol="1" fieldCol="2" required="false"/>
                <x:inputC name="eknam" label="采购组描述" readonly="true" labelCol="1" fieldCol="2" required="false"/>
                <x:inputC name="waers" label="币种" readonly="true" labelCol="1" fieldCol="2" required="false"/>
                <x:inputC name="fillinDate" label="创建日期" readonly="true" wrapper="date" labelCol="1" fieldCol="2"
                          required="false"/>
                <x:inputC name="namel" label="供应商" readonly="true" labelCol="1" fieldCol="2" required="false"/>
                <x:inputC name="totalMoney" label="订单总金额" readonly="true" labelCol="1" fieldCol="2" required="false"/>
                <x:inputC name="totalNum" label="订单总数量" readonly="true" labelCol="1" fieldCol="2" required="false"/>
                <x:inputC name="headText" label="备注" readonly="true" labelCol="1" fieldCol="5" required="false"/>
            </div>
        </div>
        <div id="normal">
            <x:title title="sap回执" name="group"/>
            <div class="hg-form-cols">
                <div class="hg-form-row">
                    <x:inputC name="msgType" label="消息类型" readonly="true" labelCol="1" fieldCol="2" required="false"/>
                    <x:inputC name="message" label="消息内容" readonly="true" labelCol="1" fieldCol="2" required="false"/>
                </div>
            </div>
        </div>
        <div id="revoke">
            <div class="hg-form-cols">
                <div class="hg-form-row">
                    <x:selectC name="orderRevokeType" required="false" label="撤审类型" labelCol="1" fieldCol="2" dictionary="orderRevokeType"/>
                    <x:textareaC name="revokeReason" required="false" label="撤审原因" labelCol="1" fieldCol="8" rows="2"/>
                </div>
            </div>
        </div>
        <div id="maingrid"></div>
    </form>
</div>
</body>