src/views/procurementManagement/invoiceEntry/index.vue
@@ -199,11 +199,11 @@
};
const handleAdd = (type) => {
  if (selectedRows.value.length !== 1) {
    proxy.$modal.msgWarning("请先选中一条数据");
  if (selectedRows.value.length < 1) {
    proxy.$modal.msgWarning("请至少选中一条数据");
    return;
  }
  modalRef.value.open(type, selectedRows.value[0].id);
  modalRef.value.open(type, selectedRows.value);
};
const handleEdit = (type, id) => {