<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master" Inherits="System.Web.Mvc.ViewPage" %> 仪表板订单计划信息编辑 <%=Html.QPEdit("信息", string.IsNullOrEmpty(Model.PID) ? QMFrameWork.WebUI.panelType.Add : QMFrameWork.WebUI.panelType.Update)%> <% var editable = false; if (string.IsNullOrEmpty(Model.PLAN_STATE) || string.Equals(Model.PLAN_STATE, "0")) { editable = true; } %>
<%----%>
<%=Html.QV(p => p.PLAN_DATE)%> <%=Html.QC(p => p.PLAN_DATE)%> <%--" type="text" class="easyui-datebox" required="required" <%=editable?"":"readonly =\"readonly\"" %> />--%>
*顺序号 />
<%=Html.QV(p => p.PLAN_NO)%> <%=Html.QC(p => p.PLAN_NO, new { Readonly ="readonly"})%> <%if (editable) {%> <%} %>
<%=Html.QV(p => p.MATERIAL_CODE)%> <%=Html.QC(p => p.MATERIAL_CODE,editable?null:new{Readonly="readonly"})%>
<%=Html.QV(p => p.QTY)%> <%=Html.QC(p => p.QTY)%>
<%=Html.QV(p => p.SHIFT_CODE)%> <%=Html.QC(p => p.SHIFT_CODE)%>
<%=Html.QV(p => p.PRODUCEREQUIRE)%> <%=Html.QC(p => p.PRODUCEREQUIRE)%>
<%-- <%--
<%-- <%--
<%=Html.QV(p => p.REMARK)%> <%=Html.QC(p => p.REMARK)%>
<%=Html.HiddenFor(p=>p.PID) %> <%=Html.HiddenFor(p=>p.WORKCENTER_CODE) %> <%=Html.HiddenFor(p=>p.CREATEDATE) %> <%=Html.HiddenFor(p=>p.CREATEUSER) %> <%=Html.HiddenFor(p=>p.UPDATEDATE)%> <%=Html.HiddenFor(p=>p.UPDATEUSER) %> <%=Html.HiddenFor(p=>p.COMPLETE_QTY) %> <%--<%=//Html.HiddenFor(p => p.PLAN_SEQ)%>--%> <%=Html.HiddenFor(p => p.PLAN_STATE)%> <%=Html.HiddenFor(p => p.FACTORY_CODE)%> <%=Html.HiddenFor(p => p.ORDER_TYPE)%> <%=Html.HiddenFor(p => p.ROUTE_CODE)%> <%=Html.HiddenFor(p => p.PBOM_CODE)%> <%=Html.HiddenFor(p => p.PLAN_NO)%> <%=Html.HiddenFor(p => p.FACTORY_CODE)%> <%=Html.Hidden("PLANSOURCE",1)%> <%=Html.QPEnd() %>
<%=Html.QTButtonSave("User", "Save", "return Save();")%> <%=Html.QTButtonBack("close", "DashBoardPlanList", "parent.closeAppWindow1();return false;")%>