|
|
|
@ -12,7 +12,7 @@ var wareHouseData = null; |
|
|
|
|
|
|
|
var batchType = ""; |
|
|
|
|
|
|
|
const labelList = []; |
|
|
|
let labelList = []; |
|
|
|
|
|
|
|
//页面初始化
|
|
|
|
$(function(){ |
|
|
|
@ -24,8 +24,14 @@ $(function(){ |
|
|
|
var workData = $.cookie("transFer"); |
|
|
|
if(workData != null && workData !==""){ |
|
|
|
currentData = JSON.parse(workData); |
|
|
|
// 处理下一步返回的操作
|
|
|
|
if (currentData.preLotSize){ |
|
|
|
currentData.lotSize = currentData.preLotSize |
|
|
|
currentData.preLotSize = undefined |
|
|
|
} |
|
|
|
if (currentData.scanList && currentData.scanList.length > 0){ |
|
|
|
labelList = [...currentData.scanList] |
|
|
|
currentData.scanList = []; |
|
|
|
} |
|
|
|
$("#warehouseQty").val(currentData.lotSize); |
|
|
|
if(currentData.weightFactor!='0'&¤tData.weightFactor!=''&¤tData.weightFactor!=null){ |
|
|
|
@ -39,6 +45,7 @@ $(function(){ |
|
|
|
// 初始化
|
|
|
|
initPageProp(currentData); |
|
|
|
|
|
|
|
onloadTable(); |
|
|
|
}); |
|
|
|
|
|
|
|
$("#scanInput").bind("keydown",function(event){ |
|
|
|
@ -57,7 +64,6 @@ function initPageProp(preDate){ |
|
|
|
$("#partDesc").val(preDate.partDescription) |
|
|
|
$("#scanQty").val(0) |
|
|
|
$("#scanWeight").val(0) |
|
|
|
console.log(preDate) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|