fix taxes issue

This commit is contained in:
raishvaria
2019-11-22 16:07:31 +05:30
parent dd0817709b
commit 81c1e78bed
3 changed files with 3 additions and 3 deletions

View File

@ -9,6 +9,6 @@ return [
|
*/
'version' => '1.0.0',
'version' => '1.1.0',
];

View File

@ -353,7 +353,7 @@ export default {
this.item.name = val
},
deselectItem () {
this.item = {...EstimateStub, id: this.item.id}
this.item = {...EstimateStub, id: this.item.id, taxes: [{...TaxStub, id: Guid.raw()}]}
this.$nextTick(() => {
this.$refs.itemSelect.$refs.baseSelect.$refs.search.focus()
})

View File

@ -354,7 +354,7 @@ export default {
this.item.name = val
},
deselectItem () {
this.item = {...InvoiceStub, id: this.item.id}
this.item = {...InvoiceStub, id: this.item.id, taxes: [{...TaxStub, id: Guid.raw()}]}
this.$nextTick(() => {
this.$refs.itemSelect.$refs.baseSelect.$refs.search.focus()
})