| | |
| | | import uviewPlus from 'uview-plus' |
| | | import Vant from 'vant'; |
| | | import 'vant/lib/index.css'; |
| | | import { setupGlobalComponents } from './components' |
| | | |
| | | |
| | | import { createSSRApp } from 'vue' |
| | |
| | | |
| | | import { useDict } from '@/utils/dict' |
| | | import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi' |
| | | import { |
| | | calculateTaxExclusiveTotalPrice, |
| | | } from "@/utils/summarizeTable.js"; |
| | | |
| | | |
| | | |
| | |
| | | app.use(uviewPlus) |
| | | app.use(plugins) |
| | | app.use(Vant) |
| | | |
| | | // 注册全局组件 |
| | | setupGlobalComponents(app) |
| | | |
| | | // #ifndef MP-WEIXIN |
| | | // 微信小程序中不支持自定义指令 |
| | |
| | | app.config.globalProperties.addDateRange = addDateRange |
| | | app.config.globalProperties.selectDictLabel = selectDictLabel |
| | | app.config.globalProperties.selectDictLabels = selectDictLabels |
| | | app.config.globalProperties.calculateTaxExclusiveTotalPrice = calculateTaxExclusiveTotalPrice; |
| | | |
| | | return { |
| | | app |