|
|
@ -395,21 +395,22 @@ |
|
|
|
<el-form-item prop="materialGroupValue"> |
|
|
|
<el-select |
|
|
|
v-model="formCount.materialGroupValue" |
|
|
|
style="width: 350px;margin-right: 15px" |
|
|
|
size="medium" |
|
|
|
collapse-tags |
|
|
|
multiple |
|
|
|
filterable |
|
|
|
clearable |
|
|
|
@change="valueChange" |
|
|
|
style="width: 350px; margin-right: 15px" |
|
|
|
placeholder="请选择" |
|
|
|
> |
|
|
|
<el-option |
|
|
|
v-for="item in materialGroupList" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
></el-option> |
|
|
|
:key="item.label" |
|
|
|
:label="item.value" |
|
|
|
:value="item.label" |
|
|
|
> |
|
|
|
<span style="float: left">{{ item.label }}</span> |
|
|
|
<span style="float: right; color: #8492a6; font-size: 13px">{{ |
|
|
|
item.value |
|
|
|
}}</span> |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
@ -1146,7 +1147,7 @@ export default { |
|
|
|
response.items.forEach((element) => { |
|
|
|
let options = {}; |
|
|
|
options.value = element.description; |
|
|
|
options.label = element.description + "/" + element.value; |
|
|
|
options.label = element.value; |
|
|
|
this.materialGroupList.push(options); |
|
|
|
}); |
|
|
|
}) |
|
|
|