chenrui
7 天以前 ece2dfeb926d728b10db38038e4d12e9e9851c24
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,11 +57,12 @@
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
app.config.globalProperties.selectDictLabels = selectDictLabels
app.config.globalProperties.javaApi = 'http://192.168.1.36:8080'
app.config.globalProperties.javaApi = 'http://114.132.189.42:7003'
app.config.globalProperties.HaveJson = (val) => {
  return JSON.parse(JSON.stringify(val));
};