天津投入产出系统后端
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.
 
 
 
 
 
 

60 lines
2.1 KiB

<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Stocktaking.CountingdetailViewModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
test
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%=Html.QPList() %>
<%=Html.QDateGrid<QMAPP.FJC.Web.Models.Stocktaking.CountingdetailViewModel>(Model)%>
<%=Html.QPEnd() %>
<%=Html.HiddenFor(p =>p.PLANID) %>
<%=Html.HiddenFor(p => p.FACTORY_CODE)%>
<%=Html.HiddenFor(p => p.PLAN_DATE)%>
<%=Html.HiddenFor(p => p.PLAN_STATE)%>
<%=Html.HiddenFor(p => p.REMARK)%>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<%=Html.QTButtonAdd("Stocktating", "Add", "Add()", QMAPP.Common.Web.SystemLimit.isLimt)%>
<%--<%=Html.QTButtonBack("close", "FactoryList", "parent.closeAppWindow1();return false;")%> --%>
</td>
</tr>
</table>
<script type="text/javascript">
function Save() {
if (isValidate() == false) {
return false;
}
submitByButton("Save");
}
//添加
function Add() {
var PLANID = document.getElementById("PLANID").value;
var FACTORY_CODE = document.getElementById("FACTORY_CODE").value;
var PLAN_DATE = document.getElementById("PLAN_DATE").value;
var PLAN_STATE = document.getElementById("PLAN_STATE").value;
var REMARK = document.getElementById("REMARK").value;
if (PLANID != "") {
parent.submitByButton('SubEditWin?PLANID=' + PLANID + '&FACTORY_CODE=' + FACTORY_CODE + '&PLAN_DATE=' + PLAN_DATE + '&PLAN_STATE=' + PLAN_STATE + '&REMARK=' + REMARK);
} else {
alert('无盘点计划信息,请添加盘点计划信息!');
}
}
</script>
</asp:Content>