|
|
@ -244,6 +244,10 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
submit() { |
|
|
|
this.scanedQty = this.scanedQty + this.showList.length; |
|
|
|
this.showList = []; |
|
|
|
this.dataContent.handleQty = 0; |
|
|
|
return; |
|
|
|
if (this.allList.length == 0) { |
|
|
|
this.showErrorMessage("请先扫描唯一码") |
|
|
|
return; |
|
|
@ -299,10 +303,13 @@ export default { |
|
|
|
|
|
|
|
let createProductputawaySwitch = getSwitchInfoByCode( |
|
|
|
"CreateProductputawayRequestAfterProductreceiptRecordCreated") |
|
|
|
//创建上架申请和检验申请 |
|
|
|
if (createProductputawaySwitch) { |
|
|
|
createPutawayRequestByPlan(list[0].requestNumber).then(res => { |
|
|
|
createInspectRequestByPlan(list[0].requestNumber) |
|
|
|
}) |
|
|
|
}else { //创建检验申请 |
|
|
|
createInspectRequestByPlan(list[0].requestNumber) |
|
|
|
} |
|
|
|
this.showCommitSuccessMessage("提交成功<br>生成装配收货记录<br>" + list[0].requestNumber, list) |
|
|
|
this.scanedQty = this.scanedQty + this.showList.length; |
|
|
|