spring
2025-07-01 b57c02f998cac0f54afb4a27757b0101659234f4
src/views/equipmentManagement/ledger/Modal.vue
@@ -31,11 +31,11 @@
  modalOptions,
  handleConfirm,
  closeModal,
} = useModal();
} = useModal({ title: "设备台账" });
const sendForm = async () => {
  loading.value = true;
  const { code } = id
  const { code } = id.value
    ? await editLedger({ id: id.value, ...formRef.value.form })
    : await addLedger(formRef.value.form);
  if (code == 200) {