|
|
|
@ -199,6 +199,9 @@ export default { |
|
|
|
if (row.status === 'Stopped' || row.status === 'Closed' || row.status === 'Cancelled') { |
|
|
|
return this.$message.warning("该采购订单行状态为"+row.status+",无法接收"); |
|
|
|
} |
|
|
|
if (row.convFactor !== 1) { |
|
|
|
return this.$message.warning("采购计量单位和库存计量单位不一致,无法接收"); |
|
|
|
} |
|
|
|
|
|
|
|
// 获取下一个itemNo |
|
|
|
let nextItemNo = 1; |
|
|
|
|