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

    protected void Page_Load(object sender, EventArgs e)
      {
          string clientMethod = Request.Params["Param"];
          this.XTextBox10.Text = clientMethod;
      }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <title>BPM Form</title> <style>

    </style>
</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 width="1000" class="biaoti">
                        <asp:Label id="XLabel1" runat="server" Text="凭证" Value ValueToDisplayText></asp:Label>
                    </td>
                    <td width="400" class="formno">
                        <asp:Label id="XLabel2" runat="server" Value ValueToDisplayText text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel3" runat="server" BackColor="#8AB3DF" Text="--系统自动生成--" Value ValueToDisplayText XDataBind="DF_ER_Voucher.SerialNum"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel4" runat="server" Value ValueToDisplayText text="个人信息"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel5" runat="server" Value ValueToDisplayText text="姓名"></asp:Label>
                        <aspxform:XTextBox id="XTextBox12" style="DISPLAY: none" runat="server" ValueToDisplayText XDataBind="DF_ER_Voucher.EstablishUserAccount" BorderWidth="1" BorderColor="#DCDCDC" Width="10px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox7" style="DISPLAY: none" runat="server" ValueToDisplayText XDataBind="DF_ER_Voucher.EstablishDate" BorderWidth="1" BorderColor="#DCDCDC" Width="10px"></aspxform:XTextBox>
                    </td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" style="WIDTH: 70%" runat="server" ValueToDisplayText XDataBind="DF_ER_Voucher.EstablishUser" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Enabled="False"></aspxform:XTextBox>
                    </td>
                    <td class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel6" runat="server" Value ValueToDisplayText text="部门"></asp:Label>
                    </td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox6" style="WIDTH: 70%" runat="server" ValueToDisplayText XDataBind="DF_ER_Voucher.EstablishDpt" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Enabled="False"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel24" runat="server" Value ValueToDisplayText text="BU"></asp:Label>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox18" style="WIDTH: 70%" runat="server" XDataBind="DF_ER_Voucher.BU" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Enabled="False"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel25" runat="server" Value ValueToDisplayText text="地区"></asp:Label>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" style="WIDTH: 70%" runat="server" XDataBind="DF_ER_Voucher.Region" BorderWidth="1" BorderColor="#DCDCDC" Enabled="False"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel29" runat="server" Text="BPM账号" Value ValueToDisplayText></asp:Label>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox19" style="WIDTH: 70%" runat="server" XDataBind="DF_ER_Voucher.BPMAccount" BorderWidth="1" BorderColor="#DCDCDC" Enabled="False"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel30" runat="server" Text="联系电话" Value ValueToDisplayText></asp:Label>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox20" style="WIDTH: 70%" runat="server" XDataBind="DF_ER_Voucher.Mobile" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" id="tabqutdetail" border="0" cellspacing="0" cellpadding="3" datamap="emplyer->DF_ER_VoucherItem.emplyer;traffic->DF_ER_VoucherItem.traffic;travel->DF_ER_VoucherItem.travel;dinner->DF_ER_VoucherItem.dinner;communication->DF_ER_VoucherItem.communication" xdatasource="ProcedureName:voucherList;Filter:@IDList-> DF_ER_Voucher.IDList" dynamicarea="2,1" menudock="Left">
            <tbody>
                <tr>
                    <td height="17" class="title1" colspan="7">
                        <asp:Label id="XLabel32" runat="server" Value ValueToDisplayText text="员工列表"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td width="50" height="25" class="tds">
                        <p align="center">
                            <asp:Label id="XLabel28" runat="server" text="序号"></asp:Label>
                        </p>
                    </td>
                    <td width="100" class="tds">
                        <div align="center">
                            <asp:Label id="XLabel31" runat="server" Value ValueToDisplayText text="姓名"></asp:Label>
                        </div>
                    </td>
                    <td width="100" class="tds">
                        <div align="center">
                            <asp:Label id="XLabel69" runat="server" Value ValueToDisplayText text="交通费"></asp:Label>
                        </div>
                    </td>
                    <td width="100" class="tds">
                        <p align="center">
                            <asp:Label id="XLabel68" runat="server" Text="差旅费" Value ValueToDisplayText></asp:Label>
                        </p>
                    </td>
                    <td width="100" class="tds">
                        <p align="center">
                            <asp:Label id="XLabel11" runat="server" Value ValueToDisplayText text="宴请费 "></asp:Label>
                        </p>
                    </td>
                    <td width="100" class="tds">
                        <p align="center">
                            <asp:Label id="XLabel8" runat="server" Value ValueToDisplayText text="通讯费 "></asp:Label>
                        </p>
                    </td>
                    <td class="tds">
                        <p align="center">
                            <asp:Label id="XLabel7" runat="server" Value ValueToDisplayText text="合计"></asp:Label>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td class="xjtds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_QUTATION_DETAIL.LineNumber" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BorderStyle="None" BackColor="Transparent" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td class="xjtds1">
                        <aspxform:XTextBox id="XTextBox22" style="WIDTH: 70%" runat="server" ValueToDisplayText="TableName:V_BPMSysUsers;FilterColumn:Account;DisplayColumn:DisplayName" XDataBind="DF_ER_VoucherItem.emplyer" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Enabled="False"></aspxform:XTextBox>
                    </td>
                    <td class="xjtds1">
                        <aspxform:XTextBox id="XTextBox1" style="WIDTH: 70%" runat="server" XDataBind="DF_ER_VoucherItem.traffic" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Enabled="False" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="xjtds1">
                        <aspxform:XTextBox id="XTextBox2" style="WIDTH: 70%" runat="server" XDataBind="DF_ER_VoucherItem.travel" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Enabled="False" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="xjtds1">
                        <aspxform:XTextBox id="XTextBox3" style="WIDTH: 70%" runat="server" XDataBind="DF_ER_VoucherItem.dinner" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Enabled="False" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="xjtds1">
                        <aspxform:XTextBox id="XTextBox4" style="WIDTH: 70%" runat="server" XDataBind="DF_ER_VoucherItem.communication" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Enabled="False" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="xjtds1">
                        <aspxform:XTextBox id="XTextBox8" style="WIDTH: 70%" runat="server" XDataBind="DF_ER_VoucherItem.total" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" Enabled="False" TextAlign="Right" Format="type:currency;.2" Express="DF_ER_VoucherItem.communication+DF_ER_VoucherItem.dinner+DF_ER_VoucherItem.travel+DF_ER_VoucherItem.traffic"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_ER_Voucher.IDList" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True"></aspxform:XTextBox>
        <aspxform:XDropDownList id="XDropDownList1" runat="server" ValueColumn="Company" DisplayColumn="Company" DataMap="CostCenterAccount->DF_ER_Voucher.ChargeID;DepositAccount->DF_ER_Voucher.DepositAccount;Company->DF_ER_Voucher.Company;travel->DF_ER_Voucher.Travel;Traffic->DF_ER_Voucher.Traffic;dinner->DF_ER_Voucher.Dinner;communication->DF_ER_Voucher.Communication;erArea->DF_ER_Voucher.erArea" HiddenExpress="1" XDataSource="ProcedureName:voucherListSubject;Filter:@IDList-> DF_ER_Voucher.IDList">
            <asp:ListItem>未绑定</asp:ListItem>
        </aspxform:XDropDownList>
        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_ER_Voucher.ChargeID" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="False" HiddenExpress="1"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_ER_Voucher.DepositAccount" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_ER_Voucher.Company" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_ER_Voucher.Travel" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_ER_Voucher.Traffic" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_ER_Voucher.Dinner" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_ER_Voucher.Communication" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_ER_Voucher.erArea" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1"></aspxform:XTextBox>
    </form>
</body>
</html>
