<%@ page language="C#" autoeventwireup="true" inherits="Admin_GoodsManagement_SaveToCsv, ShopWe" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>导出数据</title>
    <link href="../css/my.css" rel="stylesheet" type="text/css" />
    <link href="../css/volti.css" rel="stylesheet" type="text/css" />

    <script src="../css/admin.js" type="text/javascript"></script>

    <script type="text/javascript">
/*第一种形式 第二种形式 更换显示样式*/
function setTab(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var con=document.getElementById("con_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  con.style.display=i==cursel?"block":"none";
 }
}
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div class="aj">
            <ul>
                <li id="two1" onclick="setTab('two',1,4)" class="hover" style="cursor: pointer">导出到ShopWe</li>
                <li id="two2" onclick="setTab('two',2,4)" style="cursor: pointer">导出到淘宝</li>
                <li id="two3" onclick="setTab('two',3,4)" style="cursor: pointer">导出到易趣</li>
                <li id="two4" onclick="setTab('two',4,4)" style="cursor: pointer">导出到拍拍</li>
            </ul>
        </div>
        <div id="con_two_1">
            <div class="all">
                <div class="come_title">
                    <h2>
                        导出到ShopWe</h2>
                    <div class="title_help">
                        <a href="#">
                            <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
                </div>
                <div class="k_all6">
                    <div class="ys_bf">
                        <p>
                            1.导出的文件为CSV逗号分割文件，可以使用任何编辑器编辑，例如记事本，或Excel</p>
                        <p>
                            2.直接导出到ShopWe不需要填写任何项，直接点击按钮即可</p>
                        <p>
                            3.如果点击导出没有出现下载程序，请换个浏览器在试试</p>
                    </div>
                </div>
                <div class="sub">
                    <asp:Button ID="SubmitShopWe" runat="server" Text="导出到ShopWe" CssClass="but_add" OnClick="SubmitShopWe_Click" />
                </div>
            </div>
        </div>
        <div id="con_two_2" style="display: none">
            <div class="all">
                <div class="come_title">
                    <h2>
                        导出到淘宝</h2>
                    <div class="title_help">
                        <a href="#">
                            <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
                </div>
                <div class="k_all6">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px; height: 36px;">
                                出价方式：
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList5" runat="server" Width="150px" Height="20" CssClass="input">
                                    <asp:ListItem Value="b">一口价</asp:ListItem>
                                    <asp:ListItem Value="a">拍卖</asp:ListItem>
                                    <asp:ListItem Value="c">团购</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; height: 36px;">
                                团购价格：
                            </td>
                            <td>
                                <asp:TextBox ID="IntegratePurchase" runat="server" Text="0" Width="142px" Height="20"
                                    CssClass="input"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; height: 36px;">
                                团购最少数量：
                            </td>
                            <td>
                                <asp:TextBox ID="IntegratePurchaseNumber" runat="server" Text="0" Width="142px" Height="20"
                                    CssClass="input"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; height: 36px;">
                                加价幅度：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox3" runat="server" Text="1" Width="142px" Height="20" CssClass="input"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; height: 36px;">
                                新旧程度：
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList6" runat="server" Width="150px" Height="20" CssClass="input">
                                    <asp:ListItem Value="5">全新</asp:ListItem>
                                    <asp:ListItem Value="6">二手</asp:ListItem>
                                    <asp:ListItem Value="8">闲置</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; height: 36px;">
                                有效日期：
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList7" runat="server" Width="150px" Height="20" CssClass="input">
                                    <asp:ListItem Value="7">7天</asp:ListItem>
                                    <asp:ListItem Value="14">14天</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                运费承担：
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList8" runat="server" Width="150px" Height="20" CssClass="input">
                                    <asp:ListItem Value="1">买家承担</asp:ListItem>
                                    <asp:ListItem Value="2">卖家承担</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr id="UrlId">
                            <td class="bg_1" style="text-align: right; height: 36px;">
                                付款方式：
                            </td>
                            <td>
                                <asp:DropDownList ID="Payment" runat="server" Width="150px" Height="20" CssClass="input">
                                    <asp:ListItem Value="0">款到发货</asp:ListItem>
                                    <asp:ListItem Value="1">货到付款</asp:ListItem>
                                    <asp:ListItem Value="2">见宝贝描述</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                支持支付宝：
                            </td>
                            <td>
                                <asp:CheckBox ID="HoldOutAlipai" runat="server" /><span style="color: #333333">支持</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                平邮：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox4" runat="server" Text="0" Width="142px" Height="20" CssClass="input"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                EMS：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox5" runat="server" Text="0" Width="142px" Height="20" CssClass="input"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                快递：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox6" runat="server" Text="0" Width="142px" Height="20" CssClass="input"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                其他：
                            </td>
                            <td>
                                <span style="color: #333333">
                                    <asp:CheckBox ID="CheckBox1" runat="server" />有发票&nbsp;&nbsp;&nbsp;<asp:CheckBox
                                        ID="CheckBox2" runat="server" />有保修&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="CheckBox3"
                                            runat="server" />自动重发&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="CheckBox4" runat="server" />放入仓库&nbsp;&nbsp;&nbsp;<asp:CheckBox
                                                ID="CheckBox5" runat="server" />橱窗推荐&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="Discount"
                                                    runat="server" />参与会员打折 </span>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="sub">
                <asp:Button ID="SubmitTaobao" runat="server" Text="导出到淘宝" CssClass="but_add" OnClick="SubmitTaobao_Click" />
            </div>
        </div>
        <div id="con_two_3" style="display: none">
            <div class="all">
                <div class="come_title">
                    <h2>
                        导出到易趣</h2>
                    <div class="title_help">
                        <a href="#">
                            <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
                </div>
                <div class="k_all6">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                出价方式：
                            </td>
                            <td>
                                <asp:DropDownList ID="SaleType" runat="server" Width="150px" Height="20" CssClass="input">
                                    <asp:ListItem Value="2">一口价</asp:ListItem>
                                    <asp:ListItem Value="1">竞标</asp:ListItem>
                                    <asp:ListItem Value="3">仓储式</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                起拍价：
                            </td>
                            <td>
                                <asp:TextBox ID="StartPrice" runat="server" Text="1" CssClass="input" Width="142px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                新旧程度：
                            </td>
                            <td>
                                <asp:DropDownList ID="NewOrOld" runat="server" Width="150px" Height="20" CssClass="input">
                                    <asp:ListItem Value="1">全新</asp:ListItem>
                                    <asp:ListItem Value="2">二手</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                有效日期：
                            </td>
                            <td>
                                <asp:DropDownList ID="PeriodOfValidity" runat="server" CssClass="input" Width="150px">
                                    <asp:ListItem>1天</asp:ListItem>
                                    <asp:ListItem>3天</asp:ListItem>
                                    <asp:ListItem>5天</asp:ListItem>
                                    <asp:ListItem>7天</asp:ListItem>
                                    <asp:ListItem>10天</asp:ListItem>
                                    <asp:ListItem>14天</asp:ListItem>
                                    <asp:ListItem Value="30">30天(仓储式才选)</asp:ListItem>
                                    <asp:ListItem Value="90">90天(仓储式才选)</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                运费承担：
                            </td>
                            <td>
                                <asp:DropDownList ID="Freight" runat="server" Width="150px" Height="20" CssClass="input">
                                    <asp:ListItem Value="1">买家承担</asp:ListItem>
                                    <asp:ListItem Value="2">卖家承担</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                支持安付通：
                            </td>
                            <td>
                                <asp:CheckBox ID="HoldOutPaypal" runat="server" /><span style="color: #333333">支持</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                平邮：
                            </td>
                            <td>
                                <asp:TextBox ID="PostFee" runat="server" Text="0" CssClass="input" Width="142px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                快递：
                            </td>
                            <td>
                                <asp:TextBox ID="ExpressFee" runat="server" Text="0" CssClass="input" Width="142px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                同城快递：
                            </td>
                            <td>
                                <asp:TextBox ID="CityExpressFee" runat="server" Text="0" CssClass="input" Width="142px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                异地快递：
                            </td>
                            <td>
                                <asp:TextBox ID="NoCityExpressFee" runat="server" Text="0" CssClass="input" Width="142px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                EMS：
                            </td>
                            <td>
                                <asp:TextBox ID="EmsFee" runat="server" Text="0" CssClass="input" Width="142px"></asp:TextBox></td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                其他：
                            </td>
                            <td>
                                <asp:CheckBox ID="ExchangeGoods" runat="server" /><span style="color: #333333">退换货服务</span>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="sub">
                <asp:Button ID="SubmitEbay" runat="server" Text="导出到易趣" CssClass="but_add" OnClick="SubmitEbay_Click" />
            </div>
        </div>
        <div id="con_two_4" style="display: none">
            <div class="all">
                <div class="come_title">
                    <h2>
                        导出到拍拍</h2>
                    <div class="title_help">
                        <a href="#">
                            <img src="../Themes/Default/Images/help.jpg" alt="shopwe帮助中心" width="50" height="20" /></a></div>
                </div>
                <div class="k_all6">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px; height: 36px;">
                                出价方式：
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList1" runat="server" Width="150px" Height="20" CssClass="input">
                                    <asp:ListItem Value="b">一口价</asp:ListItem>
                                    <asp:ListItem Value="a">拍卖</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; height: 36px;">
                                加价幅度：
                            </td>
                            <td>
                                <asp:TextBox ID="PriceMarkup" runat="server" Text="1" Width="142px" CssClass="input"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; height: 36px;">
                                新旧程度：
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList2" runat="server" Width="150" Height="20" CssClass="input">
                                    <asp:ListItem Value="5">全新</asp:ListItem>
                                    <asp:ListItem Value="6">二手</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; height: 36px;">
                                有效日期：
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList3" runat="server" Width="150" Height="20" CssClass="input">
                                    <asp:ListItem Value="7">7天</asp:ListItem>
                                    <asp:ListItem Value="14">14天</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                运费承担：
                            </td>
                            <td>
                                <asp:DropDownList ID="DropDownList4" runat="server" Width="150" Height="20" CssClass="input">
                                    <asp:ListItem Value="1">买家承担</asp:ListItem>
                                    <asp:ListItem Value="2">卖家承担</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                支持财付通：
                            </td>
                            <td>
                                <asp:CheckBox ID="HoldOutTenpay" runat="server" /><span style="color: #333333">支持</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                平邮：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox1" runat="server" Text="0" Width="142px" CssClass="input"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                快递：
                            </td>
                            <td>
                                <asp:TextBox ID="TextBox2" runat="server" Text="0" Width="142px" CssClass="input"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="bg_1" style="text-align: right; width: 90px;">
                                其他：
                            </td>
                            <td>
                                <span style="color: #333333">
                                    <asp:CheckBox ID="invoice" runat="server" />发票 &nbsp;&nbsp;&nbsp;<asp:CheckBox ID="repair"
                                        runat="server" />有保修&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="Again" runat="server" />自动重发&nbsp;&nbsp;&nbsp;<asp:CheckBox
                                            ID="PutStock" runat="server" />上架销售&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="Commend" runat="server" />店铺推荐&nbsp;&nbsp;&nbsp;<asp:CheckBox
                                                ID="COD" runat="server" />货到付款</span>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="sub">
                <asp:Button ID="SubmitPaipai" runat="server" Text="导出到拍拍" CssClass="but_add" OnClick="SubmitPaipai_Click" />
            </div>
        </div>
    </form>
</body>
</html>
