| | |
| | | </div> |
| | | <el-table ref="table" style="margin-top: 20px;height: 580px;width: 1770px;" :data="tableDatax" :header-cell-style="{background:'#F2F3F5 ',color:'#1D2129'}"> |
| | | <el-table-column prop="flowCardId" align="center" :label="$t('searchOrder.processcards')" min-width="80" /> |
| | | <el-table-column prop="cell" align="center" :label="$t('searchOrder.line')" min-width="50" /> |
| | | <el-table-column prop="totalLayer" align="center" :label="$t('hellow.totalLayer')" min-width="80" /> |
| | | <el-table-column prop="totalPairQuantity" align="center" :label="$t('hellow.totalPairQuantity')" min-width="80" /> |
| | | <el-table-column |
| | |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 10px;"> |
| | | <el-row style="margin-top: 20px;"> |
| | | <el-col :span="8"> |
| | | <div id="dt" style="font-size: 15px;"> |
| | | <div> |
| | |
| | | </div></div> |
| | | </el-col> |
| | | </el-row> |
| | | <el-row style="margin-top: 10px;"> |
| | | <el-row style="margin-top: 20px;"> |
| | | <el-col :span="8"> |
| | | <div id="dt" style="font-size: 15px;"> |
| | | <div> |
| | |
| | | const defaultTime = ref<[Date, Date]>([new Date(), new Date()]); |
| | | function parseAndSetTime() { |
| | | const backendTime = new Date(getglobalDate); |
| | | const oneWeekAgo = new Date(backendTime.getTime() - 7 * 24 * 60 * 60 * 1000); // 减去7天 |
| | | const oneWeekAgo = new Date(backendTime.getTime() - 0 * 24 * 60 * 60 * 1000); // 减去7天 |
| | | oneWeekAgo.setHours(0, 0, 0, 0); |
| | | timeRange.value = [formatTimestamp(oneWeekAgo), formatTimestamp(backendTime)]; |
| | | window.localStorage.setItem('startTime', formatTimestamp(oneWeekAgo)) |
| | |
| | | }); |
| | | </script> |
| | | <style scoped> |
| | | #dt { display:block; float:left;line-height: 20px;margin-left: 10px;} |
| | | #dta { display:block; float:left;line-height: 20px;margin-left: 50%;} |
| | | </style> |