Browse Source

委外拒收单生成条码

master
parent
commit
4765cad433
  1. 51
      WMS-BS/NFine.Web/Areas/WMS/Views/WMSCreateItemLot/CreateItemLot.cshtml

51
WMS-BS/NFine.Web/Areas/WMS/Views/WMSCreateItemLot/CreateItemLot.cshtml

@ -1822,8 +1822,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '2') {
} else if (Type == '2') {
for (var i in ids) { for (var i in ids) {
OApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).OApplyNegCode; OApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).OApplyNegCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -1838,8 +1837,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '3') {
} else if (Type == '3') {
for (var i in ids) { for (var i in ids) {
MOCode = $("#gridList").jqGrid('getRowData', ids[i]).MOCode; MOCode = $("#gridList").jqGrid('getRowData', ids[i]).MOCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -1854,8 +1852,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '4') {
} else if (Type == '4') {
for (var i in ids) { for (var i in ids) {
SDNCode = $("#gridList").jqGrid('getRowData', ids[i]).SDNCode; SDNCode = $("#gridList").jqGrid('getRowData', ids[i]).SDNCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -1870,8 +1867,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '5') {
} else if (Type == '5') {
for (var i in ids) { for (var i in ids) {
InCode = $("#gridList").jqGrid('getRowData', ids[i]).InCode; InCode = $("#gridList").jqGrid('getRowData', ids[i]).InCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -1886,8 +1882,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '6') {
} else if (Type == '6') {
for (var i in ids) { for (var i in ids) {
ReturnCode = $("#gridList").jqGrid('getRowData', ids[i]).ReturnCode; ReturnCode = $("#gridList").jqGrid('getRowData', ids[i]).ReturnCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -1902,8 +1897,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '7') {
} else if (Type == '7') {
for (var i in ids) { for (var i in ids) {
DNCode = $("#gridList").jqGrid('getRowData', ids[i]).DNCode; DNCode = $("#gridList").jqGrid('getRowData', ids[i]).DNCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -1918,8 +1912,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '8') {
} else if (Type == '8') {
for (var i in ids) { for (var i in ids) {
ODNCode = $("#gridList").jqGrid('getRowData', ids[i]).ODNCode; ODNCode = $("#gridList").jqGrid('getRowData', ids[i]).ODNCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -1934,8 +1927,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '9') {
} else if (Type == '9') {
for (var i in ids) { for (var i in ids) {
RCVCode = $("#gridList").jqGrid('getRowData', ids[i]).RCVCode; RCVCode = $("#gridList").jqGrid('getRowData', ids[i]).RCVCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -1950,9 +1942,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '10') {
} else if (Type == '10') {
for (var i in ids) { for (var i in ids) {
DNCode = $("#gridList").jqGrid('getRowData', ids[i]).DNCode; DNCode = $("#gridList").jqGrid('getRowData', ids[i]).DNCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -1967,13 +1957,10 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '11') {
} else if (Type == '11') {
for (var i in ids) { for (var i in ids) {
ODNCode = $("#gridList").jqGrid('getRowData', ids[i]).ODNCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
ODNCode = $("#gridList").jqGrid('getRowData', ids[i]).OOCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).OOSequence;
} }
$.modalOpen({ $.modalOpen({
id: "FormAddItemLot", id: "FormAddItemLot",
@ -1985,9 +1972,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '12') {
} else if (Type == '12') {
for (var i in ids) { for (var i in ids) {
LLApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).ApplyNegCode; LLApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).ApplyNegCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -2002,8 +1987,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '13') {
} else if (Type == '13') {
for (var i in ids) { for (var i in ids) {
CLApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).ApplyNegCode; CLApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).ApplyNegCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -2018,9 +2002,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '14') {
} else if (Type == '14') {
for (var i in ids) { for (var i in ids) {
WWLLOApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).OApplyNegCode; WWLLOApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).OApplyNegCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -2035,8 +2017,7 @@
top.frames[iframeId].submitForm(); top.frames[iframeId].submitForm();
} }
}); });
}
if (Type == '15') {
} else if (Type == '15') {
for (var i in ids) { for (var i in ids) {
WWCLOApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).OApplyNegCode; WWCLOApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).OApplyNegCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;

Loading…
Cancel
Save