|
|
@ -203,6 +203,7 @@ |
|
|
|
that.jobStatus = res.data.status |
|
|
|
that.jobToLocationCode = that.subList[0].toLocationCode |
|
|
|
that.detailSource = getTreeDataSource(that.subList) |
|
|
|
that.isAllReceived = false; |
|
|
|
} else { |
|
|
|
that.showMessage('列表数据为0'); |
|
|
|
} |
|
|
@ -496,13 +497,26 @@ |
|
|
|
detail.handleQty = detail.qty; |
|
|
|
detail.toLocationCode = this.toLocationCode; |
|
|
|
detail.labelQty = detail.qty; |
|
|
|
detail.packList.forEach(pack=>{ |
|
|
|
pack.scaned = true; |
|
|
|
pack.handleQty = Number(pack.qty); |
|
|
|
pack.toLocationCode = this.toLocationCode; |
|
|
|
}) |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
console.log(JSON.stringify(this.detailSource)) |
|
|
|
calcHandleQty(this.detailSource); |
|
|
|
} else { |
|
|
|
this.getDetail() |
|
|
|
this.$refs.comMessage.showQuestionMessage("是否要关闭整单收货?", res => { |
|
|
|
if (res) { |
|
|
|
|
|
|
|
this.getDetail() |
|
|
|
}else { |
|
|
|
this.isAllReceived = true; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|