<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage<QMAPP.Web.Models.Sys.SearchSIModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	支持交互
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <%=Html.QPSeach(80,true) %>
     <table id="condiTable">
       <tr> 
           <th align="right"><%=Html.QV(p=>p.Shkey) %></th>
           <td><%=Html.QC(p => p.Shkey)%></td>
       </tr>
   </table>

    <%=Html.QPEnd()%>
    <%=Html.QPList() %>
    <%=Html.QDateGrid<QMAPP.Web.Models.Sys.SearchSIModel>(Model)%>
    <%=Html.QPEnd() %>
    <%=Html.Hidden("selectKey")%>
    <script language="javascript" type="text/javascript">
        function setHandle() {
            var ids = getSelectKey();
            if (ids == "") {
                MSI("提示", "请选择参照记录。");
                return;
            }
            if (ids.indexOf(":") > 0) {
                MSI("提示", "每次只能修改一条记录。");
                return;
            }
            parent.setSelectHandle($('#QDateGrid').datagrid('getSelected').Solve);
            parent.closeAppWindow1();
        }
    </script>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table id="EditTable" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <%=Html.QTButtonSearch("SupportInteraction", "SupportInteractionList", "List(1)")%>            
                <%=Html.QTButton("ok", "save", QMFrameWork.WebUI.IconCls.save, "setHandle()", (s, f) => { return true; })%> 
                <%=Html.QTButton("help", "", "help", "SysHelp('Support030000','SupportInteractionModel');", (s, f) => { return true; })%>       
            </td>
        </tr>
    </table>
</asp:Content>