|
|
@ -349,7 +349,8 @@ export default { |
|
|
// 物料名称提示框相关 |
|
|
// 物料名称提示框相关 |
|
|
showPartNameTooltip: false, |
|
|
showPartNameTooltip: false, |
|
|
currentPartName: '', |
|
|
currentPartName: '', |
|
|
tooltipStyle: { top: '0px', left: '0px' } |
|
|
|
|
|
|
|
|
tooltipStyle: { top: '0px', left: '0px' }, |
|
|
|
|
|
relatedOrderNo: '' |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
@ -489,8 +490,9 @@ export default { |
|
|
buNo: this.inboundInfo.buNo, |
|
|
buNo: this.inboundInfo.buNo, |
|
|
inboundNo: this.inboundNo, |
|
|
inboundNo: this.inboundNo, |
|
|
documentType: '其他入库', // 单据类型 |
|
|
documentType: '其他入库', // 单据类型 |
|
|
warehouseId: getCurrentWarehouse() // 当前仓库 |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
warehouseId: getCurrentWarehouse(), // 当前仓库 |
|
|
|
|
|
relatedOrderNo: this.relatedOrderNo |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
getMaterialList(params).then(({ data }) => { |
|
|
getMaterialList(params).then(({ data }) => { |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
@ -861,6 +863,7 @@ export default { |
|
|
buNo: this.buNo, |
|
|
buNo: this.buNo, |
|
|
warehouseId: getCurrentWarehouse(), |
|
|
warehouseId: getCurrentWarehouse(), |
|
|
site: localStorage.getItem('site'), |
|
|
site: localStorage.getItem('site'), |
|
|
|
|
|
relatedOrderNo: this.relatedOrderNo |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
getOtherInboundDetails(params).then(({ data }) => { |
|
|
getOtherInboundDetails(params).then(({ data }) => { |
|
|
@ -920,6 +923,7 @@ export default { |
|
|
// 获取路由参数 |
|
|
// 获取路由参数 |
|
|
this.inboundNo = this.$route.params.inboundNo; |
|
|
this.inboundNo = this.$route.params.inboundNo; |
|
|
this.buNo = this.$route.params.buNo; |
|
|
this.buNo = this.$route.params.buNo; |
|
|
|
|
|
this.relatedOrderNo = this.$route.params.relatedOrderNo; |
|
|
if (!this.inboundNo || !this.buNo) { |
|
|
if (!this.inboundNo || !this.buNo) { |
|
|
this.$message.error('参数错误'); |
|
|
this.$message.error('参数错误'); |
|
|
this.$router.back(); |
|
|
this.$router.back(); |
|
|
|