<%@ Page Title="" Language="C#" MasterPageFile="~/SignBox/Site1.Master" AutoEventWireup="true" CodeBehind="TransferCarFeeItemList.aspx.cs" Inherits="GxHub.Wms.Abroad.Web.SignBox.TransferCarFeeItemList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
     <title>中装装车费用明细
     </title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
  <yee:PageTitle ID="pgTitle" runat="server">
      <ShortCuts>
          <a href="AbroadTransferLoadCarList.aspx" title="返回">返回</a>
      </ShortCuts>
  </yee:PageTitle>
  <yee:MessageBox runat="server" ID="msg">
  </yee:MessageBox>

  <table cellpadding="0" cellspacing="0" class="table">
      <tr>
          <td class="tbpostheader">
              <%=GetText("装车流水号") %>
          </td>
          <td class="tbpost">
              <asp:Label ID="labOrderNo" runat="server"></asp:Label>
          </td>
      </tr>
      <tr>
          <td class="tbpostheader">
              <%=GetText("类型") %>
          </td>
          <td class="tbpost">
              <asp:DropDownList ID="ddlFeeItem" runat="server"></asp:DropDownList>
          </td>
      </tr>
      <tr>
          <td class="tbpostheader">
              <%=GetText("金额") %>
          </td>
          <td class="tbpost">
              <asp:TextBox ID="txtAmount" runat="server"></asp:TextBox>
          </td>
      </tr>
      <tr>
          <td class="tbpostheader">
              <%=GetText("币种") %>
          </td>
          <td class="tbpost">
              <asp:DropDownList ID="ddlCurrency" runat="server">
                  <asp:ListItem Value="USD" Text="美金" Selected="True"></asp:ListItem> 
              </asp:DropDownList>
          </td>
      </tr>
      <tr>
          <td class="tbpostheader"></td>
          <td class="tbpost">
              <yee:Button ID="btnSave" runat="server" Text="添加费用" OnClick="btnSave_Click" />
          </td>
      </tr>
  </table>

  <asp:Repeater ID="rptList" runat="server" OnItemCommand="rptList_ItemCommand" OnItemDataBound="rptList_ItemDataBound">
      <HeaderTemplate>
          <table cellpadding="0" cellspacing="0" border="0" class="table" id="r ">
              <tr>
                  <td class="tbheader">
                      <%=GetText("费用项目") %>
                  </td>
                  <td class="tbheader">
                      <%=GetText("金额") %>
                  </td>
                  <td class="tbheader">
                      <%=GetText("币种") %>
                  </td>
                  <td class="tbheader">
                      <%=GetText("是否付款") %>
                  </td>
                  <td class="tbheader">
                      <%=GetText("操作") %>
                  </td>
              </tr>
      </HeaderTemplate>
      <ItemTemplate>
          <tr class="tbrow" style="text-align: center">
              <td class="tbpost">
                  <%# Eval("FeeItemName")%>
              </td>
              <td class="tbpost">
                  <asp:TextBox ID="txtCredit" runat="server" Text='<%# Eval("Credit")%>'></asp:TextBox>
              </td>
              <td class="tbpost">
                  <%# Eval("CurrencyCode")%>
              </td>
               <td class="tbpost">
                   <%# Eval("HasPaid")%>
               </td>
              <td class="tbpost">
                  <asp:LinkButton ID="lbnUpdate" runat="server" CommandArgument='<%#Eval("UniqueId")%>' Text="更新金额"
                      CommandName="update"></asp:LinkButton>
              </td>
          </tr>
      </ItemTemplate>
      <AlternatingItemTemplate>
          <tr class="tbrowalter" style="text-align: center">
              <td class="tbpost">
                  <%# Eval("FeeItemName")%>
              </td>
              <td class="tbpost">
                  <asp:TextBox ID="txtCredit" runat="server" Text='<%# Eval("Credit")%>'></asp:TextBox>
              </td>
              <td class="tbpost">
                  <%# Eval("CurrencyCode")%>
              </td>
              <td class="tbpost">
                  <%# Eval("HasPaid")%>
              </td>
              <td class="tbpost">
                  <asp:LinkButton ID="lbnUpdate" runat="server" CommandArgument='<%#Eval("UniqueId")%>' Text="更新金额"
                      CommandName="update">
                  </asp:LinkButton>
              </td>
          </tr>
      </AlternatingItemTemplate>
      <FooterTemplate>
        </table>
      </FooterTemplate>
  </asp:Repeater>
</asp:Content>
