From 593cb2e46b22617cb513c891c5af7a07c7d412d8 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 28 八月 2026 17:01:27 +0800
Subject: [PATCH] fix: MOM 1.点击采购订单生成后跳转出来的页面会一点点缩小

---
 src/views/wls/arrivalnotice/modules/po-select-dialog.vue |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/views/wls/arrivalnotice/modules/po-select-dialog.vue b/src/views/wls/arrivalnotice/modules/po-select-dialog.vue
index 1462ce8..4dd38ed 100644
--- a/src/views/wls/arrivalnotice/modules/po-select-dialog.vue
+++ b/src/views/wls/arrivalnotice/modules/po-select-dialog.vue
@@ -2,7 +2,7 @@
 import type { ErpPurchaseOrderApi } from '#/api/erp/purchase/order';
 import type { VxeTableGridOptions } from '#/adapter/vxe-table';
 
-import { Page, useVbenModal } from '@vben/common-ui';
+import { useVbenModal } from '@vben/common-ui';
 
 import { message } from 'ant-design-vue';
 
@@ -62,7 +62,7 @@
         field: 'totalPrice',
         title: '鎬婚噾棰�',
         width: 120,
-        formatter: 'formatMoney',
+        formatter: 'formatAmount2',
       },
       {
         field: 'status',
@@ -74,7 +74,7 @@
         },
       },
     ],
-    height: 'auto',
+    height: 460,
     keepSource: true,
     proxyConfig: {
       ajax: {
@@ -108,10 +108,8 @@
     emit('selected', selectedRows.id);
     await modalApi.close();
   },
-  async onOpenChange(isOpen: boolean) {
-    if (isOpen) {
-      await gridApi.query();
-    }
+  async onOpened() {
+    await gridApi.query();
   },
 });
 </script>

--
Gitblit v1.9.3