|
|
@ -300,6 +300,12 @@ export default { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 验证必填字段 |
|
|
|
|
|
if (!this.inboundForm.inboundReason) { |
|
|
|
|
|
this.$message.error('请输入入库原因'); |
|
|
|
|
|
return; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (this.scannedItems.length === 0) { |
|
|
if (this.scannedItems.length === 0) { |
|
|
this.$message.warning('请先扫描HandlingUnit'); |
|
|
this.$message.warning('请先扫描HandlingUnit'); |
|
|
return; |
|
|
return; |
|
|
|