mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-07 20:40:26 +08:00
Fix filters loading for stock filter [SCI-6687] (#3975)
Co-authored-by: Anton <anton@scinote.net>
This commit is contained in:
parent
addd4a9522
commit
ede5e958db
1 changed files with 8 additions and 0 deletions
|
@ -96,6 +96,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
if (this.parameters) {
|
||||||
|
this.value = this.parameters.value || ''
|
||||||
|
this.from = this.parameters.from || ''
|
||||||
|
this.to = this.parameters.to || ''
|
||||||
|
this.stock_unit = this.parameters.stock_unit || 'all'
|
||||||
|
}
|
||||||
|
},
|
||||||
watch: {
|
watch: {
|
||||||
stock_unit() {
|
stock_unit() {
|
||||||
this.parameters.stock_unit = this.stock_unit
|
this.parameters.stock_unit = this.stock_unit
|
||||||
|
|
Loading…
Add table
Reference in a new issue