From 551026f4e45d1355926a4c998f81842217ec1812 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 14 一月 2026 17:50:24 +0800
Subject: [PATCH] 进销存-升级 1.开票登记、来票登记改成绑定订单,不绑定开票 2.客户往来、供应商往来展示联调修改 3.修改销售报价逻辑 4.新增销售台账时可以选择已通过报价的模版 5.指标统计页面数据展示修改
---
src/views/procurementManagement/procurementInvoiceLedger/Modal/EditModal.vue | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/views/procurementManagement/procurementInvoiceLedger/Modal/EditModal.vue b/src/views/procurementManagement/procurementInvoiceLedger/Modal/EditModal.vue
index 2ac2c10..82b4164 100644
--- a/src/views/procurementManagement/procurementInvoiceLedger/Modal/EditModal.vue
+++ b/src/views/procurementManagement/procurementInvoiceLedger/Modal/EditModal.vue
@@ -2,10 +2,10 @@
<el-dialog :title="modalOptions.title" v-model="visible" @close="close">
<EditForm ref="editFormRef" />
<template #footer>
+ <el-button type="primary" :loading="loading" @click="sendForm">
+ {{ modalOptions.confirmText }}
+ </el-button>
<el-button @click="closeModal">{{ modalOptions.cancelText }}</el-button>
- <el-button type="primary" :loading="loading" @click="sendForm">
- {{ modalOptions.confirmText }}
- </el-button>
</template>
</el-dialog>
</template>
@@ -21,6 +21,7 @@
});
const emits = defineEmits(["success"]);
+const saleLedgerProjectId = ref('')
const editFormRef = ref();
const {
id,
@@ -32,10 +33,11 @@
closeModal,
} = useModal({ title: "鏉ョエ鍙拌处" });
-const open = async (id) => {
- openModal(id);
+const open = async (row) => {
+ openModal(row.id);
+ saleLedgerProjectId.value = row.saleLedgerProjectId;
await nextTick();
- editFormRef.value.load(id);
+ editFormRef.value.load(row.id);
};
const close = () => {
@@ -45,6 +47,7 @@
const sendForm = async () => {
const form = editFormRef.value.form;
+ form.saleLedgerProjectId = saleLedgerProjectId.value;
const { code } = await updateRegistration(form);
if (code === 200) {
emits("success");
--
Gitblit v1.9.3