spring
6 小时以前 378c343c859f135b18d39f994c247598bc9a2b9a
src/views/procurementManagement/procurementInvoiceLedger/Modal/EditModal.vue
@@ -1,8 +1,12 @@
<template>
  <el-dialog :title="modalOptions.title" v-model="visible" @close="close">
  <el-dialog :title="modalOptions.title"
             v-model="visible"
             @close="close">
    <EditForm ref="editFormRef" />
    <template #footer>
         <el-button type="primary" :loading="loading" @click="sendForm">
      <el-button type="primary"
                 :loading="loading"
                 @click="sendForm">
            {{ modalOptions.confirmText }}
         </el-button>
      <el-button @click="closeModal">{{ modalOptions.cancelText }}</el-button>
@@ -21,7 +25,7 @@
});
const emits = defineEmits(["success"]);
const saleLedgerProjectId = ref('')
  const saleLedgerProjectId = ref("");
const editFormRef = ref();
const {
  id,
@@ -33,11 +37,11 @@
  closeModal,
} = useModal({ title: "来票台账" });
const open = async (row) => {
  const open = async row => {
  openModal(row.id);
   saleLedgerProjectId.value = row.saleLedgerProjectId;
  await nextTick();
  editFormRef.value.load(row.id);
    editFormRef.value.load(row.id, row.purchaseLedgerId, row.productModelId);
};
const close = () => {