Commit 688909de by 李伟康

Merge branch 'feature/586/lwk' into 'SAAS+V5.8.6'

fix(src/views/serviceCentre/examinationManagement/add.vue): 修复品牌选择清空后的参数残留问题

See merge request !982
2 parents ff5ce3ca cc029ea0
Pipeline #248 for 688909de failed in 0 seconds
......@@ -380,6 +380,11 @@ export default {
},
methods: {
handleChangeBrandIds(val) {
if (!val.length) {
this.addForm.brandNames = [];
this.addForm.brandIds = [];
return;
}
let { carBrandList } = this.baseData;
let brandNames = [];
val.forEach((item) => {
......@@ -588,6 +593,8 @@ export default {
? Util.dateFormate(this.addForm.effectiveTime, "YYYY-MM-DD HH:mm:ss")
: "",
levelExamLevels: this.$refs.addLevel.levels,
brandIds: "",
brandNames: "",
};
if (brandIds && brandIds.length && brandNames) {
params.brandIds = brandIds.join(",");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!