mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 20:34:08 +00:00
4e0f1dbe0a
added exception if userbankslip not save show error added tax rate to supplier booking added order number and payment for to booking seeder
43 lines
1019 B
JavaScript
43 lines
1019 B
JavaScript
import Vue from 'vue'
|
|
import store from '~/store'
|
|
import router from '~/router'
|
|
import i18n from '~/plugins/i18n'
|
|
import App from '~/components/App'
|
|
import ElementUI from 'element-ui'
|
|
import 'element-ui/lib/theme-chalk/index.css'
|
|
import locale from 'element-ui/lib/locale/lang/en'
|
|
|
|
import '~/plugins'
|
|
import '~/components'
|
|
|
|
const config = {
|
|
errorBagName: 'errors', // change if property conflicts.
|
|
fieldsBagName: 'fields',
|
|
delay: 0,
|
|
// locale: 'zh_CN',
|
|
strict: true,
|
|
enableAutoClasses: false,
|
|
classNames: {
|
|
touched: 'touched', // the control has been blurred
|
|
untouched: 'untouched', // the control hasn't been blurred
|
|
valid: 'valid', // model is valid
|
|
invalid: 'invalid', // model is invalid
|
|
pristine: 'pristine', // control has not been interacted with
|
|
dirty: 'dirty' // control has been interacted with
|
|
},
|
|
events: 'blur',
|
|
inject: true
|
|
};
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
Vue.use(ElementUI, { locale })
|
|
/* eslint-disable no-new */
|
|
new Vue({
|
|
i18n,
|
|
store,
|
|
router,
|
|
el: '#app',
|
|
...App
|
|
})
|