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.
115 lines
4.0 KiB
115 lines
4.0 KiB
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AppMaster.Master"
|
|
Inherits="System.Web.Mvc.ViewPage<QMAPP.FJC.Web.Models.Basic.BomDetailModel>" %>
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|
Bom明细添加
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|
<%=Html.QPEdit("Bom明细添加", string.IsNullOrEmpty(Model.PID) ? QMFrameWork.WebUI.panelType.Add : QMFrameWork.WebUI.panelType.Update)%>
|
|
<table id="editTable" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.MATERIAL_CODE)%>
|
|
</th>
|
|
<td disabled="true">
|
|
<%=Html.QC(p => p.MATERIAL_CODE)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.ITEM_CODE)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.ITEM_CODE)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.MATERIAL_LAYER)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.MATERIAL_LAYER)%>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.IS_ASSY)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.IS_ASSY)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.UNIT_CODE)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.UNIT_CODE)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.ITEM_QTY)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.ITEM_QTY)%>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th align="right">
|
|
<%=Html.QV(p => p.REMARK)%>
|
|
</th>
|
|
<td>
|
|
<%=Html.QC(p => p.REMARK)%>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<%=Html.HiddenFor(p => p.PID)%>
|
|
<%=Html.HiddenFor(p => p.FLAGDEL)%>
|
|
<%=Html.HiddenFor(p => p.BOM_HDR_PID)%>
|
|
<%=Html.HiddenFor(p => p.MATERIAL_CODE)%>
|
|
<%=Html.HiddenFor(p => p.CREATEDATE)%>
|
|
<%=Html.HiddenFor(p => p.CREATEUSR)%>
|
|
<%=Html.HiddenFor(p => p.UPDATEDATE)%>
|
|
<%=Html.HiddenFor(p => p.UPDATEUSR)%>
|
|
<%=Html.QPEnd() %>
|
|
<script type="text/javascript">
|
|
function Save() {
|
|
var BOMGROUPID = $("#BOMGROUPID").val();
|
|
var PRODUCTQUANTITY = $("#PRODUCTQUANTITY").val();
|
|
if (isValidate() == false) {
|
|
return false;
|
|
}
|
|
if (PRODUCTQUANTITY == 0) {
|
|
MSI("提示", "零件数量不能为0!");
|
|
return false;
|
|
}
|
|
submitByButton("BomHdrConfigSave?BOMGROUPID=" + BOMGROUPID);
|
|
}
|
|
</script>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="ToolContent" runat="server">
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr>
|
|
<td>
|
|
<%=Html.QTButtonSave("BomHdr", "BomHdrConfigSave", "return Save();")%>
|
|
<%=Html.QTButtonBack("close", "BomHdrConfig", "parent.closeAppWindow1();return false;")%>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</asp:Content>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|