|
|
@ -14,9 +14,9 @@ |
|
|
|
<el-col :span="4" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>品牌</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="20"> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="carBrand"> |
|
|
|
<el-select v-model="temp.carBrand" placeholder="请选择" filterable style="width: 31%;padding-right: 3px;" @change="getPinpai"> |
|
|
|
<el-select v-model="temp.carBrand" placeholder="请选择" filterable class="addinputw" @change="getPinpai"> |
|
|
|
<el-option v-for="item in carBrand_list" :key="item.sid" :label="item.brandName" :value="item.sid"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@ -81,16 +81,6 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>变速箱</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="gearboxType"> |
|
|
|
<el-select v-model="temp.gearboxType" class="addinputw" filterable placeholder="请选择" @change="getBiansu"> |
|
|
|
<el-option v-for="item in arbox" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>排放标准</span> |
|
|
|
</el-col> |
|
|
@ -111,6 +101,26 @@ |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>变速箱类型</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="tranCaseTypeValue"> |
|
|
|
<el-select v-model="temp.tranCaseTypeKey" class="addinputw" filterable placeholder="请选择" @change="getTranCase"> |
|
|
|
<el-option v-for="item in tranCase" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="tleftb"> |
|
|
|
<span><span class="icon">*</span>变速箱</span> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item prop="gearboxType"> |
|
|
|
<el-select v-model="temp.gearboxType" class="addinputw" filterable placeholder="请选择" @change="getBiansu"> |
|
|
|
<el-option v-for="item in arbox" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="4" class="tleftb"> |
|
|
|
<span>细分市场</span> |
|
|
|
</el-col> |
|
|
@ -210,6 +220,8 @@ export default { |
|
|
|
departmentValue: '', // 系别value |
|
|
|
isCommonModel: '', // 是否常用车型 |
|
|
|
isDel: '', // 是否可以删除 |
|
|
|
tranCaseTypeValue: '', // 变速箱类型 |
|
|
|
tranCaseTypeKey: '', // 变速箱类型Key |
|
|
|
baseVehicleModelAppendixDtos: [] // 车型附件 |
|
|
|
// modelSid:'', // 车型sid |
|
|
|
// filePath:'', // 图片路径 |
|
|
@ -223,6 +235,7 @@ export default { |
|
|
|
Standard: [], |
|
|
|
eForm: [], |
|
|
|
epower: [], |
|
|
|
tranCase: [], |
|
|
|
arbox: [], |
|
|
|
lType: [], |
|
|
|
Version: [], |
|
|
@ -239,6 +252,7 @@ export default { |
|
|
|
fuelType: [{ required: true, message: ' 燃料不能为空', trigger: 'change' }], |
|
|
|
gearboxType: [{ required: true, message: ' 变速箱不能为空', trigger: 'change' }], |
|
|
|
emissionStandard: [{ required: true, message: ' 排放标准不能为空', trigger: 'change' }], |
|
|
|
tranCaseTypeValue: [{ required: true, message: ' 变速箱类型不能为空', trigger: 'change' }] |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
@ -420,6 +434,8 @@ export default { |
|
|
|
departmentValue: '', // 系别value |
|
|
|
isCommonModel: '', // 是否常用车型 |
|
|
|
isDel: '', // 是否可以删除 |
|
|
|
tranCaseTypeValue: '', // 变速箱类型 |
|
|
|
tranCaseTypeKey: '', // 变速箱类型Key |
|
|
|
baseVehicleModelAppendixDtos: [] // 车型附件 |
|
|
|
} // 添加和修改 |
|
|
|
this.imgList = [] |
|
|
@ -523,6 +539,11 @@ export default { |
|
|
|
this.neType = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
typeValues({ type: 'tranCaseType' }).then(res => { |
|
|
|
if (res.success) { |
|
|
|
this.tranCase = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
getGong(value) { |
|
|
|
console.log('触发下拉框按钮', value) |
|
|
@ -613,6 +634,18 @@ export default { |
|
|
|
}) |
|
|
|
this.temp.powerValue = bb.name |
|
|
|
}, |
|
|
|
getTranCase(value) { |
|
|
|
let bb = null |
|
|
|
this.tranCase.forEach(e => { |
|
|
|
if (e.dictKey === value) { |
|
|
|
bb = { |
|
|
|
name: e.dictValue, |
|
|
|
vaule: e.dictKey |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
this.temp.tranCaseTypeValue = bb.name |
|
|
|
}, |
|
|
|
getBiansu(value) { |
|
|
|
let bb = null |
|
|
|
this.arbox.forEach(e => { |
|
|
|