fix:光芯车间库存物料状态筛选传参问题修正

This commit is contained in:
shijing 2025-09-01 13:12:44 +08:00
parent 0443ee42e9
commit 5823759669
2 changed files with 4 additions and 5 deletions

View File

@ -14,7 +14,6 @@
v-model="query.state" v-model="query.state"
placeholder="物料状态" placeholder="物料状态"
clearable clearable
@change="searchStateChange"
style="width: 250px" style="width: 250px"
> >
<el-option <el-option

View File

@ -308,19 +308,19 @@ export default {
switch(that.queryState){ switch(that.queryState){
case 100: case 100:
that.query.state = 10; that.query.state = 10;
that.query.notok_sign__isnull = true; that.query.defect__isnull = true;
break; break;
case 101: case 101:
that.query.state = 10; that.query.state = 10;
that.query.notok_sign__isnull = false; that.query.defect__isnull = false;
break; break;
case 20: case 20:
that.query.state = 20; that.query.state = 20;
that.query.notok_sign__isnull = null; that.query.defect__isnull = null;
break; break;
case 30: case 30:
that.query.state = 30; that.query.state = 30;
that.query.notok_sign__isnull = null; that.query.defect__isnull = null;
break; break;
} }
}, },