feat: 路线编辑返回物料full_name

This commit is contained in:
caoqianming 2023-12-20 15:18:47 +08:00
parent cb2418fcf1
commit 606aef07c2
1 changed files with 3 additions and 3 deletions

View File

@ -36,17 +36,17 @@
scope.row.material_in_name
}}</span>
<el-select v-else v-model="scope.row.material_in" style="width: 100%">
<el-option v-for="item in materials" :key="item.id" :label="item.name" :value="item.id"></el-option>
<el-option v-for="item in materials" :key="item.id" :label="item.full_name" :value="item.id"></el-option>
</el-select>
</template>
</el-table-column>
<el-table-column prop="type" label="输出物料" min-width="120" align="center">
<template #default="scope">
<span v-if="!scope.row.isedit">{{
<span v-if="!scope.row.isedit ">{{
scope.row.material_out_name
}}</span>
<el-select v-else v-model="scope.row.material_out" filterable style="width: 100%">
<el-option v-for="item in materials" :key="item.id" :label="item.name" :value="item.id"></el-option>
<el-option v-for="item in materials" :key="item.id" :label="item.full_name" :value="item.id"></el-option>
</el-select>
</template>
</el-table-column>