修改OTA表单字段
This commit is contained in:
+15
-1
@@ -257,7 +257,21 @@ export default {
|
||||
|
||||
if (res.result.dllx1 == null || res.result.dllx1 == "") {
|
||||
this.form.dllx1 = undefined
|
||||
|
||||
}else{
|
||||
let list = []
|
||||
getAction('sys/dict/getDictItems/vehicle_dynamic_type1', { }).then((res) => {
|
||||
if (res.success) {
|
||||
res.result.forEach((item,index) => {
|
||||
let w = item.value
|
||||
let a = w.indexOf("-")
|
||||
let l = w.substring(0,a)
|
||||
if(this.form.dllx1 == l){
|
||||
list.push(item)
|
||||
}
|
||||
})
|
||||
this.projectNameList2 = list
|
||||
}
|
||||
})
|
||||
}
|
||||
if (res.result.dllx2 == null || res.result.dllx2 == "") {
|
||||
this.form.dllx2 = undefined
|
||||
|
||||
Reference in New Issue
Block a user