diff --git a/src/views/modules/other-transaction/other-inbound.vue b/src/views/modules/other-transaction/other-inbound.vue index b78e828..735d3bb 100644 --- a/src/views/modules/other-transaction/other-inbound.vue +++ b/src/views/modules/other-transaction/other-inbound.vue @@ -300,6 +300,12 @@ export default { return; } + // 验证必填字段 + if (!this.inboundForm.inboundReason) { + this.$message.error('请输入入库原因'); + return; + } + if (this.scannedItems.length === 0) { this.$message.warning('请先扫描HandlingUnit'); return;