标准库 - 分解单编辑 - 适用车型下拉框多选

This commit is contained in:
yanyizhou
2021-12-22 21:00:56 +08:00
parent 0122532e22
commit 4f706d43a8
@@ -901,16 +901,14 @@
<!-- clearable-->
<!-- />-->
</el-form-item>
<el-form-item
label="适用车型"
class="add-form-item"
>
<el-input
style="width: 45%"
<!--适用车型-->
<template>
<custom-select-array
:key="applyArcticOptions.options"
:config="applyArcticOptions"
v-model="resolveListForm.applyArctic"
clearable
/>
</el-form-item>
></custom-select-array>
</template>
<el-form-item
label="责任工程师"
class="add-form-item"
@@ -1566,6 +1564,7 @@
<script>
import PutQuestionButton from '@/components/PutQuestionButton'
import CustomSVPPS from '@/components/CustomFormComponents/SVPPS'
import CustomSelectArray from '@/components/CustomFormComponents/SelectArray'
import CustomOrg from '@/components/CustomFormComponents/OrgTree'
import {dateFormat} from '@/common/date'
import RelatedTermsSelect from './components/RelatedTermsSelect'
@@ -1577,6 +1576,7 @@ export default {
components: {
PutQuestionButton,
CustomSVPPS,
CustomSelectArray,
CustomOrg,
RelatedTermsSelect
},
@@ -1760,7 +1760,10 @@ export default {
ZRBM: '',
FO: ''
},
applyArcticOptions: [], // 适用车辆类型下拉框
applyArcticOptions: {
attrName: '适用车型',
options:[]
}, // 适用车辆类型下拉框
emergyKindOptions: [], // 能源种类下拉框
requestOptions: [],
BZFGGXOUIUJ: [], // 企标覆盖关系
@@ -2533,6 +2536,7 @@ export default {
if (typeof this.resolveListForm.zccssrq !== 'string'){
this.resolveListForm.zccssrq = this.resolveListForm.zccssrq.join(',')
}
this.resolveListForm.applyArctic = this.resolveListForm.applyArctic.join(',')
this.$http.putData(
'SarStandItems/sar-stand-items/updateSarItemAndInterpretation',
this.resolveListForm,
@@ -3365,7 +3369,7 @@ export default {
this.$http.get('sys/dictype/getDicTypeListCode', '', {
_this: this
}, res => {
this.applyArcticOptions = res.data.ENERGYTYPES // 根据需求文档,产品类别对应标准属性中的“适用车辆类型”
this.applyArcticOptions.options = res.data.ENERGYTYPES // 根据需求文档,产品类别对应标准属性中的“适用车辆类型”
this.emergyKindOptions = res.data.ENERGYTYPES
this.requestOptions = res.data.REQUESTTYPE
this.BZFGGXOUIUJ = res.data.BZFGGXOUIUJ // 企标覆盖关系