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 {
|
||||
name: "InventoryDetail",
|
||||
data() {
|
||||
return {
|
||||
item: {
|
||||
name: "",
|
||||
description: "",
|
||||
quantity: 0,
|
||||
price: 0,
|
||||
image: "",
|
||||
tags: [],
|
||||
properties: []
|
||||
}
|
||||
}
|
||||
},
|
||||
components: {
|
||||
PropertyField, TagField,
|
||||
BaseLayout,
|
||||
...BIcons
|
||||
},
|
||||
|
|
|
@ -61,6 +61,19 @@ import PropertyField from "@/components/PropertyField.vue";
|
|||
|
||||
export default {
|
||||
name: "InventoryEdit",
|
||||
data() {
|
||||
return {
|
||||
item: {
|
||||
name: "",
|
||||
description: "",
|
||||
quantity: 0,
|
||||
price: 0,
|
||||
image: "",
|
||||
tags: [],
|
||||
properties: []
|
||||
}
|
||||
}
|
||||
},
|
||||
components: {
|
||||
BaseLayout,
|
||||
TagField,
|
||||
|
|
Loading…
Reference in a new issue