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