|
|
@ -13,15 +13,26 @@ |
|
|
|
<el-date-picker |
|
|
|
<el-date-picker |
|
|
|
v-model="TopQuery.time" |
|
|
|
v-model="TopQuery.time" |
|
|
|
type="datetimerange" |
|
|
|
type="datetimerange" |
|
|
|
start-placeholder="开始日期" |
|
|
|
unlink-panels |
|
|
|
end-placeholder="结束日期" |
|
|
|
range-separator="至" |
|
|
|
format="YYYY-MM-DD" |
|
|
|
start-placeholder="开始时间" |
|
|
|
date-format="YYYY/MM/DD" |
|
|
|
end-placeholder="结束时间" |
|
|
|
time-format="A" |
|
|
|
:shortcuts="shortcuts" |
|
|
|
@change="Toptiem" |
|
|
|
:default-time="defaultTime2" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
<el-form-item label="扫描签收时间"> |
|
|
|
|
|
|
|
<el-date-picker |
|
|
|
|
|
|
|
v-model="TopQuery.Signfor" |
|
|
|
|
|
|
|
type="datetimerange" |
|
|
|
|
|
|
|
unlink-panels |
|
|
|
|
|
|
|
range-separator="至" |
|
|
|
|
|
|
|
start-placeholder="开始时间" |
|
|
|
|
|
|
|
end-placeholder="结束时间" |
|
|
|
|
|
|
|
:shortcuts="shortcuts" |
|
|
|
|
|
|
|
:default-time="defaultTime2" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="仓库"> |
|
|
|
<el-form-item label="仓库"> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
multiple |
|
|
|
multiple |
|
|
@ -216,6 +227,7 @@ const details = reactive({ |
|
|
|
search: false, |
|
|
|
search: false, |
|
|
|
/** 表格搜索条件 */ |
|
|
|
/** 表格搜索条件 */ |
|
|
|
query: {}, |
|
|
|
query: {}, |
|
|
|
|
|
|
|
defaultTime2: [new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 2, 1, 23, 59, 59)], // '12:00:00', '08:00:00' |
|
|
|
/** 时间快捷选择设置 */ |
|
|
|
/** 时间快捷选择设置 */ |
|
|
|
shortcuts: [ |
|
|
|
shortcuts: [ |
|
|
|
{ |
|
|
|
{ |
|
|
@ -303,6 +315,7 @@ const { |
|
|
|
zeroAdditionalRecordingInfo, |
|
|
|
zeroAdditionalRecordingInfo, |
|
|
|
popUpShow, |
|
|
|
popUpShow, |
|
|
|
recorddata, |
|
|
|
recorddata, |
|
|
|
|
|
|
|
defaultTime2, |
|
|
|
} = toRefs(details); |
|
|
|
} = toRefs(details); |
|
|
|
|
|
|
|
|
|
|
|
/** 展开列表控件 */ |
|
|
|
/** 展开列表控件 */ |
|
|
@ -368,6 +381,15 @@ const searchChange = () => { |
|
|
|
delete queryCarn.value.startTaskTime; |
|
|
|
delete queryCarn.value.startTaskTime; |
|
|
|
delete queryCarn.value.endTaskTime; |
|
|
|
delete queryCarn.value.endTaskTime; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 签收扫描时间 |
|
|
|
|
|
|
|
if (TopQuery.value.Signfor?.length) { |
|
|
|
|
|
|
|
queryCarn.value.startTaskTime = dayjs(TopQuery.value.time[0]).format('YYYY-MM-DD HH:mm:ss'); //开始日期 |
|
|
|
|
|
|
|
queryCarn.value.endTaskTime = dayjs(TopQuery.value.time[1]).format('YYYY-MM-DD HH:mm:ss'); //结束日期 |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
delete queryCarn.value.startTaskTime; |
|
|
|
|
|
|
|
delete queryCarn.value.endTaskTime; |
|
|
|
|
|
|
|
} |
|
|
|
// 仓库处理 |
|
|
|
// 仓库处理 |
|
|
|
if (TopQuery.value.warehouseNameRange?.length) { |
|
|
|
if (TopQuery.value.warehouseNameRange?.length) { |
|
|
|
queryCarn.value.warehouseNameRange = TopQuery.value.warehouseNameRange.join(','); |
|
|
|
queryCarn.value.warehouseNameRange = TopQuery.value.warehouseNameRange.join(','); |
|
|
|