From 8a83d674fa87300dd18499e7ceaa7a2f783af7b5 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期一, 23 六月 2025 17:13:31 +0800
Subject: [PATCH] feat: 设备台账完成导出删除

---
 src/views/procurementManagement/procurementLedger/index.vue |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index d360763..1086c81 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -9,7 +9,7 @@
           placeholder="璇疯緭鍏�"
           @change="handleQuery"
           clearable
-          prefix-icon="Search"
+          :prefix-icon="Search"
         />
         <el-button type="primary" @click="handleQuery" style="margin-left: 10px"
           >鎼滅储</el-button
@@ -513,6 +513,7 @@
   productList,
   getPurchaseById,
   getOptions,
+  createPurchaseNo,
 } from "@/api/procurementManagement/procurementLedger.js";
 const { proxy } = getCurrentInstance();
 const tableData = ref([]);
@@ -701,6 +702,11 @@
   form.value = {};
   productData.value = [];
   fileList.value = [];
+  if (operationType.value == "add") {
+    createPurchaseNo().then((res) => {
+      form.value.purchaseContractNumber = res.data;
+    });
+  }
   userListNoPage().then((res) => {
     userList.value = res.data;
   });

--
Gitblit v1.9.3