chenrui
2025-06-06 0805c8f58834e70b2a654cfa9f54fdaeaa0ddda1
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