|
@ -266,7 +266,7 @@ |
|
|
issueJobSubmit(params).then(res => { |
|
|
issueJobSubmit(params).then(res => { |
|
|
uni.hideLoading() |
|
|
uni.hideLoading() |
|
|
if (res.data) { |
|
|
if (res.data) { |
|
|
this.showCommitSuccessMessage("提交成功<br>生成发货记录" + res.data) |
|
|
this.showCommitSuccessMessage("提交成功<br>生成发料记录" + res.data) |
|
|
} else { |
|
|
} else { |
|
|
this.showErrorMessage("提交失败" + res.msg) |
|
|
this.showErrorMessage("提交失败" + res.msg) |
|
|
} |
|
|
} |
|
@ -285,6 +285,7 @@ |
|
|
item.Locations.forEach(fromLocation => { |
|
|
item.Locations.forEach(fromLocation => { |
|
|
fromLocation.Batchs.forEach(batch => { |
|
|
fromLocation.Batchs.forEach(batch => { |
|
|
let subItem = batch.detail; |
|
|
let subItem = batch.detail; |
|
|
|
|
|
if(subItem!=undefined){ |
|
|
subItem.recordList = []; |
|
|
subItem.recordList = []; |
|
|
if (batch.Records.length > 0) { |
|
|
if (batch.Records.length > 0) { |
|
|
batch.Records.forEach(r => { |
|
|
batch.Records.forEach(r => { |
|
@ -325,6 +326,7 @@ |
|
|
}) |
|
|
}) |
|
|
subList.push(subItem); |
|
|
subList.push(subItem); |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|