fix:车间库存添加状态筛选

This commit is contained in:
shijing 2024-11-13 17:00:43 +08:00
parent 95a81dbf8d
commit 07958e9a57
1 changed files with 25 additions and 1 deletions

View File

@ -16,6 +16,20 @@
<!-- <el-button type="primary" @click="materialsChoses('wm')"
>选择物料</el-button
> -->
<el-select
v-model="query.state"
placeholder="物料状态"
clearable
@change="searchStateChange"
style="width: 250px"
>
<el-option
v-for="item in stateOptions"
:key="item.value"
:label="item.name"
:value="item.value"
/>
</el-select>
<el-input
style="margin-right: 5px"
v-model="query.search"
@ -202,7 +216,10 @@ export default {
belong_dept:''
},
wmtype:0,
query: {},
query: {
search: "",
state: null,
},
dialog: {
save: false,
scrap: false,
@ -212,6 +229,13 @@ export default {
},
tableData: [],
selection: [],
stateOptions:[
{ value: 10, name: "合格"},
{ value: 20, name: "不合格"},
{ value: 30, name: "返修"},
// { value: 40, name: ""},
// { value: 50, name: ""},
],
queryWm: {
search: "",
material: "",