<%@ 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">
   agent.on('beforeSubmit', function (actname1, actname) {
            var UploadPurchaseContract = agent.Eles[document.getElementById("UploadPurchaseContract").getAttribute("xform_xele_index")].getValue();//上传采购合同
            var UploadPurchaseContractFileID = agent.Eles[document.getElementById("UploadPurchaseContractFileID").getAttribute("xform_xele_index")].getValue();//上传采购合同
            var fileExtensionUploadPurchaseContract = "";
            var fileidUploadPurchaseContract = "";
            
            if (UploadPurchaseContract != "") {
                var arr = UploadPurchaseContract.split(';');
                if (arr.length >= 2) {
                    Ext.MessageBox.alert("提示", "采购合同支持上传一个,多个可以压缩打包上传,目前支持zip,7z格式");
                    return false;
                }
                if (UploadPurchaseContract != UploadPurchaseContractFileID) {//不相等
                    
                    var idUploadPurchaseContract = document.getElementById("UploadPurchaseContract").getElementsByTagName("div")[2].id;
                    fileidUploadPurchaseContract = document.getElementById(idUploadPurchaseContract).getAttribute("fileid");
                    var filenameUploadPurchaseContract = document.getElementById(idUploadPurchaseContract).getAttribute("filename");

                    if (filenameUploadPurchaseContract != null) {
                        //文件扩展名的正则表达式
                        var patternFileExtension = /\.([0-9a-z]+)(?:[\?#]|$)/i;
                        //获得文件扩展名 
                        fileExtensionUploadPurchaseContract = filenameUploadPurchaseContract.split('.').pop();
                    }
                }
              
            }
          //  return false;
            //供应商发票

            var UploadSupplierInvoice = agent.Eles[document.getElementById("UploadSupplierInvoice").getAttribute("xform_xele_index")].getValue();//供应商发票
            var UploadSupplierInvoiceFileID = agent.Eles[document.getElementById("UploadSupplierInvoiceFileID").getAttribute("xform_xele_index")].getValue();//供应商发票
            var fileExtensionUploadSupplierInvoice = "";
            var fileidUploadSupplierInvoice = "";
            if (UploadSupplierInvoice != "") {
                var arr = UploadSupplierInvoice.split(';');
                if (arr.length >= 2) {
                    Ext.MessageBox.alert("提示", "供应商发票支持上传一个文件,多个可以压缩打包上传,目前支持zip,7z格式");
                    return false;
                }
                if (UploadSupplierInvoice != UploadSupplierInvoiceFileID) {
                    var idUploadSupplierInvoice = document.getElementById("UploadSupplierInvoice").getElementsByTagName("div")[2].id;
                    fileidUploadSupplierInvoice = document.getElementById(idUploadSupplierInvoice).getAttribute("fileid");
                    var filenameUploadSupplierInvoice = document.getElementById(idUploadSupplierInvoice).getAttribute("filename");

                    if (filenameUploadPurchaseContract != null) {
                        //文件扩展名的正则表达式
                        var patternFileExtension = /\.([0-9a-z]+)(?:[\?#]|$)/i;
                        //获得文件扩展名 
                        fileExtensionUploadSupplierInvoice = filenameUploadSupplierInvoice.split('.').pop();
                    }
                }

               
            }
          
            //银行付款单据

            var UploadBankReceipt = agent.Eles[document.getElementById("UploadBankReceipt").getAttribute("xform_xele_index")].getValue();//银行付款单据
            var UploadBankReceiptFileID = agent.Eles[document.getElementById("UploadBankReceiptFileID").getAttribute("xform_xele_index")].getValue();//银行付款单据
            var fileExtensionUploadBankReceipt = "";
            var fileidUploadBankReceipt = "";
            if (UploadBankReceipt != "") {
                var arr = UploadBankReceipt.split(';');
                if (arr.length >= 2) {
                    Ext.MessageBox.alert("提示", "银行付款单据支持上传一个文件,多个可以压缩打包上传,目前支持zip,7z格式");
                    return false;
                }
                if (UploadBankReceipt != UploadBankReceiptFileID) {
                    var idUploadBankReceipt = document.getElementById("UploadBankReceipt").getElementsByTagName("div")[2].id;
                    fileidUploadBankReceipt = document.getElementById(idUploadBankReceipt).getAttribute("fileid");
                    var filenameUploadBankReceipt = document.getElementById(idUploadBankReceipt).getAttribute("filename");

                    if (filenameUploadPurchaseContract != null) {
                        //文件扩展名的正则表达式
                        var patternFileExtension = /\.([0-9a-z]+)(?:[\?#]|$)/i;
                        //获得文件扩展名 
                        fileExtensionUploadBankReceipt = filenameUploadBankReceipt.split('.').pop();
                    }
                }
               
            }
          

            YZSoft.Ajax.request({
                async: false,
                url: "/Oimec/WorkFlow/Services/ITHandler.ashx",
                params: {
                    method: 'UpLoadFileAli',
                    fileidUploadPurchaseContract: fileidUploadPurchaseContract,//上传路径id
                    fileExtensionUploadPurchaseContract: fileExtensionUploadPurchaseContract,
                    fileidUploadSupplierInvoice: fileidUploadSupplierInvoice,
                    fileExtensionUploadSupplierInvoice: fileExtensionUploadSupplierInvoice,
                    fileidUploadBankReceipt: fileidUploadBankReceipt,
                    fileExtensionUploadBankReceipt: fileExtensionUploadBankReceipt
                },
                success: function (action) {
                    console.log(action)
                    var data = action.result;
                    var BankReceiptAli = data.BankReceiptAli;
                    var PurchaseContractAli = data.PurchaseContractAli;
                    var SupplierInvoiceAli = data.SupplierInvoiceAli;

                    if (UploadPurchaseContract != UploadPurchaseContractFileID) {//不相等

                        agent.Eles[document.getElementById("PurchaseContractAli").getAttribute("xform_xele_index")].setValue(PurchaseContractAli);//采购合同
                    }
                    if (UploadSupplierInvoice != UploadSupplierInvoiceFileID) {
                        agent.Eles[document.getElementById("SupplierInvoiceAli").getAttribute("xform_xele_index")].setValue(SupplierInvoiceAli);//供应商发票
                    }

                    if (UploadBankReceipt != UploadBankReceiptFileID) {
                        agent.Eles[document.getElementById("BankReceiptAli").getAttribute("xform_xele_index")].setValue(BankReceiptAli);//银行付款单

                    }
                   
                   
                }
            });

            

        })

    </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: 0px">
                        <asp:Label id="XLabel1" runat="server" text="IT办公设备/无形资产采购申请单" style="font-size:35px;margin-left:-70px;" value valuetodisplaytext></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel2" runat="server" text="表单号：" value valuetodisplaytext></asp:Label>
                        <aspxform:XLabel id="XLabel3" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.FormNo" Value ValueToDisplayText BackColor="#8AB3DF" ForeColor="White" Text="-系统自动生成-"></aspxform:XLabel>
                   
                      <aspxform:XTextBox runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.ItemID" HiddenExpress="1"></aspxform:XTextBox>

                         <aspxform:XDropDownList runat="server" XDataSource="TableName:DF_IT_AssetPurchaseApp_Info;Filter:ItemID->DF_IT_AssetPurchaseApp_Info.ItemID" DataMap="UploadPurchaseContract->UploadPurchaseContractFileID;UploadSupplierInvoice->UploadSupplierInvoiceFileID;UploadBankReceipt->UploadBankReceiptFileID" HiddenExpress="1"></aspxform:XDropDownList>
                    <aspxform:XTextBox id="UploadPurchaseContractFileID" XDataBind="UploadPurchaseContractFileID" Width="100" runat="server"  HiddenExpress="1"></aspxform:XTextBox>
                         <aspxform:XTextBox id="UploadSupplierInvoiceFileID" XDataBind="UploadSupplierInvoiceFileID" Width="100" runat="server"  HiddenExpress="1"></aspxform:XTextBox>
                         <aspxform:XTextBox id="UploadBankReceiptFileID" XDataBind="UploadBankReceiptFileID" Width="100" runat="server"  HiddenExpress="1"></aspxform:XTextBox>
               
				   </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td align="left" colspan="4">
                        <asp:Label id="XLabel46" runat="server" text="标记*的为发起人必填" value valuetodisplaytext font-bold="True" forecolor="Red"></asp:Label>&nbsp; <asp:Label id="Label21" runat="server" text="标记*的为IT固定资产管理员下单并提交供应商收款信息时必填" value valuetodisplaytext font-bold="True" forecolor="Blue"></asp:Label>&nbsp; <asp:Label id="Label27" runat="server" text="标记*的为1000固定资产岗资本化资产时必填" value valuetodisplaytext font-bold="True" forecolor="Black"></asp:Label></td>
                </tr>
                <tr>
                    <td height="14" class="title1" colspan="4">
                        <asp:Label id="XLabel10" runat="server" text="个人信息" value valuetodisplaytext></asp:Label></td>
                </tr>
                <tr>
                    <td height="20" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel4" runat="server" text="申请人" value valuetodisplaytext></asp:Label>
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.AppAccount" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" HiddenExpress="1" width="20px" BorderWidth="1" BorderColor="#DCDCDC" DataMap="Name->DF_IT_AssetPurchaseApp_Info.AppName;BUName->DF_IT_AssetPurchaseApp_Info.BU;Department->DF_IT_AssetPurchaseApp_Info.Department"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.AppName" BackColor="#e6f1f8" 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" text="创建日期" value valuetodisplaytext></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.CreateDate" BackColor="#e6f1f8" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="50%" CssClass="text" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </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" XDataBind="DF_IT_AssetPurchaseApp_Info.BU" BackColor="#E6F1F8" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="50%" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel45" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.Department" BackColor="#E6F1F8" BorderWidth="1" BorderColor="#DCDCDC" Width="50%" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label1" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label2" runat="server" text="采购理由"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 80%" colspan="3">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.PurchaseReason" ValueToDisplayText BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" Width="100%" DisableExpress='Global.StepName!="资产采购申请"' Rows="2" TextMode="MultiLine" HiddenInput="False"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label4" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label3" runat="server" text="是否垫付"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.IsAdvance" DisableExpress='Global.StepName!="资产采购申请"' RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label5" runat="server" text="采购总金额"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.TotalAmount" ValueToDisplayText BackColor="#E6F1F8" BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" Width="100px" ReadOnly="True" HiddenInput="False" Format="type:currency;.2" Express="sum(DF_IT_AssetPurchaseApp_Detail.Money)" TextAlign="Right"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="4295" align="center" class="table" id="tablenew" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td width="2198" height="26" 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="14">
                        <asp:Label id="Label6" runat="server" text="设备信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="50" 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="Label28" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Black"></asp:Label>&nbsp;<asp:Label id="Label22" runat="server" text="资产SAPID"></asp:Label></td>
                    <td width="100" align="center" class="tds">
                        <asp:Label id="Label29" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Black"></asp:Label>&nbsp;<asp:Label id="Label18" runat="server" text="资本化日期"></asp:Label></td>
                    <td width="100" align="center" class="tds">
                        <asp:Label id="Label15" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel26" runat="server" text="设备类别"></asp:Label></td>
                    <td width="80" align="center" class="tds">
                        <asp:Label id="Label16" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel27" runat="server" text="品牌"></asp:Label></td>
                    <td width="120" align="center" class="tds">
                        <asp:Label id="Label17" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel28" runat="server" text="型号"></asp:Label></td>
                    <td width="120" align="center" class="tds">
                        &nbsp;<asp:Label id="XLabel29" runat="server" text="主机序列号"></asp:Label></td>
                    <td width="200" align="center" class="tds">
                        <asp:Label id="Label8" runat="server" text="设备描述"></asp:Label></td>
                    <td width="80" align="center" class="tds">
                        <asp:Label id="Label19" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label9" runat="server" text="金额"></asp:Label></td>
                    <td width="80" align="center" class="tds">
                        <asp:Label id="Label20" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label7" 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="40" align="center" class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.LineNum" BackColor="Transparent" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.AssetSAPID" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" DisableExpress='Global.StepName!="1000固定资产岗资本化资产"' ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XDateTimePicker id="XDateTimePicker3" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.CapitalizationDate" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" DisableExpress='Global.StepName!="1000固定资产岗资本化资产"'></aspxform:XDateTimePicker>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.AssetTypeID" HiddenExpress="1" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="10px" CssClass="text1" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.AssetType" DataMap="TypeID->DF_IT_AssetPurchaseApp_Detail.AssetTypeID" Width="100%" DisableExpress='Global.StepName!="资产采购申请" &amp;&amp; Global.StepName!="IT固定资产管理员录入资产"' PromptText="----请选择----" ValueColumn="AssetsTypeName" DisplayColumn="AssetsTypeName" XDataSource="TableName:DF_IT_FixedAssetsType"></aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.Brand" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" DisableExpress='Global.StepName!="资产采购申请" &amp;&amp; Global.StepName!="IT固定资产管理员录入资产"' ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.AssetModel" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" DisableExpress='Global.StepName!="资产采购申请" &amp;&amp; Global.StepName!="IT固定资产管理员录入资产"'></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.SerialNo" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" DisableExpress='Global.StepName!="资产采购申请" &amp;&amp; Global.StepName!="IT固定资产管理员提交发票" &amp;&amp; Global.StepName!="IT固定资产管理员提交发票1"   &amp;&amp; Global.StepName!="IT固定资产管理员录入资产"'></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.AssetDescription" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="99.9%" CssClass="text1" DisableExpress='Global.StepName!="资产采购申请" &amp;&amp; Global.StepName!="IT固定资产管理员提交发票" &amp;&amp; Global.StepName!="IT固定资产管理员提交发票1"   &amp;&amp; Global.StepName!="IT固定资产管理员录入资产"'></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.Money" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Width="100%" CssClass="text1" DisableExpress='Global.StepName!="资产采购申请"' Format="type:currency;.2" TextAlign="Right"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.PurchaseDate" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" DisableExpress='Global.StepName!="资产采购申请" &amp;&amp; Global.StepName!="IT固定资产管理员录入资产"'></aspxform:XDateTimePicker>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Detail.Remark" width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress='Global.StepName!="资产采购申请" &amp;&amp; Global.StepName!="IT固定资产管理员录入资产"'></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        &nbsp; 
        <br />
        <table width="1200" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress='DF_IT_AssetPurchaseApp_Info.IsAdvance!="否"'>
            <tbody>
                <tr>
                    <td width="300" height="18" class="title1" colspan="4">
                        <asp:Label id="Label10" runat="server" text="供应商信息"></asp:Label></td>
                </tr>
                <tr>
                    <td height="18" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label23" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Blue"></asp:Label>&nbsp;<asp:Label id="Label12" runat="server" text="供应商名称"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.SupplierName" ValueToDisplayText width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress='Global.StepName!="IT固定资产管理员下单并提交供应商收款信息"'></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label11" runat="server" text="行号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.BankNo" ValueToDisplayText width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress='Global.StepName!="IT固定资产管理员下单并提交供应商收款信息"'></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label24" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Blue"></asp:Label>&nbsp;<asp:Label id="Label13" runat="server" text="开户行"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.BankName" ValueToDisplayText width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress='Global.StepName!="IT固定资产管理员下单并提交供应商收款信息"'></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label26" runat="server" text="*" value valuetodisplaytext font-bold="True" forecolor="Blue"></asp:Label>&nbsp;<asp:Label id="Label14" runat="server" text="账号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.BankAccount" ValueToDisplayText width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress='Global.StepName!="IT固定资产管理员下单并提交供应商收款信息"'></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label25" runat="server" text="备注"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 80%" colspan="3">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.SupplierInfoRemark" ValueToDisplayText width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress='Global.StepName!="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_AssetPurchaseApp_Info.Remark" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" TextMode="MultiLine" Height="40px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
		 <br />
         <table width="1200" align="center" class="table" id="tb2" border="0" cellspacing="0" cellpadding="3">
            <tbody>
                <tr>
                    <td width="120" height="14" class="tsbottomlabel">
                        <asp:Label id="Label30" runat="server" text="上传采购合同"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XAttachments id="UploadPurchaseContract" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.UploadPurchaseContract" width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.png;*.jpg;*.jpeg;*.gif;*.msg;*.eml;*.zip;*.7z" RepeatDirection="Horizontal"></aspxform:XAttachments>
                    </td>
                </tr>
                 <tr>
                    <td width="120" height="14" class="tsbottomlabel">
                        <asp:Label id="Label31" runat="server" text="上传供应商发票"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XAttachments id="UploadSupplierInvoice" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.UploadSupplierInvoice" width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.png;*.jpg;*.jpeg;*.gif;*.msg;*.eml;*.zip;*.7z" RepeatDirection="Horizontal"></aspxform:XAttachments>
                    </td>
                </tr>
                 <tr>
                    <td width="120" height="14" class="tsbottomlabel">
                       <asp:Label id="Label32" runat="server" value valuetodisplaytext text="*" forecolor="Gray"></asp:Label> <asp:Label id="Label33" runat="server" text="上传银行付款单据"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XAttachments id="UploadBankReceipt" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.UploadBankReceipt" width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.png;*.jpg;*.jpeg;*.gif;*.msg;*.eml;*.zip;*.7z" RepeatDirection="Horizontal" ></aspxform:XAttachments>
                   <aspxform:XLabel ID="BankReceiptAli" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.BankReceiptAli" HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel ID="PurchaseContractAli" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.PurchaseContractAli" HiddenExpress="1"></aspxform:XLabel>
                          <aspxform:XLabel ID="SupplierInvoiceAli" runat="server" XDataBind="DF_IT_AssetPurchaseApp_Info.SupplierInvoiceAli" HiddenExpress="1"></aspxform:XLabel>
             </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ForeColor="Red" Display="None" ErrorMessage="请填写购买理由" ControlToValidate="XTextBox5" ValidationGroup="submit">请填写购买理由</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ForeColor="Red" Display="None" ErrorMessage="请选择是否垫付" ControlToValidate="XRadioButtonList1" ValidationGroup="submit">请选择是否垫付</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ForeColor="Red" Display="None" ErrorMessage="请选择设备类别" ControlToValidate="XDropDownList1" ValidationGroup="submit">请选择设备类别</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ForeColor="Red" Display="None" ErrorMessage="请填写品牌" ControlToValidate="XTextBox16" ValidationGroup="submit">请填写品牌</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ForeColor="Red" Display="None" ErrorMessage="请填写型号" ControlToValidate="XTextBox17" ValidationGroup="submit">请填写型号</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" ForeColor="Red" Display="None" ErrorMessage="请填写金额" ControlToValidate="XTextBox7" ValidationGroup="submit">请填写金额</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" ForeColor="Red" Display="None" ErrorMessage="请选择购买日期" ControlToValidate="XDateTimePicker2" ValidationGroup="submit">请选择购买日期</aspxform:XRequiredFieldValidator>
        <br />
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator11" runat="server" ForeColor="Blue" Display="None" ErrorMessage="请填写供应商名称" ControlToValidate="XTextBox9" ValidationGroup="gys">请填写供应商名称</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator13" runat="server" ForeColor="Blue" Display="None" ErrorMessage="请填写开户行" ControlToValidate="XTextBox10" ValidationGroup="gys">请填写开户行</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator14" runat="server" ForeColor="Blue" Display="None" ErrorMessage="请填写账号" ControlToValidate="XTextBox11" ValidationGroup="gys">请填写账号</aspxform:XRequiredFieldValidator>
        <br />
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" ForeColor="Black" Display="None" ErrorMessage="请填写资产SAPID" ControlToValidate="XTextBox12" ValidationGroup="gdzcg">请填写资产SAPID</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ForeColor="Black" Display="None" ErrorMessage="请选择资本化日期" ControlToValidate="XDateTimePicker3" ValidationGroup="gdzcg">请选择资本化日期</aspxform:XRequiredFieldValidator>
        <br />
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ForeColor="Red" Display="None" ErrorMessage="请选择设备类别" ControlToValidate="XDropDownList1" ValidationGroup="lrzc">请选择设备类别</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator12" runat="server" ForeColor="Red" Display="None" ErrorMessage="请填写品牌" ControlToValidate="XTextBox16" ValidationGroup="lrzc">请填写品牌</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator15" runat="server" ForeColor="Red" Display="None" ErrorMessage="请填写型号" ControlToValidate="XTextBox17" ValidationGroup="lrzc">请填写型号</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator16" runat="server" ForeColor="Red" Display="None" ErrorMessage="请选择购买日期" ControlToValidate="XDateTimePicker2" ValidationGroup="lrzc">请选择购买日期</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>
