currency issue for document transaction..
This commit is contained in:
parent
8fbee840ea
commit
cd1ae671bd
@ -188,6 +188,16 @@ export default {
|
|||||||
created: function() {
|
created: function() {
|
||||||
this.form = new Form('form-create');
|
this.form = new Form('form-create');
|
||||||
|
|
||||||
|
// for override global currency variable..
|
||||||
|
this.currency = {
|
||||||
|
decimal: '.',
|
||||||
|
thousands: ',',
|
||||||
|
prefix: '$ ',
|
||||||
|
suffix: '',
|
||||||
|
precision: 2,
|
||||||
|
masked: false /* doesn't work with directive */
|
||||||
|
};
|
||||||
|
|
||||||
// Parent vue instance methods merge with child vue instance methods
|
// Parent vue instance methods merge with child vue instance methods
|
||||||
if (this.$root.$options.methods) {
|
if (this.$root.$options.methods) {
|
||||||
let parent_methods = this.$root.$options.methods;
|
let parent_methods = this.$root.$options.methods;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user