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