|
|
@@ -36,6 +36,7 @@ |
|
|
|
value-format="YYYY-MM-DD" |
|
|
|
type="date" |
|
|
|
placeholder="选择查询日期" |
|
|
|
:disabled-date="disabledDate" |
|
|
|
@change="retrunTimeChange" |
|
|
|
> |
|
|
|
</el-date-picker> |
|
|
@@ -115,6 +116,9 @@ const retrunTimeChange = () => { |
|
|
|
proTable.value!.searchParam.ReturnTime = ReturnTime.value || ReturnTimeDefault; |
|
|
|
proTable.value!.search(); |
|
|
|
}; |
|
|
|
const disabledDate = (time: Date) => { |
|
|
|
return time.getTime() > Date.now(); |
|
|
|
}; |
|
|
|
// 获取 ProTable 元素,调用其获取刷新数据方法(还能获取到当前查询参数,方便导出携带参数) |
|
|
|
// 表格配置项 |
|
|
|
const columns: ColumnProps[] = [ |
|
|
|