<%@ Page Language="C#" MasterPageFile="~/SpmisMaster.Master" AutoEventWireup="true"
    CodeBehind="OpportunityWaitClose.aspx.cs" Inherits="Web.crm.opportunity.OpportunityWaitClose"
    Theme="Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table align="center" class="TableBorder" bordercolor="#e6e6e6" cellspacing="0" cellpadding="3"
        border="1" style="width: 544px;">
        <tr class="AlterColor">
            <td align="right" colspan="2" bgcolor="#e6e6e6" style="height: 24px">
                <p align="center">
                    <b>销售机会结束</b>
            </td>
        </tr>
        <tr class="AlterColor">
            <td align="right" class="st12pt">
                <span class="st12pt" style="width: 156px">机会主题：</span>
            </td>
            <td align="left" class="st12pt">
                <asp:Label ID="lblTopic" runat="server"></asp:Label><span class="st12pt" style="width: 156px;"></span>
            </td>
        </tr>
        <tr>
            <td align="right" class="st12pt">
                <span class="st12pt" style="width: 156px">客户名称：</span>
            </td>
            <td align="left" class="st12pt">
                <asp:Label ID="lblCustomerName" runat="server"></asp:Label><span class="st12pt" style="width: 156px"></span>
            </td>
        </tr>
        <tr>
            <td align="right" class="st12pt">
                状态：</td>
            <td align="left" class="st12pt">
                <asp:RadioButtonList ID="rdoOpportState" runat="server" 
                    RepeatDirection="Horizontal" RepeatLayout="Flow">
                    <asp:ListItem Selected="True" Value="3">成功</asp:ListItem>
                    <asp:ListItem Value="4">失败</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right" class="st12pt">
                <span style="color: #ff3300">*</span>原因：
            </td>
            <td align="left" class="st12pt">
            <div style="float:left">
                <asp:TextBox ID="txtReason" runat="server" Width="200px" Height="50px" TextMode="MultiLine"></asp:TextBox>
                </div>
                <div style="float:left; padding-left:12px">
                <a onclick='selectText("短期无意向")' href="javascript:void(0)"> 1.短期无意向</a> 
                <a onclick='selectText("选择对手")' href="javascript:void(0)"> 2.选择对手</a> <br />
                <a onclick='selectText("代理客户")' href="javascript:void(0)"> 3.代理客户</a> 
                <a onclick='selectText("功能不符")' href="javascript:void(0)"> 4.功能不符</a> <br />
                <a onclick='selectText("价格不合")' href="javascript:void(0)"> 5.价格不合</a> <br />
                </div>
                <script type="text/javascript">
                function selectText(value)
                {
                   document.getElementById('<%=txtReason.ClientID %>').value = value;
                }
                </script>
            </td>            
        </tr>
        <tr>
            <td align="center" valign="top" class="st12pt" colspan="2">
                <asp:Button ID="btnSave" runat="server" Text="确定" Width="65px" OnClick="btnSave_Click" />&nbsp;
                <asp:Button ID="btnCannel" runat="server" Text="取 消" Width="65px" OnClientClick="window.close();return false;" />
            </td>
        </tr>
    </table>
</asp:Content>
