From b9a181c2b259589e90a443fe125ebef7eddb2202 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 10 七月 2025 11:13:37 +0800 Subject: [PATCH] 页面所有增删编辑操作,回车键会导致刷新,数据内容更改失败(取消回车键的触发) --- src/main.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 12c1e3a..71df0f5 100644 --- a/src/main.js +++ b/src/main.js @@ -46,7 +46,7 @@ import PIMTable from "@/components/PIMTable/PIMTable.vue"; import { getToken } from "@/utils/auth"; -import {calculateTaxExclusiveTotalPrice, summarizeTable} from "@/utils/summarizeTable.js"; +import {calculateTaxExclusiveTotalPrice, summarizeTable,calculateTaxIncludeTotalPrice} from "@/utils/summarizeTable.js"; const app = createApp(App) @@ -57,6 +57,7 @@ app.config.globalProperties.resetForm = resetForm app.config.globalProperties.summarizeTable = summarizeTable app.config.globalProperties.calculateTaxExclusiveTotalPrice = calculateTaxExclusiveTotalPrice +app.config.globalProperties.calculateTaxIncludeTotalPrice = calculateTaxIncludeTotalPrice app.config.globalProperties.handleTree = handleTree app.config.globalProperties.addDateRange = addDateRange app.config.globalProperties.selectDictLabel = selectDictLabel -- Gitblit v1.9.3