|
|
|
@ -282,27 +282,7 @@
|
|
|
|
|
</div> |
|
|
|
|
<!-- 顶部结束 --> |
|
|
|
|
<!-- 首页表格 --> |
|
|
|
|
<el-row> |
|
|
|
|
<!-- 列表模块 --> |
|
|
|
|
<tablecmt |
|
|
|
|
:columnList="menuData" |
|
|
|
|
:tableData="dataInfo" |
|
|
|
|
:loading="loadingObj.list" |
|
|
|
|
@inputTxt="inputsc" |
|
|
|
|
@timeCheck="timesc" |
|
|
|
|
@btnCheck="btnsc" |
|
|
|
|
@selectCheck="selectsc" |
|
|
|
|
@selection="selectionChange" |
|
|
|
|
> |
|
|
|
|
<template #default="slotProps"> |
|
|
|
|
<template v-if="slotProps.scope.column.label === '操作'"> |
|
|
|
|
<div class="ElBtnClass"> |
|
|
|
|
<el-button @click="view(slotProps.scope)">查看</el-button> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
</template> |
|
|
|
|
</tablecmt> |
|
|
|
|
</el-row> |
|
|
|
|
|
|
|
|
|
<div class="el-Cart"> |
|
|
|
|
<!-- 表格列开始 --> |
|
|
|
|
<el-table |
|
|
|
@ -896,80 +876,80 @@ const TCzj = ref(); //弹窗组件实例
|
|
|
|
|
const soInpuState = ref(false); //搜索框状态表示当前没有搜索 |
|
|
|
|
const statisticsList = ref([]); //需要统计的字段 |
|
|
|
|
const inputValue = ref('number'); //零担输入的值 |
|
|
|
|
const details = reactive({ |
|
|
|
|
/** 是否开启搜索 */ |
|
|
|
|
search: false, |
|
|
|
|
/** 表格搜索条件 */ |
|
|
|
|
query: {}, |
|
|
|
|
/** 时间快捷选择设置 */ |
|
|
|
|
shortcuts: [ |
|
|
|
|
{ |
|
|
|
|
text: '最近一周', |
|
|
|
|
value: () => { |
|
|
|
|
const end = new Date(); |
|
|
|
|
const start = new Date(); |
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); |
|
|
|
|
return [start, end]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: '最近一个月', |
|
|
|
|
value: () => { |
|
|
|
|
const end = new Date(); |
|
|
|
|
const start = new Date(); |
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); |
|
|
|
|
return [start, end]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
text: '最近三个月', |
|
|
|
|
value: () => { |
|
|
|
|
const end = new Date(); |
|
|
|
|
const start = new Date(); |
|
|
|
|
start.setTime(start.getTime() - 3600 * 1000 * 24 * 90); |
|
|
|
|
return [start, end]; |
|
|
|
|
}, |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
/** 时间选择器数据 */ |
|
|
|
|
stockupDate: [], |
|
|
|
|
/** 列表 */ |
|
|
|
|
columnList, |
|
|
|
|
/** 列表数据 */ |
|
|
|
|
data: [{}], |
|
|
|
|
/** 页面loading */ |
|
|
|
|
loadingObj: { |
|
|
|
|
/** 列表加载loading */ |
|
|
|
|
list: false, |
|
|
|
|
packageListLoading: false, |
|
|
|
|
}, |
|
|
|
|
/** 列表复选框选中的数据 */ |
|
|
|
|
selectionList: [], |
|
|
|
|
/** 是否显示设置表格 */ |
|
|
|
|
drawerShow: false, |
|
|
|
|
/** 分页参数 */ |
|
|
|
|
page: { |
|
|
|
|
currentPage: 1, |
|
|
|
|
pageSize: 50, |
|
|
|
|
total: 0, |
|
|
|
|
}, |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const { |
|
|
|
|
search, |
|
|
|
|
query, |
|
|
|
|
shortcuts, |
|
|
|
|
stockupDate, |
|
|
|
|
data, |
|
|
|
|
loadingObj, |
|
|
|
|
selectionList, |
|
|
|
|
drawerShow, |
|
|
|
|
page, |
|
|
|
|
trickleLoadingPage, |
|
|
|
|
zeroAdditionalRecordingInfo, |
|
|
|
|
popUpShow, |
|
|
|
|
recorddata, |
|
|
|
|
} = toRefs(details); |
|
|
|
|
// const details = reactive({ |
|
|
|
|
// /** 是否开启搜索 */ |
|
|
|
|
// search: false, |
|
|
|
|
// /** 表格搜索条件 */ |
|
|
|
|
// query: {}, |
|
|
|
|
// /** 时间快捷选择设置 */ |
|
|
|
|
// shortcuts: [ |
|
|
|
|
// { |
|
|
|
|
// text: '最近一周', |
|
|
|
|
// value: () => { |
|
|
|
|
// const end = new Date(); |
|
|
|
|
// const start = new Date(); |
|
|
|
|
// start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); |
|
|
|
|
// return [start, end]; |
|
|
|
|
// }, |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// text: '最近一个月', |
|
|
|
|
// value: () => { |
|
|
|
|
// const end = new Date(); |
|
|
|
|
// const start = new Date(); |
|
|
|
|
// start.setTime(start.getTime() - 3600 * 1000 * 24 * 30); |
|
|
|
|
// return [start, end]; |
|
|
|
|
// }, |
|
|
|
|
// }, |
|
|
|
|
// { |
|
|
|
|
// text: '最近三个月', |
|
|
|
|
// value: () => { |
|
|
|
|
// const end = new Date(); |
|
|
|
|
// const start = new Date(); |
|
|
|
|
// start.setTime(start.getTime() - 3600 * 1000 * 24 * 90); |
|
|
|
|
// return [start, end]; |
|
|
|
|
// }, |
|
|
|
|
// }, |
|
|
|
|
// ], |
|
|
|
|
// /** 时间选择器数据 */ |
|
|
|
|
// stockupDate: [], |
|
|
|
|
// /** 列表 */ |
|
|
|
|
// columnList, |
|
|
|
|
// /** 列表数据 */ |
|
|
|
|
// data: [{}], |
|
|
|
|
// /** 页面loading */ |
|
|
|
|
// loadingObj: { |
|
|
|
|
// /** 列表加载loading */ |
|
|
|
|
// list: false, |
|
|
|
|
// packageListLoading: false, |
|
|
|
|
// }, |
|
|
|
|
// /** 列表复选框选中的数据 */ |
|
|
|
|
// selectionList: [], |
|
|
|
|
// /** 是否显示设置表格 */ |
|
|
|
|
// drawerShow: false, |
|
|
|
|
// /** 分页参数 */ |
|
|
|
|
// page: { |
|
|
|
|
// currentPage: 1, |
|
|
|
|
// pageSize: 50, |
|
|
|
|
// total: 0, |
|
|
|
|
// }, |
|
|
|
|
// }); |
|
|
|
|
|
|
|
|
|
// const { |
|
|
|
|
// search, |
|
|
|
|
// query, |
|
|
|
|
// shortcuts, |
|
|
|
|
// stockupDate, |
|
|
|
|
// data, |
|
|
|
|
// loadingObj, |
|
|
|
|
// selectionList, |
|
|
|
|
// drawerShow, |
|
|
|
|
// page, |
|
|
|
|
// trickleLoadingPage, |
|
|
|
|
// zeroAdditionalRecordingInfo, |
|
|
|
|
// popUpShow, |
|
|
|
|
// recorddata, |
|
|
|
|
// } = toRefs(details); |
|
|
|
|
const dataInfoID = ref(); //点击删除保存当前ID |
|
|
|
|
// 司机选择信息 |
|
|
|
|
// 车辆选项 |
|
|
|
|