|
|
|
@ -38,7 +38,19 @@
|
|
|
|
|
:value-format="'YYYY-MM-DD HH:mm:ss'" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="复核完成时间"> |
|
|
|
|
<el-date-picker |
|
|
|
|
v-model="TopQuery.traintime" |
|
|
|
|
type="datetimerange" |
|
|
|
|
unlink-panels |
|
|
|
|
range-separator="至" |
|
|
|
|
start-placeholder="开始时间" |
|
|
|
|
end-placeholder="结束时间" |
|
|
|
|
:shortcuts="shortcuts" |
|
|
|
|
:default-time="defaultTime2" |
|
|
|
|
:value-format="'YYYY-MM-DD HH:mm:ss'" |
|
|
|
|
/> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-button type="primary" icon="el-icon-search" @click="searchChange">搜 索</el-button> |
|
|
|
|
<el-button icon="el-icon-delete" @click="searchReset()">清 空</el-button> |
|
|
|
|
</el-form-item> |
|
|
|
@ -433,6 +445,14 @@ const TopSearch = () => {
|
|
|
|
|
delete details.query.deliveryDateStart; |
|
|
|
|
delete details.query.deliveryDateEnd; |
|
|
|
|
} |
|
|
|
|
if (TopQuery.value.traintime?.length) { |
|
|
|
|
details.query.trainCompletionTimeStart = TopQuery.value.traintime[0]; //开始日期 |
|
|
|
|
details.query.trainCompletionTimeEnd = TopQuery.value.traintime[1]; //结束日期 |
|
|
|
|
} else { |
|
|
|
|
delete details.query.trainCompletionTimeStart; |
|
|
|
|
delete details.query.trainCompletionTimeEnd; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (TopQuery.value.destinationWarehouse?.length) { |
|
|
|
|
details.query.destinationWarehouse = TopQuery.value.destinationWarehouse.join(','); |
|
|
|
|