diff --git a/src/views/accounting/invoices/index.vue b/src/views/accounting/invoices/index.vue index 20d81e28..5c93fe9f 100644 --- a/src/views/accounting/invoices/index.vue +++ b/src/views/accounting/invoices/index.vue @@ -1122,10 +1122,10 @@ export default { this.ids = selection.map((item) => item.id); if (selection.length == 1) { this.multiple = false; + this.form = selection[0]; } else { this.multiple = true; } - this.form = selection[0]; }, /** 新增按钮操作 */ handleAdd() {