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

    // Insert page code here
    //

</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>
    <script type="text/javascript">


    </script>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <asp:Label id="XLabel1" runat="server" value valuetodisplaytext text="IT办公设备领用申请单"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel2" runat="server" value valuetodisplaytext text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel3" runat="server" BackColor="#8AB3DF" XDataBind="DF_IT_FixedAssetUseAndReturn.FormNo" Value ValueToDisplayText Text="-系统自动生成-"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td align="left" colspan="3">
                        <asp:Label id="XLabel46" runat="server" value valuetodisplaytext text="标记*为发起人必填项" forecolor="Red" font-bold="true"></asp:Label>&nbsp; <asp:Label id="Label3" runat="server" value valuetodisplaytext text="标记*的为IT固定资产管理员必填项" forecolor="Blue" font-bold="True"></asp:Label>&nbsp;</td>
                    <td align="right">
                    </td>
                </tr>
                <tr>
                    <td height="21" class="title1" colspan="4">
                        <asp:Label id="XLabel10" runat="server" value valuetodisplaytext text="基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_IT_FixedAssetUseAndReturn.Type" HiddenExpress="1" width="20px" BorderWidth="1" BorderColor="#DCDCDC">领用</aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel4" runat="server" value valuetodisplaytext text="申请人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_IT_FixedAssetUseAndReturn.AppAccount" HiddenExpress="1" width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" BackColor="#e6f1f8" XDataBind="DF_IT_FixedAssetUseAndReturn.AppName" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="50%" Enabled="False" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel5" runat="server" value valuetodisplaytext text="创建日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" BackColor="#e6f1f8" XDataBind="DF_IT_FixedAssetUseAndReturn.CreateDate" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="50%" CssClass="text" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel37" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel42" runat="server" text="使用人"></asp:Label> 
                        <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_IT_FixedAssetUseAndReturn.UserAccount" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" BorderWidth="1" BorderColor="#DCDCDC" Width="20%" HiddenInput="True" DataMap="Name->DF_IT_FixedAssetUseAndReturn.UserName;BUName->DF_IT_FixedAssetUseAndReturn.BU;Department->DF_IT_FixedAssetUseAndReturn.Depart"></aspxform:XTextBox>
                    </td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox40" runat="server" BackColor="#E6F1F8" XDataBind="DF_IT_FixedAssetUseAndReturn.UserName" BorderWidth="1" BorderColor="#DCDCDC" Width="230px" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton4" runat="server" Text="查询" HiddenExpress="Global.StepName!='申请人发起领用申请'" Width="40px" DataMap="Account->DF_IT_FixedAssetUseAndReturn.UserAccount;DisplayName->DF_IT_FixedAssetUseAndReturn.UserName" XDataSource="TableName:V_DF_User" DisplayColumns="Account:账号;DisplayName:姓名" Height="25px"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="ts">
                        <asp:Label id="Label7" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label6" runat="server" text="使用对象"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_IT_FixedAssetUseAndReturn.UseObjcet" RepeatDirection="Horizontal" DisableExpress="Global.StepName!='申请人发起领用申请'">
                            <asp:ListItem Selected="True">个人</asp:ListItem>
                            <asp:ListItem>部门</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td height="23" class="tsbottomlabel">
                        <asp:Label id="XLabel44" runat="server" text="事业部"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox42" runat="server" BackColor="#E6F1F8" XDataBind="DF_IT_FixedAssetUseAndReturn.BU" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="50%" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" HiddenExpress="1" DataMap="BUName->DF_IT_FixedAssetUseAndReturn.BU;Department->DF_IT_FixedAssetUseAndReturn.Depart" XDataSource="TableName:V_DF_HR_BasicInfo;Filter:AttendanceKakaNO->DF_IT_FixedAssetUseAndReturn.UserAccount"></aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel45" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox41" runat="server" BackColor="#E6F1F8" XDataBind="DF_IT_FixedAssetUseAndReturn.Depart" BorderWidth="1" BorderColor="#DCDCDC" Width="50%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1192" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="4">
                        <asp:Label id="XLabel6" runat="server" value valuetodisplaytext text="申请信息"></asp:Label>&nbsp; <asp:Label id="Label8" runat="server" value valuetodisplaytext text="请说明设备类型：如笔记本电脑一台" forecolor="Red" font-bold="True"></asp:Label></td>
                </tr>
                <tr>
                    <td width="131" height="22" class="tsbottomlabel">
                        <asp:Label id="Label4" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label10" runat="server" text="申请领用需求"></asp:Label></td>
                    <td width="465" class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_IT_FixedAssetUseAndReturn.AppUseNeed" width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName!='申请人发起领用申请'"></aspxform:XTextBox>
                    </td>
                    <td width="131" class="tsbottomlabel">
                        <asp:Label id="Label5" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="Label2" runat="server" value valuetodisplaytext text="*" forecolor="blue"></asp:Label>&nbsp;<asp:Label id="Label1" runat="server" text="地区"></asp:Label></td>
                    <td width="465" class="tsbottomtext">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_IT_FixedAssetUseAndReturn.Area" XDataSource="TableName:DF_IT_AreaAssetManager;Filter:State->0" DisableExpress="Global.StepName!='IT固定资产管理员分配IT设备'  &amp;&amp;  Global.StepName!='申请人发起领用申请'" PromptText="--请选择--" DisplayColumn="Area" ValueColumn="Area"></aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1336" align="center" class="table" id="tablenew" emptygrid="KeepEmpty" dynamicarea="2,1" hiddenexpress="Global.StepName=='申请人发起领用申请'">
            <tbody>
                <tr>
                    <td height="27" style="FONT-SIZE: 16px; BORDER-TOP: #93a1ae 1px solid; FONT-FAMILY: 微软雅黑; BORDER-RIGHT: #93a1ae 1px solid; BORDER-BOTTOM: #b2bcc6 1px solid; FONT-WEIGHT: bold; BORDER-LEFT: #93a1ae 1px solid; BACKGROUND-COLOR: #c1d7ec" colspan="10">
                        <asp:Label id="Label13" runat="server" text="设备信息"></asp:Label>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Text="选择设备" Width="70px" DataMap="AssetSAPID->DF_IT_FixedAssetUseAndReturn_Detail.AssetSAPID;AssetType->DF_IT_FixedAssetUseAndReturn_Detail.AssetType;Remark->DF_IT_FixedAssetUseAndReturn_Detail.Remark;Brand->DF_IT_FixedAssetUseAndReturn_Detail.Brand;PurchaseDate->DF_IT_FixedAssetUseAndReturn_Detail.PurchaseDate;SerialNo->DF_IT_FixedAssetUseAndReturn_Detail.SerialNo;AssetModel->DF_IT_FixedAssetUseAndReturn_Detail.AssetModel;AssetBPMID->DF_IT_FixedAssetUseAndReturn_Detail.AssetBPMID;AssetDescription->DF_IT_FixedAssetUseAndReturn_Detail.AssetDescripation" XDataSource="TableName:V_DF_IT_FixedAssetsUsable;Filter:Area->DF_IT_FixedAssetUseAndReturn.Area" DisplayColumns="AssetSAPID:资产SAPID,100;AssetType:设备类别,80;Remark:备注,200;Brand:品牌,80;CapitalizationDate:资本化日期,120;SerialNo:主机序列号,110;AssetModel:型号,100;AssetBPMID:设备BPMID,100;AssetDescription:设备描述,150" DisableExpress="Global.StepName!='IT固定资产管理员分配IT设备'" AppendMode="Append" MultiSelect="True"></aspxform:XDataBrowserButton>
                    </td>
                </tr>
                <tr>
                    <td width="40" height="18" align="center" class="tds">
                        <asp:Label id="XLabel24" runat="server" text="序号"></asp:Label></td>
                    <td width="100" align="center" class="tds">
                        <asp:Label id="Label17" runat="server" value valuetodisplaytext text="*" forecolor="blue"></asp:Label>&nbsp;<asp:Label id="Label14" runat="server" text="设备BPMID"></asp:Label></td>
                    <td width="100" align="center" class="tds">
                        <asp:Label id="XLabel25" runat="server" text="资产SAPID"></asp:Label></td>
                    <td width="60" align="center" class="tds">
                        <asp:Label id="XLabel26" runat="server" text="设备类别"></asp:Label></td>
                    <td width="70" align="center" class="tds">
                        <asp:Label id="XLabel27" runat="server" text="品牌"></asp:Label></td>
                    <td width="100" align="center" class="tds">
                        <asp:Label id="XLabel28" runat="server" text="型号"></asp:Label></td>
                    <td width="100" align="center" class="tds">
                        <asp:Label id="XLabel29" runat="server" text="主机序列号"></asp:Label></td>
                    <td width="200" align="center" class="tds">
                        <asp:Label id="Label15" runat="server" text="设备描述"></asp:Label></td>
                    <td width="90" align="center" class="tds">
                        <asp:Label id="Label16" runat="server" text="购买日期"></asp:Label></td>
                    <td width="120" align="center" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="XLabel31" runat="server" text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td height="25" align="center" class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" BackColor="Transparent" XDataBind="DF_IT_FixedAssetUseAndReturn_Detail.LineNumber" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td width="100" class="tds1">
                        <aspxform:XTextBox id="XTextBox13" runat="server" BackColor="#e6f1f8" XDataBind="DF_IT_FixedAssetUseAndReturn_Detail.AssetBPMID" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox14" runat="server" BackColor="#e6f1f8" XDataBind="DF_IT_FixedAssetUseAndReturn_Detail.AssetSAPID" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" BackColor="#e6f1f8" XDataBind="DF_IT_FixedAssetUseAndReturn_Detail.AssetType" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox16" runat="server" BackColor="#e6f1f8" XDataBind="DF_IT_FixedAssetUseAndReturn_Detail.Brand" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox17" runat="server" BackColor="#e6f1f8" XDataBind="DF_IT_FixedAssetUseAndReturn_Detail.AssetModel" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox18" runat="server" BackColor="#e6f1f8" XDataBind="DF_IT_FixedAssetUseAndReturn_Detail.SerialNo" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox19" runat="server" BackColor="#e6f1f8" XDataBind="DF_IT_FixedAssetUseAndReturn_Detail.AssetDescripation" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" BackColor="#E6F1F8" XDataBind="DF_IT_FixedAssetUseAndReturn_Detail.PurchaseDate" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_IT_FixedAssetUseAndReturn_Detail.Remark" BorderWidth="1" BorderColor="#DCDCDC" Width="99.9%" CssClass="text1" DisableExpress="Global.StepName!='IT固定资产管理员分配IT设备'"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" class="title1">
                        <asp:Label id="XLabel76" runat="server" text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_IT_FixedAssetUseAndReturn.Remark" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" Height="40px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ForeColor="Red" ErrorMessage="请选择使用人" ValidationGroup="submit" ControlToValidate="XTextBox40">请选择使用人</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ForeColor="Red" ErrorMessage="请填写申请领用需求" ValidationGroup="submit" ControlToValidate="XTextBox11">请填写申请领用需求</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ForeColor="Red" ErrorMessage="请选择地区" ValidationGroup="submit" ControlToValidate="XDropDownList1"></aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ForeColor="Red" ErrorMessage="请选择地区" ValidationGroup="it" ControlToValidate="XDropDownList1"></aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td>
                        <aspxform:XSignTrace id="XSignTrace1" runat="server" BorderWidth="1" BorderColor="#dcdcdc" Width="1200px"></aspxform:XSignTrace>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
