|
@ -245,6 +245,7 @@ const moreListPush = () => { |
|
|
moreListData.value.filters.push(data) |
|
|
moreListData.value.filters.push(data) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const lastestType = ref('') |
|
|
// 筛选条件改变重置其他项 |
|
|
// 筛选条件改变重置其他项 |
|
|
const resetSelect = (val) => { |
|
|
const resetSelect = (val) => { |
|
|
if (getInputType(val.column) == 'datePicker' || getInputType(val.column) == 'date') { |
|
|
if (getInputType(val.column) == 'datePicker' || getInputType(val.column) == 'date') { |
|
@ -254,8 +255,11 @@ const resetSelect = (val) => { |
|
|
val.action = 'like' |
|
|
val.action = 'like' |
|
|
val.disabled = false |
|
|
val.disabled = false |
|
|
} |
|
|
} |
|
|
|
|
|
if(lastestType.value&&lastestType.value!=getInputType(val.column)){ |
|
|
val.value1 = "" |
|
|
val.value1 = "" |
|
|
val.value = "" |
|
|
val.value = "" |
|
|
|
|
|
} |
|
|
|
|
|
lastestType.value = getInputType(val.column) |
|
|
} |
|
|
} |
|
|
// 范围改变 |
|
|
// 范围改变 |
|
|
const actionSelect = (val)=>{ |
|
|
const actionSelect = (val)=>{ |
|
@ -264,11 +268,11 @@ const actionSelect = (val)=>{ |
|
|
}else{ |
|
|
}else{ |
|
|
val.disabled = false |
|
|
val.disabled = false |
|
|
} |
|
|
} |
|
|
val.value1 = undefined |
|
|
// val.value1 = undefined |
|
|
nextTick(()=>{ |
|
|
// nextTick(()=>{ |
|
|
val.value1 =[] |
|
|
// val.value1 =[] |
|
|
val.value = '' |
|
|
// val.value = '' |
|
|
}) |
|
|
// }) |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|