|
|
@ -314,13 +314,17 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.formobj.vehTypeKeyList.length > 0) { |
|
|
|
const aa = [] |
|
|
|
for (var m = 0; m < this.vehicleFunction_list.length; m++) { |
|
|
|
for (var n = 0; n < this.formobj.vehTypeKeyList.length; n++) { |
|
|
|
if (this.vehicleFunction_list[m].dictKey === this.formobj.vehTypeKeyList[n]) { |
|
|
|
this.formobj.vehTypeValueList.push(this.vehicleFunction_list[m].dictValue) |
|
|
|
aa.push(this.vehicleFunction_list[m].dictValue) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
this.formobj.vehTypeValueList = aa |
|
|
|
} else { |
|
|
|
this.formobj.vehTypeValueList = [] |
|
|
|
} |
|
|
|
this.submitdisabled = true |
|
|
|
// 保存 |
|
|
@ -371,6 +375,7 @@ export default { |
|
|
|
} |
|
|
|
this.useDept_list = [] |
|
|
|
this.submitdisabled = false |
|
|
|
this.$refs['form_obj'].resetFields() |
|
|
|
this.$emit('doback') |
|
|
|
} |
|
|
|
} |
|
|
|