diff --git a/src/views/inout/InvoiceCkeck.vue b/src/views/inout/InvoiceCkeck.vue index 447d3d75..2c429238 100644 --- a/src/views/inout/InvoiceCkeck.vue +++ b/src/views/inout/InvoiceCkeck.vue @@ -306,6 +306,7 @@ export default { }, data() { return { + check:false, idList: [], invoiceRow: [], statusCode: null, @@ -484,7 +485,7 @@ export default { components: {AcceptOrder, DialogInvoice, InvoiceRegister, ElImageViewer}, methods: { onSubmit() { - if (this.invoiceRow == null) { + if (!this.check) { this.$message.error("请选择要登记的物资! "); return false; } @@ -675,6 +676,7 @@ export default { this.getBizDetailList(row); }, handleSelectionUdiChange(val) { + this.check=!this.check this.invoiceRow = val; // this.$emit("upData",this.invoiceRow); },