|
@ -490,15 +490,15 @@ export default { |
|
|
sectQueryChange(val) { |
|
|
sectQueryChange(val) { |
|
|
if (val.length === 1) { |
|
|
if (val.length === 1) { |
|
|
this.query.stor_id = val[0] |
|
|
this.query.stor_id = val[0] |
|
|
this.query.sect_id = '' |
|
|
this.query.sect_code = '' |
|
|
} |
|
|
} |
|
|
if (val.length === 0) { |
|
|
if (val.length === 0) { |
|
|
this.query.sect_id = '' |
|
|
this.query.sect_code = '' |
|
|
this.query.stor_id = '' |
|
|
this.query.stor_id = '' |
|
|
} |
|
|
} |
|
|
if (val.length === 2) { |
|
|
if (val.length === 2) { |
|
|
this.query.stor_id = val[0] |
|
|
this.query.stor_id = val[0] |
|
|
this.query.sect_id = val[1] |
|
|
this.query.sect_code = val[1] |
|
|
} |
|
|
} |
|
|
this.crud.toQuery() |
|
|
this.crud.toQuery() |
|
|
}, |
|
|
}, |
|
|