fix: 光子工艺路线不显示

This commit is contained in:
caoqianming 2024-08-02 21:11:45 +08:00
parent d2f5432095
commit 78205457ae
1 changed files with 2 additions and 2 deletions

View File

@ -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) {