stash
This commit is contained in:
parent
2c77077859
commit
3774a2f438
2 changed files with 27 additions and 0 deletions
|
@ -53,7 +53,21 @@ import {mapActions, mapGetters} from "vuex";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "InventoryDetail",
|
name: "InventoryDetail",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
item: {
|
||||||
|
name: "",
|
||||||
|
description: "",
|
||||||
|
quantity: 0,
|
||||||
|
price: 0,
|
||||||
|
image: "",
|
||||||
|
tags: [],
|
||||||
|
properties: []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
|
PropertyField, TagField,
|
||||||
BaseLayout,
|
BaseLayout,
|
||||||
...BIcons
|
...BIcons
|
||||||
},
|
},
|
||||||
|
|
|
@ -61,6 +61,19 @@ import PropertyField from "@/components/PropertyField.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "InventoryEdit",
|
name: "InventoryEdit",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
item: {
|
||||||
|
name: "",
|
||||||
|
description: "",
|
||||||
|
quantity: 0,
|
||||||
|
price: 0,
|
||||||
|
image: "",
|
||||||
|
tags: [],
|
||||||
|
properties: []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
BaseLayout,
|
BaseLayout,
|
||||||
TagField,
|
TagField,
|
||||||
|
|
Loading…
Reference in a new issue