<%@ Page Title="" Language="C#" ClientIDMode="Static" MasterPageFile="~/bps/basic.Master" AutoEventWireup="true" CodeBehind="customer_addedit.aspx.cs" Inherits="bps.bps.customer_addedit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


     <asp:HiddenField runat="server" ID="hf_oldprice" />
         

    <script src="../javascript/layer/layer.js"></script>

   
 

     <style>
        table.add th {
         font-weight:normal; text-align:right
        }
    </style> 


     
       
     

             <asp:Panel runat="server" ID="pnl_rotate">

            
                 <table class="table add table-condensed" style=""  >
                     
                          <tr>
                                <th  width="150px" > 客户号 <font color=red>*</font>：</th>
                                <td  >
                                   
                                    <asp:TextBox class="form-control"   ValidationGroup="Add" ID="customercode" Text=""  runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ValidationGroup="Add"
                                         ForeColor="Red"
                                         ID="RequiredFieldValidator1" runat="server" ErrorMessage="必须填写客户号" ControlToValidate="customercode" Display="Dynamic"></asp:RequiredFieldValidator>
                                </td>
                            
                            <th width="120px"> 客户名称 <font color=red>*</font>:</th>
                            <td  >
                            <asp:TextBox id="name" Runat="Server"     class="form-control"  ValidationGroup="Add"></asp:TextBox>
                                     <asp:RequiredFieldValidator ValidationGroup="Add"
                                         ForeColor="Red"
                                         ID="RequiredFieldValidator3" runat="server" ErrorMessage="必须填写客户号" ControlToValidate="name" Display="Dynamic"></asp:RequiredFieldValidator>

 
                               </td> 

                        </tr>





                     
                            
<tr> 
      <th>
               城市
                              </th>
                              <td>
                                   <asp:TextBox id="city" Runat="Server"     class="form-control"   ></asp:TextBox>
                              </td>
 
<th>国家:</th>
<td>
<asp:TextBox id="country" Runat="Server"     class="form-control"  ></asp:TextBox>
 
</td>

    </tr>





  <tr>
  <th>地址  :

</th>
<td colspan="3">
<asp:TextBox id="address" Runat="Server"     class="form-control  "  ValidationGroup="Add"></asp:TextBox>  
</tr>



 <tr>
     
                            <th  > 联系电话 :</th>
                            <td  >
                              
                                <asp:TextBox runat="server"   class="form-control  " ID="contactmobile"></asp:TextBox>
                         </td>
                        


                               
                         
                            <th  > 联系邮件 :</th>
                            <td  > 
                                <asp:TextBox runat="server"  class="form-control  " ID="contactemail"></asp:TextBox>
                             </td>
 </tr>



                        <tr>
         <td style="background-color:#f5f5f5" colspan="4">
             
         </td>
     </tr>








                           <tr>

                            <th  > 银行账户 :</th>
                            <td  >
                              
                                <asp:TextBox runat="server"  class="form-control  " ID="bankaccount"></asp:TextBox>
                         </td>
                        

   <th  >  支付方式 :</th>
                            <td  >
                              
                                <asp:TextBox runat="server"  class="form-control  " ID="paytype"></asp:TextBox>
                         </td>
                        
                           
                         
                        </tr>









                          
 <tr>

                                <td colspan="4" style="text-align:center">
                                    <asp:Button ID="btn_add" runat="server" Text="添加"  ValidationGroup="Add" 
                                        class="btn btn-primary btn-flat btn-sm " onclick="btn_add_Click" />
 

                                          <asp:button  Text="更 新" CssClass="btn btn-success btn-sm" runat=server ID="edit"  ValidationGroup="Add"    class="btn-flat btn-sm  btn   bg-green" 
                   onclick="edit_Click" />

                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

                 <asp:button  Text="删 除" OnClientClick="return confirm('确定删除吗？')" runat=server ID="delete"   CausesValidation="false"   class="  btn btn-danger btn-flat btn-sm" 
                   onclick="delete_Click" />
               

                                   
                                     

                                 </td>
                            </tr> 
                         
                         
                          
                    </table>
                 

            
         </asp:Panel>



 


   

     




     <input type="hidden" name="hf_ids" id="hf_ids" />







         


</asp:Content>
