|
|
@@ -48,8 +48,8 @@
|
|
|
>
|
|
|
<el-option
|
|
|
v-for="item in workorderStatus"
|
|
|
- :key="item.id"
|
|
|
- :value="item.id"
|
|
|
+ :key="item.value"
|
|
|
+ :value="item.value"
|
|
|
:label="item.label"
|
|
|
></el-option>
|
|
|
</el-select>
|
|
|
@@ -488,7 +488,7 @@
|
|
|
console.log(workorderStatus);
|
|
|
|
|
|
this.workorderStatus = workorderStatus.filter((item) => {
|
|
|
- return [0, 2, 3].includes(item.id);
|
|
|
+ return [0, 2, 3].includes(item.value);
|
|
|
});
|
|
|
console.log(this.workorderStatus);
|
|
|
}
|