fix: 光子工艺路线不显示
This commit is contained in:
parent
d2f5432095
commit
78205457ae
|
@ -34,7 +34,7 @@
|
|||
<el-option
|
||||
v-for="item in routeOptions"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:label="item.label"
|
||||
:value="item"
|
||||
>
|
||||
</el-option>
|
||||
|
@ -165,7 +165,7 @@ export default {
|
|||
methods: {
|
||||
getRouteOptions() {
|
||||
this.$API.mtm.route.list
|
||||
.req({ page: 0, mgroup__belong_dept: this.activeDept })
|
||||
.req({ page: 0, mgroup__belong_dept: this.activeDept, routepack__isnull: true })
|
||||
.then((res) => {
|
||||
for (var i = 0; i < res.length; i++) {
|
||||
if (res[i].material_in_name == undefined) {
|
||||
|
|
Loading…
Reference in New Issue