From 2c12de5757de200045afe89a744721e5127c7736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B3=BD=E8=85=BE?= <1178634255@qq.com> Date: Tue, 25 Jul 2023 16:32:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E7=99=BB=E8=AE=B0=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E5=8B=BE=E9=80=89=E5=8F=96=E6=B6=88=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E7=99=BB=E8=AE=B0=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=B3=BB=E7=BB=9F=E7=B9=81=E5=BF=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/InvoiceCkeck.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/inout/InvoiceCkeck.vue b/src/views/inout/InvoiceCkeck.vue index 719068e..f0688f0 100644 --- a/src/views/inout/InvoiceCkeck.vue +++ b/src/views/inout/InvoiceCkeck.vue @@ -482,7 +482,7 @@ export default { components: {AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer}, methods: { onSubmit() { - if (this.invoiceRow == null) { + if (this.invoiceRow == null|| this.invoiceRow.length === 0) { this.$message.error("请选择要登记的物资! "); return false; }