xusc 11 months ago
parent
commit
1f3335ba36
  1. 1
      WMS-BS/NFine.Application/OMAY/OMAYApsApp.cs
  2. 4
      WMS-BS/NFine.Web/Areas/OMAY/Views/Aps/MoProducePlan.cshtml

1
WMS-BS/NFine.Application/OMAY/OMAYApsApp.cs

@ -37,6 +37,7 @@ select '' isSelect
,a.MOCode ,a.MOCode
,a.Sequence MoSeq ,a.Sequence MoSeq
,a.MODetailID ,a.MODetailID
,a.EATTRIBUTE1 MoTypeValue
,a.DepCode ,a.DepCode
,b.DepName -- ,b.DepName --
,a.CreateDateTime -- ,a.CreateDateTime --

4
WMS-BS/NFine.Web/Areas/OMAY/Views/Aps/MoProducePlan.cshtml

@ -129,6 +129,7 @@
{ label: '业务员', name: 'BusinessName', width: 100, align: 'left' }, { label: '业务员', name: 'BusinessName', width: 100, align: 'left' },
{ label: '工单', name: 'MOCode', width: 100, align: 'left' }, { label: '工单', name: 'MOCode', width: 100, align: 'left' },
{ label: '工单行', name: 'MoSeq', width: 100, align: 'left' }, { label: '工单行', name: 'MoSeq', width: 100, align: 'left' },
{ label: '工单类型', name: 'MoTypeValue', hidden: true, width: 100, align: 'left' },
{ label: '部门', name: 'DepName', width: 100, align: 'left' }, { label: '部门', name: 'DepName', width: 100, align: 'left' },
{ label: '生产日期', name: 'CreateDateTime', width: 150, align: 'left' }, { label: '生产日期', name: 'CreateDateTime', width: 150, align: 'left' },
{ label: '包装要求', name: 'PackageAsk', width: 100, align: 'left' }, { label: '包装要求', name: 'PackageAsk', width: 100, align: 'left' },
@ -375,11 +376,12 @@
MOCode = $("#gridList").jqGrid('getRowData', ids[i]).MOCode; MOCode = $("#gridList").jqGrid('getRowData', ids[i]).MOCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).MoSeq; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).MoSeq;
InvCode = $("#gridList").jqGrid('getRowData', ids[i]).ItemCode; InvCode = $("#gridList").jqGrid('getRowData', ids[i]).ItemCode;
MoTypeValue = $("#gridList").jqGrid('getRowData', ids[i]).MoTypeValue;
} }
$.modalOpen({ $.modalOpen({
id: "FormAddItemLot", id: "FormAddItemLot",
title: "成品条码产生", title: "成品条码产生",
url: "/OMAY/ICSMoCreateLot/From?MOCode=" + encodeURI(encodeURI(MOCode)) + "&Sequence=" + Sequence + "&InvCode=" + InvCode + "&Type=" + 3 + "&MODetailID=" + MODetailID + "&" + Math.random(),
url: "/OMAY/ICSMoCreateLot/From?MOCode=" + encodeURI(encodeURI(MOCode)) + "&Sequence=" + Sequence + "&InvCode=" + InvCode + "&Type=" + 3 + "&MODetailID=" + MODetailID + "&MoTypeValue=" + MoTypeValue + "&" + Math.random(),
width: "550px", width: "550px",
height: "1000px", height: "1000px",
callBack: function (iframeId) { callBack: function (iframeId) {

Loading…
Cancel
Save