<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<script runat="server">

    // Insert page code here
    //
    protected void Page_Load(object sender, EventArgs e)
    {
        string tid = Request.QueryString["inquirytid"];
        string contractNo = Request.QueryString["ContractNo"];
        if (!string.IsNullOrEmpty(tid))
        {
            this.XTextBox3.Text = tid;
            this.XTextBox4.Text = contractNo;
        }
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <title>BPM Form</title> <style>
        BODY {
            FONT-SIZE: 12px;
            FONT-FAMILY: verdana;
        }

        TABLE {
            border-collapse: collapse;
            FONT-SIZE: 12px;
            FONT-FAMILY: verdana;
        }

        P {
            PADDING-RIGHT: 0px;
            PADDING-LEFT: 0px;
            PADDING-BOTTOM: 0px;
            MARGIN: 0px;
            PADDING-TOP: 0px;
            FONT-SIZE: 12px;
            FONT-FAMILY: verdana;
        }

        TD {
            PADDING-RIGHT: 0px;
            PADDING-LEFT: 2px;
            PADDING-BOTTOM: 0px;
        }

            TD.NoPadding {
                PADDING-RIGHT: 0px;
                PADDING-LEFT: 0px;
                PADDING-BOTTOM: 0px;
                PADDING-TOP: 0px;
            }

        INPUT {
            HEIGHT: 20px;
        }

            INPUT.UL {
                BORDER-RIGHT: medium none;
                BORDER-TOP: medium none;
                BORDER-LEFT: medium none;
                BORDER-BOTTOM: #33ff33 1px solid;
            }

        TEXTAREA {
            FONT-SIZE: 12px;
        }

        .yz-inp-cnt {
            display: inline;
        }

        DIV.datetimepicker-date-hour-minutes DIV.time {
            width: 150px;
        }
        #td1 {
        border-right:#b2bcc6 1px solid;
        }
    </style>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table class="head" cellspacing="0" cellpadding="0" width="1200" align="center" border="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <asp:Label id="XLabel1" runat="server" Text="自营转租赁无PO收货" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="formno">
                        <asp:Label id="XLabel2" runat="server" Text="表单号：" ValueToDisplayText Value></asp:Label>
                        <aspxform:XLabel id="XLabel3" runat="server" Text="-系统自动生成-" ValueToDisplayText Value XDataBind="DF_Rent_NoPOReceiving_Info.FormNo" BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table" cellspacing="0" cellpadding="0" width="1200" align="center" border="0">
            <tbody>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel4" runat="server" Text="申请人" ValueToDisplayText Value></asp:Label>
                        <aspxform:XTextBox id="XTextBox2" style="DISPLAY: none" runat="server" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" XDataBind="DF_Rent_NoPOReceiving_Info.AppAccount" DataMap="Name->DF_Rent_NoPOReceiving_Info.AppName" Width="10px" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_Rent_NoPOReceiving_Info.AppName" Width="60%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" BackColor="#e6f1f8" DisableBehavior="ReadOnly" Enabled="False"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel5" runat="server" Text="申请时间" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_Rent_NoPOReceiving_Info.CreateDate" Width="60%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" BackColor="#e6f1f8" DisableBehavior="ReadOnly" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table id="tablenew" class="scrolltable" cellspacing="0" cellpadding="3" width="1200" align="center" dynamicarea="1,1" datamap="ContractNo->DF_Rent_NoPOReceiving_Info.ContractNo;RentType->DF_Rent_NoPOReceiving_Detail.RentType;SapID->DF_Rent_NoPOReceiving_Detail.SapId;SerialNo->DF_Rent_NoPOReceiving_Detail.SerialNo;InquirySapID->DF_Rent_NoPOReceiving_Detail.SapAssetNo;InquiryType->DF_Rent_NoPOReceiving_Detail.InquiryType;OwnerCompany->DF_Rent_NoPOReceiving_Detail.OwnerCompany" xdatasource="ProcedureName:proc_DF_PREREVIEW_Select;Filter:@taskid -> DF_Rent_NoPOReceiving_Info.InquiryID">
            <tbody>
                <tr>
                    <td class="tds" height="31" width="55">
                        <asp:Label id="XLabel23" runat="server" Text="序号" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="tds" width="109">
                        <asp:Label id="XLabel24" runat="server" Text="租赁类别" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="tds" width="200">
                        <asp:Label id="XLabel25" runat="server" Text="SAP物料号" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="tds" width="210">
                        <asp:Label id="XLabel26" runat="server" Text="序列号" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="tds" width="200">
                        <asp:Label id="XLabel27" runat="server" Text="SAP资产号" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="tds" width="228">
                        <asp:Label id="XLabel28" runat="server" Text="预审仪器型号" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td id="td1" class="tds" width="110">
                        <asp:Label id="XLabel29" runat="server" Text="权属公司" ValueToDisplayText Value></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tds1" style="TEXT-ALIGN: center" height="47">
                        <p>
                            <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_Rent_NoPOReceiving_Detail.LineID" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" BackColor="Transparent" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                        </p>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_Rent_NoPOReceiving_Detail.RentType" DisplayColumn="Name" ValueColumn="ItemID" XDataSource="TableName:V_RentType;BufferType:RuntimeUpdate" DisableExpress="DF_Rent_NoPOReceiving_Detail.RentType=='25'">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_Rent_NoPOReceiving_Detail.SapId" Width="130" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" BackColor="#E6F1F8" ReadOnly="true"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_Rent_NoPOReceiving_Detail.SerialNo" Width="130" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" BackColor="#E6F1F8" ReadOnly="true"></aspxform:XTextBox>
                        </div>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" DataMap="SapAssetID->DF_Rent_NoPOReceiving_Detail.SapAssetNo;SerialNo->DF_Rent_NoPOReceiving_Detail.SerialNo;PrdtModelNo->DF_Rent_NoPOReceiving_Detail.InquiryType;OwnerCompany->DF_Rent_NoPOReceiving_Detail.OwnerCompany" Width="30PX" XDataSource="TableName:V_DF_AssetsProducts;Filter:HTFormID->DF_Rent_NoPOReceiving_Info.ContractNo" DisplayColumns="AssetID:资产号,;SapAssetID:SAP资产号,;SerialNo:序列号,;PrdtModelNo:产品型号,;PrdtName:产品名称,;OwnerCompany:权属公司,"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_Rent_NoPOReceiving_Detail.SapAssetNo" Width="130" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" BackColor="#E6F1F8" ReadOnly="true"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_Rent_NoPOReceiving_Detail.InquiryType" Width="98%" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" BackColor="#E6F1F8" ReadOnly="true"></aspxform:XTextBox>
                    </td>
                    <td class="xjtds1">
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_Rent_NoPOReceiving_Detail.OwnerCompany" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" BackColor="#E6F1F8" ReadOnly="true"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table" cellspacing="0" cellpadding="0" align="center">
            <tbody>
                <tr class="title1">
                    <td class="td1">
                        <asp:Label id="XLabel14" runat="server" Text="备注" ValueToDisplayText Value Width="83px" Font-Bold="True" Height="10px"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_Rent_NoPOReceiving_Info.RemarkExplanation" Width="1200px" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" Rows="5" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table" cellspacing="0" cellpadding="0" width="1200" align="center" border="0">
            <tbody>
                <tr class="title1">
                    <td class="td1" height="14">
                        <asp:Label id="XLabel15" runat="server" ValueToDisplayText Value Width="83px" Font-Bold="True" Height="10px">意见</asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="td1">
                        <aspxform:XCommentsTextBox id="XCommentsTextBox1" runat="server" Width="1200px" BorderColor="#DCDCDC" BorderWidth="1" CssClass="text" Rows="3" TextMode="MultiLine"></aspxform:XCommentsTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table cellspacing="0" cellpadding="0" width="1200" align="center" border="0">
            <tbody>
                <tr>
                    <td>
                        <aspxform:XProcessButtonList id="XProcessButtonList1" runat="server" SaveButtonVisible="False" SaveAsTemplateButtonVisible="False" PositionSelectVisible="False"></aspxform:XProcessButtonList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderColor="#dcdcdc" BorderWidth="1"></aspxform:XSignTrace>
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
            <aspxform:XTextBox id="XTextBox3" runat="server" ValueToDisplayText="FilterColumn:TaskID" XDataBind="DF_Rent_NoPOReceiving_Info.InquiryID" Width="10px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
            <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_Rent_NoPOReceiving_Info.ContractNo" Width="5px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
        </p>
    </form>
</body>
</html>
