LR-20210131IOQH\Administrator
2021-09-17 8d824926bbb3346eb1046b9f1ab8d95b6a60ba17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CorporateClientsMerger.aspx.cs" Inherits="CY.WebForm.Pages.business.CorporateClientsMerger" %>
 
<!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>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <style type="text/css">
        label{ cursor:pointer;}
    </style>
    <script type="text/javascript">
        $(function () {
            $("input[name='CustomChange']").click(function () {
                $(".CustomName").each(function (ii, vv) {
                    $(vv).text($(vv).text().replace("(主客户)", "").replace("(副客户)", ""));
                });
                $(".CustomName[value_yes='" + $(this).attr("value_yes") + "']").text($(".CustomName[value_yes='" + $(this).attr("value_yes") + "']").text() + "(主客户)");
                $(".CustomName[value_yes='" + $(this).attr("value_no") + "']").text($(".CustomName[value_yes='" + $(this).attr("value_no") + "']").text() + "(副客户)");
            });
            $("input[name='CustomChange']").first().click();
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div style=" width:100%; float:left; margin:0px auto;">
        <div style=" width:98%; margin:10px auto;">
            1.合并客户非常重要,请仔细确认是否合并。<br />
            2.合并客户之后,资料以及询价设置将采用主客户的数据。副客户的 订单,客户预付款,访问记录都会合并到主客户之下。预付款,授信,订单数,订单金额则会被累加。<br />
            3.两个线上客户不能合并,一个线上客户及一个线下客户 或 两个线下客户均可合并。<br />
            4.一个线上客户及一个线下客户合并,将默认线上客户为主客户且不可更改。<br />
            5.合并之后副客户的资料 将会被删除。
        </div>
        <table class="tableStyle" style=" width:48%; float:left;">
            <tr>
                <th><label><input type="radio" value="one" value_yes="one" value_no="two" id="CustomChangeOne" runat="server" name="CustomChange" /></label><label id="CustomNameOne" runat="server" value_yes="one" value_no="two" class="CustomName" for="CustomChangeOne"></label></th>
            </tr>
            <tr>
                <td>法人代表:<span id="spanLegalRepresentativeOne" runat="server"></span></td>
            </tr>
            <tr>
                <td>联系电话:<span id="spanPhoneNumOne" runat="server"></span></td>
            </tr>
            <tr>
                <td><div style=" float:left;">详细地址:</div><div id="divAddressOne" runat="server" style=" width:160px;word-wrap: break-word;float:left;"></div></td>
            </tr>
        </table>
        <table class="tableStyle" style=" width:48%; float:right;">
            <tr>
                <th><label><input type="radio" value="two" value_yes="two" value_no="one" id="CustomChangeTwo" runat="server" name="CustomChange" /></label><label id="CustomNameTwo" runat="server" value_yes="two" value_no="one" class="CustomName" for="CustomChangeTwo"> </label></th>
            </tr>
            <tr>
                <td>法人代表:<span id="spanLegalRepresentativeTwo" runat="server"></span></td>
            </tr>
            <tr>
                <td>联系电话:<span id="spanPhoneNumTwo" runat="server"></span></td>
            </tr>
            <tr>
                <td><div style=" float:left;">详细地址:</div><div id="divAddressTwo" runat="server" style=" width:160px;word-wrap: break-word;float:left;"></div></td>
            </tr>
        </table>
         <div style=" width:98%; margin:10px auto; text-align:center; float:left;">
            <asp:Button ID="btn_Submit" Text="合并" runat="server" OnClick="btn_Submit_form" />
         </div>
    </div>
    </form>
</body>
</html>