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 AkauntingModal from './AkauntingModal';
|
||||
import AkauntingMoney from './AkauntingMoney';
|
||||
import AkauntingRadioGroup from './forms/AkauntingRadioGroup';
|
||||
import AkauntingSelect from './AkauntingSelect';
|
||||
import AkauntingDate from './AkauntingDate';
|
||||
@ -56,7 +57,6 @@ import AkauntingRecurring from './AkauntingRecurring';
|
||||
|
||||
import Form from './../plugins/form';
|
||||
import { Alert, ColorPicker } from 'element-ui';
|
||||
import {VMoney} from 'v-money';
|
||||
|
||||
export default {
|
||||
name: 'akaunting-modal-add-new',
|
||||
@ -66,15 +66,12 @@ export default {
|
||||
AkauntingRadioGroup,
|
||||
AkauntingSelect,
|
||||
AkauntingModal,
|
||||
AkauntingMoney,
|
||||
AkauntingDate,
|
||||
AkauntingRecurring,
|
||||
[ColorPicker.name]: ColorPicker,
|
||||
},
|
||||
|
||||
directives: {
|
||||
money: VMoney
|
||||
},
|
||||
|
||||
props: {
|
||||
show: Boolean,
|
||||
modalDialogClass: '',
|
||||
@ -143,15 +140,12 @@ export default {
|
||||
AkauntingRadioGroup,
|
||||
AkauntingSelect,
|
||||
AkauntingModal,
|
||||
AkauntingMoney,
|
||||
AkauntingDate,
|
||||
AkauntingRecurring,
|
||||
[ColorPicker.name]: ColorPicker,
|
||||
},
|
||||
|
||||
directives: {
|
||||
money: VMoney
|
||||
},
|
||||
|
||||
created: function() {
|
||||
this.form = new Form('form-create');
|
||||
},
|
||||
@ -165,7 +159,7 @@ export default {
|
||||
data: function () {
|
||||
return {
|
||||
form: {},
|
||||
money: {
|
||||
currency: {
|
||||
decimal: '.',
|
||||
thousands: ',',
|
||||
prefix: '$ ',
|
||||
|
Loading…
x
Reference in New Issue
Block a user