fix wizard and item select issue

This commit is contained in:
raishvaria
2019-11-11 18:25:00 +05:30
parent 80a761dbe0
commit 6b8fd9f267
4 changed files with 35 additions and 15 deletions

View File

@ -314,7 +314,11 @@ export default {
},
created () {
window.hub.$on('checkItems', this.validateItem)
window.hub.$on('newItem', this.onSelectItem)
window.hub.$on('newItem', (val) => {
if (this.item.item_id) {
this.onSelectItem(val)
}
})
},
methods: {
updateTax (data) {