From dff10c98c644d0455c10e6321829905bc0c34938 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Thu, 24 Aug 2023 17:25:26 +0800 Subject: [PATCH] up --- .../wwwroot/components/list/index.js | 2 +- .../wwwroot/views/vmi/balance.js | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js index a22d2345..393a1929 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/components/list/index.js @@ -330,7 +330,7 @@ export default { const config = reactive(props.config); // 分页 const pageModel = reactive({ - sizeList: [1, 10, 50, 100], + sizeList: [10, 50, 100, 500], pageIndex: 1, pageSize: 10, total: 0, diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/vmi/balance.js b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/vmi/balance.js index f078dddf..4a1ca360 100644 --- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/vmi/balance.js +++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/vmi/balance.js @@ -20,13 +20,15 @@ export default { config.value = useConfig(route.meta?.businessType, route.meta); let notify = null; PubSub.subscribe(event, async (_, data) => { - notify?.close(); - notify = ElNotification({ - position: "bottom-right", - title: "待同步库存数量", - message: data, - duration: 0, - }); + if (route.path === "/vmi/balance") { + notify?.close(); + notify = ElNotification({ + position: "bottom-right", + title: "待同步库存数量", + message: data, + duration: 0, + }); + } }); }); onUnmounted(() => PubSub.unsubscribe(event));