| | |
| | | import directive from './directive' // directive |
| | | |
| | | import { useDict } from '@/utils/dict' |
| | | import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels } from '@/utils/ruoyi' |
| | | import { parseTime, resetForm, addDateRange, handleTree, selectDictLabel, selectDictLabels, formatDateToYMD } from '@/utils/ruoyi' |
| | | import { |
| | | calculateTaxExclusiveTotalPrice, |
| | | } from "@/utils/summarizeTable.js"; |
| | | |
| | | |
| | | |
| | | export function createApp() { |
| | |
| | | app.use(store) |
| | | app.use(uviewPlus) |
| | | app.use(plugins) |
| | | // 移除以下行 Vant 注册 |
| | | // app.use(Vant) |
| | | |
| | | // 注册全局组件 |
| | | setupGlobalComponents(app) |
| | | |
| | |
| | | app.config.globalProperties.selectDictLabel = selectDictLabel |
| | | app.config.globalProperties.selectDictLabels = selectDictLabels |
| | | app.config.globalProperties.calculateTaxExclusiveTotalPrice = calculateTaxExclusiveTotalPrice; |
| | | app.config.globalProperties.formatDateToYMD = formatDateToYMD; |
| | | |
| | | return { |
| | | app |