You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
2.8 KiB
91 lines
2.8 KiB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.FIS.FISAssemblyModel>" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|
FIS短语字典绑定
|
|
</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.CarModel)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.CarModel)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.ProjectCode)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.ProjectCode)%>
|
|
</td>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.AsmSetCode)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.AsmSetCode)%>
|
|
</td>
|
|
<th align="right">
|
|
|
|
</th>
|
|
<td>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<%=Html.QPEnd()%>
|
|
<%=Html.QPList() %>
|
|
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.FIS.FISAssemblyModel>(Model)%>
|
|
<%=Html.QPEnd() %>
|
|
<%=Html.Hidden("selectKey")%>
|
|
<%=Html.Hidden("fileName") %>
|
|
<script language="javascript" type="text/javascript">
|
|
$(function ()
|
|
{
|
|
List(1);
|
|
});
|
|
|
|
//修改
|
|
function Edit() {
|
|
debugger;
|
|
var selected = $('#QDateGrid').datagrid("getSelected");
|
|
if (!selected)
|
|
{
|
|
|
|
MSI("提示", "请选择修改记录。");
|
|
return;
|
|
}
|
|
document.getElementById("selectKey").value = selected.Id;
|
|
|
|
openAppWindow1('修改', 'Edit?PID=' + selected.Id, '600', '300');
|
|
}
|
|
|
|
//查询
|
|
function Search() {
|
|
if (parseDate($("#ONLINETIMESTART").val()) > parseDate($("#ONLINETIMEEND").val())) {
|
|
alert("开始时间不能大于结束时间!");
|
|
return;
|
|
}
|
|
List(1)
|
|
}
|
|
|
|
function Sync() {
|
|
submitByButton("Sync");
|
|
}
|
|
|
|
</script>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
|
|
<table cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td align="center">
|
|
<%=Html.QTButtonSearch("FISPhrase", "List", "Search()", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
|
<%=Html.QTButtonUpdate("FISPhrase", "Edit", "Edit()", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
|
<%=Html.QTButton("Sync", "Sync","reset", "Sync()", QMAPP.Common.Web.SystemLimit.isLimt)%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</asp:Content>
|