gaoluyang
5 天以前 896fe9155c2a3cd54b0b7605a613ed7c8c9c0cfa
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) {