|
|
@ -153,6 +153,7 @@ export default { |
|
|
// 工单信息 |
|
|
// 工单信息 |
|
|
orderInfo: { |
|
|
orderInfo: { |
|
|
site: '', |
|
|
site: '', |
|
|
|
|
|
contract: '', |
|
|
orderNo: '', |
|
|
orderNo: '', |
|
|
releaseNo: '', |
|
|
releaseNo: '', |
|
|
sequenceNo: '', |
|
|
sequenceNo: '', |
|
|
@ -203,6 +204,7 @@ export default { |
|
|
// 从路由参数获取工单信息 |
|
|
// 从路由参数获取工单信息 |
|
|
this.orderInfo = { |
|
|
this.orderInfo = { |
|
|
site: this.$route.query.site || '', |
|
|
site: this.$route.query.site || '', |
|
|
|
|
|
contract: this.$route.query.contract || '', |
|
|
orderNo: this.$route.query.orderNo || '', |
|
|
orderNo: this.$route.query.orderNo || '', |
|
|
releaseNo: this.$route.query.releaseNo || '', |
|
|
releaseNo: this.$route.query.releaseNo || '', |
|
|
sequenceNo: this.$route.query.sequenceNo || '', |
|
|
sequenceNo: this.$route.query.sequenceNo || '', |
|
|
@ -350,9 +352,15 @@ export default { |
|
|
*/ |
|
|
*/ |
|
|
submitWithdrawalData() { |
|
|
submitWithdrawalData() { |
|
|
const unitIds = this.scannedHus.map(hu => hu.unitId) |
|
|
const unitIds = this.scannedHus.map(hu => hu.unitId) |
|
|
|
|
|
// 退库记在选中接收记录的工厂上,登录站点可能只是上级站点。 |
|
|
|
|
|
const site = this.orderInfo.contract |
|
|
|
|
|
if (!site) { |
|
|
|
|
|
this.$message.error('选中数据缺少工厂编码') |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
const params = { |
|
|
const params = { |
|
|
site: this.orderInfo.site, |
|
|
|
|
|
|
|
|
site: site, |
|
|
orderNo: this.orderInfo.orderNo, |
|
|
orderNo: this.orderInfo.orderNo, |
|
|
releaseNo: this.orderInfo.releaseNo, |
|
|
releaseNo: this.orderInfo.releaseNo, |
|
|
sequenceNo: this.orderInfo.sequenceNo, |
|
|
sequenceNo: this.orderInfo.sequenceNo, |
|
|
|