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

<html xmlns:xform="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <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;}
    </style>
     
    <script type="text/javascript">

        function placeholder() {
            //设置placeholder
            //客户收货信息 设置座机placeholder
            var AssetClassification = agent.Eles[document.getElementById("XTextBox21").getAttribute("xform_xele_index")].getValue();

            if (AssetClassification == "办公家具") {

                var aDivCustomerReceivingLandline = document.getElementsByClassName("EquipmentDescription");

                for (var i = 0; i < aDivCustomerReceivingLandline.length; i++) {

                    var aDivCustomerReceivingLandlineId = aDivCustomerReceivingLandline[i].getElementsByTagName('input')[0].id;
                    var v = document.getElementById(aDivCustomerReceivingLandlineId).setAttribute("placeholder", "办公家具请写明数量");
                }
            }
        };

        agent.on('beforeSubmit', function (actname1, actname) {
            var ZhuangTai = agent.Eles[document.getElementById("XTextBox145").getAttribute("xform_xele_index")].getValue();
            if ((ZhuangTai == "北京固定资产岗资本化资产")) {
                var tableObj = document.getElementById("tablenew");
                var SAPPOlength = '';
                for (var i = 2; i < tableObj.rows.length; i++) {
                    var obj = {};
                    var SAPPO = agent.Eles[tableObj.rows[i].cells[1].children[0].getAttribute("xform_xele_index")].getValue();
                    SAPPOlength = SAPPO.length;
                    if (SAPPOlength == 0) {
                        Ext.MessageBox.alert("提示", "资产SAPID第【" + (i - 1) + "】行不能为空！");
                        return false;
                    }
                    if (SAPPOlength < 12) {
                        Ext.MessageBox.alert("提示", "资产SAPID第【" + (i - 1) + "】行必须是12位！");
                        return false;
                    }
                    if (SAPPOlength > 12) {
                        Ext.MessageBox.alert("提示", "资产SAPID第【" + (i - 1) + "】行必须是12位！");
                        return false;
                    }
                }
            }

            var FormNo = agent.Eles[document.getElementById("FormNo").getAttribute("xform_xele_index")].getValue();

            //上传采购合同
            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();
                    }
                }

            }

            //供应商发票
            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/OA/Services/OfficeAssetProcurement.ashx",
                params: {
                    method: 'UpLoadFileAli',
                    fileidUploadPurchaseContract: fileidUploadPurchaseContract,//上传路径id
                    fileExtensionUploadPurchaseContract: fileExtensionUploadPurchaseContract,
                    fileidUploadSupplierInvoice: fileidUploadSupplierInvoice,
                    fileExtensionUploadSupplierInvoice: fileExtensionUploadSupplierInvoice,
                    fileidUploadBankReceipt: fileidUploadBankReceipt,
                    fileExtensionUploadBankReceipt: fileExtensionUploadBankReceipt,
                    FormNo: FormNo
                },
                success: function (action) {
                    console.log(action)
                    var data = action.result;
                    var BankReceiptAli = data.BankReceiptAli;
                    var PurchaseContractAli = data.PurchaseContractAli;
                    var SupplierInvoiceAli = data.SupplierInvoiceAli;


                    agent.Eles[document.getElementById("PurchaseContractAli").getAttribute("xform_xele_index")].setValue(PurchaseContractAli);//采购合同
                    agent.Eles[document.getElementById("BankReceiptAli").getAttribute("xform_xele_index")].setValue(BankReceiptAli);//银行付款单
                    agent.Eles[document.getElementById("SupplierInvoiceAli").getAttribute("xform_xele_index")].setValue(SupplierInvoiceAli);//供应商发票

                }
            });


        });
      
        Ext.onReady(function () {
            placeholder();
        });
    </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: 10px">
                        <asp:Label id="XLabel1" runat="server" text="办公资产采购申请单"></asp:Label></td>
                    <aspxform:XTextBox id="TaskID" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.TaskID" Width="10px" BorderColor="#DCDCDC" BorderWidth="1" HiddenExpress="1"></aspxform:XTextBox>
                    <td class="formno">
                        <asp:Label id="XLabel2" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="FormNo" runat="server" text="-系统自动生成-" Value XDataBind="DF_Rent_AssetProcurement_Info.FormNo" ValueToDisplayText BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr hidden="hidden">
                    <td width="1200">
                        <aspxform:XButton id="XButton1" runat="server" XClass="YZSoft.Forms.Field.Button" Text="打印" OnClientClick="Print()" UseSubmitBehavior="False" Height="23px"></aspxform:XButton>
                    </td>
                </tr>
                <tr>
                    <td width="1200">
                        <asp:Label id="XLabel191" runat="server" text="标记*的为申请人第一步必填 标记**的为申请人在下单并提交供应商收款信息节点必填" forecolor="Red" font-size="10pt" valuetodisplaytext value></asp:Label> 
                        &nbsp;&nbsp;<asp:Label id="Label3" runat="server" text="标记*的为北京固定资产岗资本化资产时必填" forecolor="Blue" font-size="10pt" valuetodisplaytext value></asp:Label>
                        &nbsp;&nbsp;<asp:Label id="Label16" runat="server" text="标记*的为北京出纳岗必填" forecolor="Gray" font-size="10pt" valuetodisplaytext value></asp:Label>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="4">
                        <asp:Label id="XLabel4" runat="server" text="基本信息"></asp:Label></td>
                    </tr>
                <tr>
                    <td style="WIDTH: 12%" height="19" class="ts">
                        <asp:Label id="XLabel5" runat="server" text="申请人"></asp:Label></td>
                    <aspxform:XTextBox id="XTextBox3" runat="server" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" XDataBind="DF_Rent_AssetProcurement_Info.ApplicantID" BorderWidth="1px" HiddenInput="True" Max="0" Min="0" DataMap="Department->DF_Rent_AssetProcurement_Info.Department;BUName->DF_Rent_AssetProcurement_Info.ProductLine" width="23px" BorderColor="Gainsboro"></aspxform:XTextBox>
                    <td style="WIDTH: 38%" class="ts1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.Applicant" BackColor="#E6F1F8" BorderWidth="1" Width="70%" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 12%" class="ts">
                        <asp:Label id="XLabel20" runat="server" text="创建日期"></asp:Label></td>
                    <td style="WIDTH: 38%" class="ts1">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.CreateDate" BorderWidth="1" Width="40%" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" CssClass="text" DisplayOnly="True" backColor="#e6f1f8"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel">
                        <asp:Label id="XLabel21" runat="server" text="事业部"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.ProductLine" BackColor="#E6F1F8" BorderWidth="1" Width="70%" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel19" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox30" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.Department" BackColor="#E6F1F8"  BorderWidth="1" Width="70%" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                 <tr>
                    <td height="19" class="tsbottomlabel">
                         <asp:Label id="XLabel41" runat="server" value valuetodisplaytext text="*" forecolor="Red"></asp:Label> <asp:Label id="Label1" runat="server" text="资产分类"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDropDownList id="XDropDownList26" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.AssetClassification"  BorderColor="#DCDCDC" Width="40%" >
                            <asp:ListItem Selected="True" Value="办公设备">办公设备</asp:ListItem>
                            <asp:ListItem Value="运输工具">运输工具</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label2" runat="server" text="采购总金额"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="PurchaseTotalAmount" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.PurchaseTotalAmount" Width="40%" BorderColor="#DCDCDC" BorderWidth="1" BackColor="#E6F1F8" Express="sum(DF_Rent_AssetProcurement_Detail.Money)" DisableExpress="1" Format="type:currency;.2" TextAlign="Right"></aspxform:XTextBox>
                    </td>
                </tr>
                 <tr>
                    <td height="19" class="tsbottomlabel">
                         <asp:Label id="Label6" runat="server" value valuetodisplaytext text="*" forecolor="Red"></asp:Label> <asp:Label id="Label4" runat="server" text="采购理由"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.PurchaseReason"  BorderWidth="1" Width="70%" BorderColor="#DCDCDC" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                         <asp:Label id="Label7" runat="server" value valuetodisplaytext text="*" forecolor="Red"></asp:Label> <asp:Label id="Label5" runat="server" text="是否垫付"></asp:Label></td>
                    <td class="tsbottomtext" >
                        <div style=" width:40%">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.AdvancePayment"  Width="70%" Font-Names="Verdana" RepeatDirection="Horizontal">
                            <asp:ListItem Value="是">是</asp:ListItem>
                            <asp:ListItem Value="否">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                       </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />

        <div id="Div1" style="TEXT-ALIGN: center"  runat="server">
            <div class="scrollDiv" id="scrollDiv" style="HEIGHT: 260px">
               <table style="WIDTH: 1700px"  class="scrolltable" align="center" id="tablenew" border="0" cellspacing="0" cellpadding="0" runat="server" dynamicarea="2,1" menudock="Left" >
                        <tbody>
                        <tr>
                            <td height="14" class="title1" style="TEXT-ALIGN: left" colspan="13">
                                <asp:Label id="Label18" runat="server" text="资产信息"></asp:Label>
                                <aspxform:XTextBox id="XTextBox145" runat="server" Width="60px" BorderColor="#DCDCDC"  HiddenExpress="1" BorderWidth="1" Express="Global.StepName"></aspxform:XTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tds" style="WIDTH: 50px">
                                序号</td>
                            <td class="tds" style="WIDTH: 100px">
                                <asp:Label id="Label19" runat="server" value valuetodisplaytext text="*" forecolor="Blue"></asp:Label> 资产SAPID</td>
                            <td class="tds" style="WIDTH: 150px">
                                <asp:Label id="Label20" runat="server" value valuetodisplaytext text="*" forecolor="Blue"></asp:Label> 资本化日期</td>
                            <td class="tds" style="WIDTH: 150px">
                                <asp:Label id="Label21" runat="server" value valuetodisplaytext text="*" forecolor="Red"></asp:Label> 设备类别</td>
                            <td class="tds" style="WIDTH: 150px">
                               <asp:Label id="Label22" runat="server" value valuetodisplaytext text="*" forecolor="Red"></asp:Label> 品牌</td>
                            <td class="tds" style="WIDTH: 150px">
                                <asp:Label id="Label25" runat="server" value valuetodisplaytext text="*" forecolor="Red" hiddenexpress='DF_Rent_AssetProcurement_Info.AssetClassification !="运输工具"'></asp:Label> 型号</td>
                            <td class="tds" style="WIDTH: 150px" hiddenexpress='DF_Rent_AssetProcurement_Info.AssetClassification !="运输工具"'>
                                车牌号</td>
                            <td class="tds" style="WIDTH: 150px" hiddenexpress='DF_Rent_AssetProcurement_Info.AssetClassification !="运输工具"'>
                                发动机号</td>
                            <td class="tds" style="WIDTH: 150px">
                                设备描述</td>
                            <td class="tds" style="WIDTH: 150px"  hiddenexpress='DF_Rent_AssetProcurement_Info.AssetClassification !="办公设备"'>
                                序列号</td>
                            <td class="tds" style="WIDTH: 150px; text-align:center">
                                <asp:Label id="Label23" runat="server" value valuetodisplaytext text="*" forecolor="Red"></asp:Label> 金额</td>
                            <td class="tds" style="WIDTH: 150px">
                                <asp:Label id="Label24" runat="server" value valuetodisplaytext text="*" forecolor="Red"></asp:Label> 购买日期</td>
                            <td class="tds" style="WIDTH: 200px">
                                <asp:Label id="Label17" runat="server" value valuetodisplaytext text="*" forecolor="Red"></asp:Label> 资产保存地</td>
                            <td class="tds" style="WIDTH: 200px">
                                备注</td>
                        </tr>
                        <tr >
                            <td class="tds1"  >
                                <aspxform:XGridLineNo id="XGridLineNo2" XDataBind="DF_Rent_AssetProcurement_Detail.LineNum"  runat="server"  BorderWidth="1" Width="100%" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                            </td>
                            <td class="tds1">
                              <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.SAPID"  BorderWidth="1" Width="100%" BorderColor="#ffffff" CssClass="text" DisableExpress='Global.StepName!="北京固定资产岗资本化资产"'></aspxform:XTextBox>
                           </td>
                           
                            <td align="center" class="tds1">
                               <aspxform:XDateTimePicker id="XDateTimePicker4" style="WIDTH: 100%" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.CapitalizationDate" BorderColor="#DCDCDC"  BorderWidth="1" DisableExpress='Global.StepName!="北京固定资产岗资本化资产"'></aspxform:XDateTimePicker>
                            </td>
                            <td align="center" class="tds1">
                               <aspxform:XDropDownList id="XTextBox21" runat="server" onchange="placeholder()" onkeyup="placeholder()" XDataBind="DF_Rent_AssetProcurement_Detail.DeviceClass"  BorderColor="#DCDCDC" Width="100%"  XDataSource PromptText="----请选择----" >
                                    <asp:ListItem Value="电器设备" hiddenexpress='DF_Rent_AssetProcurement_Info.AssetClassification !="办公设备"'>电器设备</asp:ListItem>
                                    <asp:ListItem Value="办公家具" hiddenexpress='DF_Rent_AssetProcurement_Info.AssetClassification !="办公设备"'>办公家具</asp:ListItem>
                                    <asp:ListItem Value="车辆" hiddenexpress='DF_Rent_AssetProcurement_Info.AssetClassification !="运输工具"'>车辆</asp:ListItem>
                                </aspxform:XDropDownList>
                                <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.Scraplife" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" ReadOnly="True"  Express="if(DF_Rent_AssetProcurement_Detail.DeviceClass=='办公家具' || DF_Rent_AssetProcurement_Detail.DeviceClass=='车辆','5',if(DF_Rent_AssetProcurement_Detail.DeviceClass=='电器设备','3',DF_Rent_AssetProcurement_Detail.Scraplife))" TextAlign="Right" HiddenInput="true"></aspxform:XTextBox>
                                
                            </td>
                            <td class="tds1"> 
                               <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.Brand"  BorderWidth="1" Width="100%" BorderColor="#ffffff" CssClass="text"></aspxform:XTextBox>
                             </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.Model"  BorderWidth="1" Width="100%" BorderColor="#ffffff" CssClass="text"></aspxform:XTextBox>
                            </td>
                            <td class="tds1"  hiddenexpress='DF_Rent_AssetProcurement_Info.AssetClassification !="运输工具"'>
                                <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.CarNumber"  BorderWidth="1" Width="100%" BorderColor="#ffffff" CssClass="text"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" hiddenexpress='DF_Rent_AssetProcurement_Info.AssetClassification !="运输工具"'>
                                <aspxform:XTextBox id="XTextBox31" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.EngineNumber"  BorderWidth="1" Width="100%" BorderColor="#ffffff" CssClass="text" ></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                               <aspxform:XTextBox id="XTextBox26"  runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.EquipmentDescription"  BorderWidth="1" Width="100%" BorderColor="#ffffff" CssClass="EquipmentDescription" placeholder="办公家具请写明数量"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" hiddenexpress='DF_Rent_AssetProcurement_Info.AssetClassification !="办公设备"'>
                               <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.SerialNumber"  BorderWidth="1" Width="100%" BorderColor="#ffffff" CssClass="text"  ></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="text-align:right">
                               <aspxform:XTextBox id="XTextBox28" runat="server" TextAlign="Right" XDataBind="DF_Rent_AssetProcurement_Detail.Money"  BorderWidth="1" Width="100%" BorderColor="#ffffff" CssClass="text"></aspxform:XTextBox>
                            </td>
                             <td class="tds1">
                               <aspxform:XDateTimePicker id="XDateTimePicker5" style="WIDTH: 100%" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.PurchaseDate" BorderColor="#DCDCDC"  BorderWidth="1" ></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.AssetsPlace" BorderColor="#DCDCDC" BorderWidth="1" width="100%" Height="20px"></aspxform:XTextBox>
                            </td>
                             <td class="tds1">
                                <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_Rent_AssetProcurement_Detail.Remarks" BorderColor="#DCDCDC" BorderWidth="1" width="100%" Height="20px"></aspxform:XTextBox>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0"  hiddenexpress='DF_Rent_AssetProcurement_Info.AdvancePayment !="否"' cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel6" runat="server" text="供应商收款信息"></asp:Label>
                       </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 12%">
                        <asp:Label id="Label8" runat="server" value valuetodisplaytext text="**" forecolor="Red"></asp:Label> <asp:Label id="XLabel22" runat="server" text="供应商名称"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 38%">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.SupplierName"  BorderWidth="1" Width="70%"  BorderColor="#DCDCDC" CssClass="text" DisableExpress='Global.StepName!="申请人下单并提交供应商收款信息"'></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 12%">
                         <asp:Label id="Label9" runat="server" value valuetodisplaytext text="**" forecolor="Red"></asp:Label> <asp:Label id="Label29" runat="server" text="行号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 38%">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.BankNumber" BorderWidth="1" Width="70%"  BorderColor="#DCDCDC" CssClass="text" DisableExpress='Global.StepName!="申请人下单并提交供应商收款信息"'></aspxform:XTextBox>
                    </td>
                </tr>
              
                <tr>
                    <td class="tsbottomlabel">
                         <asp:Label id="Label10" runat="server" value valuetodisplaytext text="**" forecolor="Red"></asp:Label> <asp:Label id="Label26" runat="server" text="开户行"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.DepositBank"  BorderWidth="1" Width="70%" BorderColor="#DCDCDC" CssClass="text" DisableExpress='Global.StepName!="申请人下单并提交供应商收款信息"'></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                         <asp:Label id="Label11" runat="server" value valuetodisplaytext text="**" forecolor="Red"></asp:Label> <asp:Label id="Label27" runat="server" text="账号"></asp:Label></td>
                    <td class="tsbottomtext" >
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.BankAccount" BorderWidth="1" Width="70%" BorderColor="#DCDCDC" CssClass="text" DisableExpress='Global.StepName!="申请人下单并提交供应商收款信息"'></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" >
                        <asp:Label id="Label31" runat="server" text="备注"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.BankRemarks" BorderColor="#DCDCDC" BorderWidth="1" width="100%" TextMode="MultiLine" Height="60px" DisableExpress='Global.StepName!="申请人下单并提交供应商收款信息"'></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>

                   
                </tr>
            </tbody>
        </table>
         <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" DisableExpress='DF_Rent_AssetProcurement_Info.AdvancePayment!="否"' ForeColor="Red" ValidationGroup="CollectionSubmit" ControlToValidate="XTextBox14" ErrorMessage="供应商名称不能为空">供应商名称不能为空</aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" DisableExpress='DF_Rent_AssetProcurement_Info.AdvancePayment!="否"' ForeColor="Red" ValidationGroup="CollectionSubmit" ControlToValidate="XTextBox22" ErrorMessage="行号不能为空">行号不能为空</aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" DisableExpress='DF_Rent_AssetProcurement_Info.AdvancePayment!="否"' ForeColor="Red" ValidationGroup="CollectionSubmit" ControlToValidate="XTextBox19" ErrorMessage="账号不能为空">账号不能为空</aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" DisableExpress='DF_Rent_AssetProcurement_Info.AdvancePayment!="否"' ForeColor="Red" ValidationGroup="CollectionSubmit" ControlToValidate="XTextBox18" ErrorMessage="开户行不能为空">开户行不能为空</aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="请填写资产分类" runat="server" ControlToValidate="XDropDownList26" ErrorMessage="请填写资产分类" Display="None" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="请填写资产理由" runat="server" ControlToValidate="XTextBox9" ErrorMessage="请填写资产理由" Display="None" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="请选择是否垫付" runat="server" ControlToValidate="XRadioButtonList1" ErrorMessage="请选择是否垫付" Display="None" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="请选择设备类别" runat="server" ControlToValidate="XTextBox21" ErrorMessage="请选择设备类别" Display="None" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="请填写品牌" runat="server" ControlToValidate="XTextBox24" ErrorMessage="请填写品牌" Display="None" ValidationGroup="submit" ></aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="请填写金额" runat="server" ControlToValidate="XTextBox28" ErrorMessage="请填写金额" Display="None" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="请选填购买日期" runat="server" ControlToValidate="XDateTimePicker5" ErrorMessage="请选填购买日期" Display="None" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="请填写资产保存地" runat="server" ControlToValidate="XTextBox1" ErrorMessage="请填写资产保存地" Display="None" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="请填写型号" runat="server" ControlToValidate="XTextBox25" ErrorMessage="请填写型号" Display="None" ValidationGroup="submit" DisableExpress="DF_Rent_AssetProcurement_Info.AssetClassification!='运输工具'"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="请填写资产SAPID" runat="server" ControlToValidate="XTextBox20" ErrorMessage="请填写资产SAPID" Display="None" ValidationGroup="Capitalization"></aspxform:XRequiredFieldValidator>
         <aspxform:XRequiredFieldValidator id="请填写资本化日期" runat="server" ControlToValidate="XDateTimePicker4" ErrorMessage="请填写资本化日期" Display="None" ValidationGroup="Capitalization"></aspxform:XRequiredFieldValidator>
     <table width="1200" align="center" class="table" id="tabqutdetail" border="0" cellspacing="0" cellpadding="3" menudock="Left">
            <tbody>
                <tr>
                    <td height="17" class="title1" colspan="4">
                        <asp:Label id="XLabel32" runat="server" text="备注" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <aspxform:XTextBox id="XTextBox5" CssClass="Remarks" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.Remarks" BorderColor="#DCDCDC" BorderWidth="1" width="100%" TextMode="MultiLine" Height="60px"></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="Label13" runat="server" text="上传采购合同"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XAttachments id="UploadPurchaseContract" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.UploadPurchaseContract" width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.png;*.jpg;*.jpeg;*.gif;*.msg;*.eml;*.zip;*.7z" RepeatDirection="Horizontal" DisableExpress='Global.StepName!="申请人下单并提交供应商收款信息" &amp;&amp;Global.StepName!="申请人提交发票"'></aspxform:XAttachments>
                    </td>
                </tr>
                 <tr>
                    <td width="120" height="14" class="tsbottomlabel">
                        <asp:Label id="Label12" runat="server" text="上传供应商发票"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XAttachments id="UploadSupplierInvoice" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.UploadSupplierInvoice" width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.png;*.jpg;*.jpeg;*.gif;*.msg;*.eml;*.zip;*.7z" RepeatDirection="Horizontal" DisableExpress='Global.StepName!="申请人下单并提交供应商收款信息" &amp;&amp; Global.StepName!="申请人提交发票1" &amp;&amp;Global.StepName!="申请人提交发票"'></aspxform:XAttachments>
                    </td>
                </tr>
                 <tr>
                    <td width="120" height="14" class="tsbottomlabel">
                       <asp:Label id="Label15" runat="server" value valuetodisplaytext text="*" forecolor="Gray"></asp:Label> <asp:Label id="Label14" runat="server" text="上传银行回单"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XAttachments id="UploadBankReceipt" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.UploadBankReceipt" width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.png;*.jpg;*.jpeg;*.gif;*.msg;*.eml;*.zip;*.7z" RepeatDirection="Horizontal" DisableExpress='Global.StepName!="北京出纳岗付款" &amp;&amp;Global.StepName!="北京出纳岗付款1"'></aspxform:XAttachments>
                         <aspxform:XLabel ID="BankReceiptAli" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.BankReceiptAli" HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel ID="PurchaseContractAli" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.PurchaseContractAli" HiddenExpress="1"></aspxform:XLabel>
                          <aspxform:XLabel ID="SupplierInvoiceAli" runat="server" XDataBind="DF_Rent_AssetProcurement_Info.SupplierInvoiceAli" HiddenExpress="1"></aspxform:XLabel>

                        <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>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ForeColor="Red" ValidationGroup="CollectionSubmit" ControlToValidate="UploadPurchaseContract" ErrorMessage="上传采购合同">上传采购合同</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ForeColor="Red" ValidationGroup="fapiao" ControlToValidate="UploadSupplierInvoice" ErrorMessage="上传供应商发票">上传供应商发票</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ForeColor="Red" ValidationGroup="chuna" ControlToValidate="UploadBankReceipt" ErrorMessage="上传银行回单">上传银行回单</aspxform:XRequiredFieldValidator>
        <br />
        <div style="TEXT-ALIGN: center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" BorderWidth="1" Width="1200px" BorderColor="#dcdcdc"></aspxform:XSignTrace>
        </div>
    </form>
</body>
</html>
