From 7a847e11f282e3dddc4183cd97b36b165cc18523 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 12 二月 2026 10:15:36 +0800
Subject: [PATCH] 采购台账处于待审核状态,可以进行来票操作

---
 src/pages/managementMeetings/sealManagement/index.vue |   30 ++++++++++++++++++------------
 1 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/src/pages/managementMeetings/sealManagement/index.vue b/src/pages/managementMeetings/sealManagement/index.vue
index 6d92c96..569e372 100644
--- a/src/pages/managementMeetings/sealManagement/index.vue
+++ b/src/pages/managementMeetings/sealManagement/index.vue
@@ -8,7 +8,7 @@
       <view class="search-bar">
         <view class="search-input">
           <up-input class="search-text"
-                    placeholder="璇疯緭鍏ョ敵璇锋爣棰�"
+                    placeholder="璇疯緭鍏ョ敵璇风紪鍙�"
                     v-model="name"
                     @blur="getList"
                     clearable />
@@ -97,7 +97,7 @@
     </view>
     <view v-else
           class="no-data">
-      <text>鏆傛棤浼氳瀹よ褰�</text>
+      <text>鏆傛棤鐢ㄥ嵃璁板綍</text>
     </view>
     <!-- 娴姩鏂板鎸夐挳 -->
     <view class="fab-button"
@@ -111,7 +111,7 @@
 
 <script setup>
   import { ref, onMounted, computed } from "vue";
-  import { onShow } from "@dcloudio/uni-app";
+  import { onShow, onLoad } from "@dcloudio/uni-app";
   import { useDict } from "@/utils/dict";
   import PageHeader from "@/components/PageHeader.vue";
   import {
@@ -195,18 +195,18 @@
     const params = {
       current: -1,
       size: -1,
-      title: name.value,
+      applicationNum: name.value,
     };
     listSealApplication(params)
       .then(res => {
-        const currentFactoryName = userStore.currentFactoryName;
-        if (currentFactoryName) {
-          visitList.value = res.data.records.filter(
-            item => item.department === currentFactoryName
-          );
-        } else {
-          visitList.value = res.data.records;
-        }
+        // const currentFactoryName = userStore.currentFactoryName;
+        // if (currentFactoryName) {
+        //   visitList.value = res.data.records.filter(
+        //     item => item.department === currentFactoryName
+        //   );
+        // } else {
+        visitList.value = res.data.records;
+        // }
         closeToast();
       })
       .catch(() => {
@@ -287,6 +287,12 @@
       },
     });
   };
+  onLoad(options => {
+    // 瑙f瀽applicationNum
+    if (options.applicationNum) {
+      name.value = options.applicationNum;
+    }
+  });
 
   onMounted(() => {
     getList();

--
Gitblit v1.9.3