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