AkauntingModalAddNew.vue Money fixed
This commit is contained in:
parent
a2bde0de2f
commit
f537ca5c50
@ -49,6 +49,7 @@ import Vue from 'vue';
|
|||||||
|
|
||||||
import { SlideYUpTransition } from "vue2-transitions";
|
import { SlideYUpTransition } from "vue2-transitions";
|
||||||
import AkauntingModal from './AkauntingModal';
|
import AkauntingModal from './AkauntingModal';
|
||||||
|
import AkauntingMoney from './AkauntingMoney';
|
||||||
import AkauntingRadioGroup from './forms/AkauntingRadioGroup';
|
import AkauntingRadioGroup from './forms/AkauntingRadioGroup';
|
||||||
import AkauntingSelect from './AkauntingSelect';
|
import AkauntingSelect from './AkauntingSelect';
|
||||||
import AkauntingDate from './AkauntingDate';
|
import AkauntingDate from './AkauntingDate';
|
||||||
@ -56,7 +57,6 @@ import AkauntingRecurring from './AkauntingRecurring';
|
|||||||
|
|
||||||
import Form from './../plugins/form';
|
import Form from './../plugins/form';
|
||||||
import { Alert, ColorPicker } from 'element-ui';
|
import { Alert, ColorPicker } from 'element-ui';
|
||||||
import {VMoney} from 'v-money';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'akaunting-modal-add-new',
|
name: 'akaunting-modal-add-new',
|
||||||
@ -66,15 +66,12 @@ export default {
|
|||||||
AkauntingRadioGroup,
|
AkauntingRadioGroup,
|
||||||
AkauntingSelect,
|
AkauntingSelect,
|
||||||
AkauntingModal,
|
AkauntingModal,
|
||||||
|
AkauntingMoney,
|
||||||
AkauntingDate,
|
AkauntingDate,
|
||||||
AkauntingRecurring,
|
AkauntingRecurring,
|
||||||
[ColorPicker.name]: ColorPicker,
|
[ColorPicker.name]: ColorPicker,
|
||||||
},
|
},
|
||||||
|
|
||||||
directives: {
|
|
||||||
money: VMoney
|
|
||||||
},
|
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
show: Boolean,
|
show: Boolean,
|
||||||
modalDialogClass: '',
|
modalDialogClass: '',
|
||||||
@ -143,15 +140,12 @@ export default {
|
|||||||
AkauntingRadioGroup,
|
AkauntingRadioGroup,
|
||||||
AkauntingSelect,
|
AkauntingSelect,
|
||||||
AkauntingModal,
|
AkauntingModal,
|
||||||
|
AkauntingMoney,
|
||||||
AkauntingDate,
|
AkauntingDate,
|
||||||
AkauntingRecurring,
|
AkauntingRecurring,
|
||||||
[ColorPicker.name]: ColorPicker,
|
[ColorPicker.name]: ColorPicker,
|
||||||
},
|
},
|
||||||
|
|
||||||
directives: {
|
|
||||||
money: VMoney
|
|
||||||
},
|
|
||||||
|
|
||||||
created: function() {
|
created: function() {
|
||||||
this.form = new Form('form-create');
|
this.form = new Form('form-create');
|
||||||
},
|
},
|
||||||
@ -165,7 +159,7 @@ export default {
|
|||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
form: {},
|
form: {},
|
||||||
money: {
|
currency: {
|
||||||
decimal: '.',
|
decimal: '.',
|
||||||
thousands: ',',
|
thousands: ',',
|
||||||
prefix: '$ ',
|
prefix: '$ ',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user