|
|
|
@ -293,25 +293,25 @@ const selectionChange = list => {
|
|
|
|
|
const searchChange = () => { |
|
|
|
|
// 日期处理 |
|
|
|
|
if (TopQuery.value.warehouseEntryTime) { |
|
|
|
|
queryCarn.value.startTaskTime = dayjs(TopQuery.value.warehouseEntryTime[0]).format( |
|
|
|
|
queryCarn.value.warehouseEntryTimeStart = dayjs(TopQuery.value.warehouseEntryTime[0]).format( |
|
|
|
|
'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
); //开始日期 |
|
|
|
|
queryCarn.value.endTaskTime = dayjs(TopQuery.value.warehouseEntryTime[1]).format( |
|
|
|
|
queryCarn.value.warehouseEntryTimeEnd = dayjs(TopQuery.value.warehouseEntryTime[1]).format( |
|
|
|
|
'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
); //结束日期 |
|
|
|
|
} else { |
|
|
|
|
delete queryCarn.value.warehouseEntryTimestartTaskTime; |
|
|
|
|
delete queryCarn.value.warehouseEntryTimeendTaskTime; |
|
|
|
|
delete queryCarn.value.warehouseEntryTimeStart; |
|
|
|
|
delete queryCarn.value.warehouseEntryTimeEnd; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (TopQuery.value.signinTime) { |
|
|
|
|
queryCarn.value.startTaskTime = dayjs(TopQuery.value.signinTime[0]).format( |
|
|
|
|
queryCarn.value.signingTimeStart = dayjs(TopQuery.value.signinTime[0]).format( |
|
|
|
|
'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
); //开始日期 |
|
|
|
|
queryCarn.value.endTaskTime = dayjs(TopQuery.value.signinTime[1]).format('YYYY-MM-DD HH:mm:ss'); //结束日期 |
|
|
|
|
queryCarn.value.signingTimeEnd = dayjs(TopQuery.value.signinTime[1]).format('YYYY-MM-DD HH:mm:ss'); //结束日期 |
|
|
|
|
} else { |
|
|
|
|
delete queryCarn.value.signinTimestartTaskTime; |
|
|
|
|
delete queryCarn.value.signinTimeendTaskTime; |
|
|
|
|
delete queryCarn.value.signingTimeStart; |
|
|
|
|
delete queryCarn.value.signingTimeEnd; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getrain(); |
|
|
|
@ -340,6 +340,8 @@ const searchHide = () => {
|
|
|
|
|
}; |
|
|
|
|
// 清空 |
|
|
|
|
const searchReset = () => { |
|
|
|
|
|
|
|
|
|
TopQuery.value={} |
|
|
|
|
details.query = {}; |
|
|
|
|
details.columnList.forEach(item => { |
|
|
|
|
item.values = ''; |
|
|
|
|