fix:入库新增BUG修复

This commit is contained in:
zhouz
2025-07-23 15:51:33 +08:00
parent 46344e9775
commit 3fa1f5112d

View File

@@ -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()
}, },