Browse Source

委外拒收单生成条码

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

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

@ -12,10 +12,10 @@
if (Type == '1' || Type == '2' || Type == '3' || Type == '4' || Type == '5' || Type == '6' || Type == '9') { if (Type == '1' || Type == '2' || Type == '3' || Type == '4' || Type == '5' || Type == '6' || Type == '9') {
$(".HideItems").css('display', 'none'); $(".HideItems").css('display', 'none');
} }
if (Type=='1') {
if (Type == '1') {
gridList(); gridList();
} }
if (Type=='2') {
if (Type == '2') {
gridList2(); gridList2();
} }
if (Type == '3') { if (Type == '3') {
@ -1807,7 +1807,7 @@
} }
var POCode = ""; var POCode = "";
var PORow = ""; var PORow = "";
if (Type=='1') {
if (Type == '1') {
for (var i in ids) { for (var i in ids) {
ApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).ApplyNegCode; ApplyNegCode = $("#gridList").jqGrid('getRowData', ids[i]).ApplyNegCode;
Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence; Sequence = $("#gridList").jqGrid('getRowData', ids[i]).Sequence;
@ -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;
@ -2103,7 +2084,7 @@
objArr += "'" + rowData[j] + "',"; objArr += "'" + rowData[j] + "',";
} }
objArr = objArr.slice(0, objArr.length - 1); objArr = objArr.slice(0, objArr.length - 1);
objArr = ""+objArr+"|";
objArr = "" + objArr + "|";
arr.push(objArr); arr.push(objArr);
} }
} }
@ -2223,7 +2204,7 @@
</div> </div>
</td> </td>
<td class="HideItems" style="text-align:right;" ><label class="lglabel HideItems" for="txt_VenName">&nbsp;&nbsp;&nbsp;&nbsp;供应商名称</label>:</td>
<td class="HideItems" style="text-align:right;"><label class="lglabel HideItems" for="txt_VenName">&nbsp;&nbsp;&nbsp;&nbsp;供应商名称</label>:</td>
<td class="HideItems"> <td class="HideItems">
<div class="input-group HideItems"> <div class="input-group HideItems">
<input id="txt_VenName" type="text" class="form-control HideItems" style="width: 100px;"> <input id="txt_VenName" type="text" class="form-control HideItems" style="width: 100px;">

Loading…
Cancel
Save