feat: material添加是否隐藏选项
This commit is contained in:
parent
d8f49bb9c5
commit
f2afea91ed
|
@ -31,6 +31,7 @@
|
|||
<div class="left-panel">
|
||||
<el-button type="primary" icon="el-icon-plus" @click="table_add"
|
||||
v-auth="'route.create'">新增</el-button>
|
||||
<div style="font-size: 16px">当前选择: {{ selectedProduct.name }}</div>
|
||||
</div>
|
||||
</el-header>
|
||||
<el-main class="nopadding">
|
||||
|
@ -102,7 +103,7 @@
|
|||
<el-switch v-model="form.is_autotask" />
|
||||
</el-form-item>
|
||||
<el-form-item label="主要输入" prop="material_in">
|
||||
<el-select v-model="form.material_in" placeholder="物料" clearable style="width: 100%;">
|
||||
<el-select v-model="form.material_in" placeholder="物料" clearable filterable style="width: 100%;">
|
||||
<el-option v-for="item in materialOptions" :key="item.id" :label="item.full_name" :value="item.id">
|
||||
<span style="float: left">{{ item.full_name }}</span>
|
||||
<span style="float: right;color: '#E6A23C';font-size: 13px;" v-if="item.is_hidden">{{
|
||||
|
@ -111,7 +112,7 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="主要输出" prop="material_out">
|
||||
<el-select v-model="form.material_out" placeholder="物料" clearable style="width: 100%;">
|
||||
<el-select v-model="form.material_out" placeholder="物料" clearable filterable style="width: 100%;">
|
||||
<el-option v-for="item in materialOptions" :key="item.id" :label="item.full_name" :value="item.id">
|
||||
<span style="float: left">{{ item.full_name }}</span>
|
||||
<span style="float: right;color: '#E6A23C';font-size: 13px;" v-if="item.is_hidden">{{
|
||||
|
|
Loading…
Reference in New Issue