diff --git a/src/api/stockTask/index.js b/src/api/stockTask/index.js index 42c2d08..81d2227 100644 --- a/src/api/stockTask/index.js +++ b/src/api/stockTask/index.js @@ -123,4 +123,12 @@ export function FetchIsGoodcutByBillNoAndGridId(params) { }) } -export default { add, edit, del, FetchUpdateStockTaskStatus, FetchInitSuggestTilting, FetchInitSetting, FetchEditSetting, FetchInitHomeInfo, FetchInitStockInfo, FetchInitHotBookList, FetchInitHotShelfList, FetchInitBookDetailsByGrids, FetchAITerminalStatusQuery, FetchBillByShelfIdAndGridShelf, FetchIsGoodcutByBillNoAndGridId } +// 建议顺架 +export function FetchInitErrorProbaDesc(params) { + return request({ + url: 'api/stocktask-task/initErrorProbaDesc' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + +export default { add, edit, del, FetchUpdateStockTaskStatus, FetchInitSuggestTilting, FetchInitSetting, FetchEditSetting, FetchInitHomeInfo, FetchInitStockInfo, FetchInitHotBookList, FetchInitHotShelfList, FetchInitBookDetailsByGrids, FetchAITerminalStatusQuery, FetchBillByShelfIdAndGridShelf, FetchIsGoodcutByBillNoAndGridId, FetchInitErrorProbaDesc } diff --git a/src/views/components/checkSwiper.vue b/src/views/components/checkSwiper.vue new file mode 100644 index 0000000..86abcd6 --- /dev/null +++ b/src/views/components/checkSwiper.vue @@ -0,0 +1,183 @@ + + + + + diff --git a/src/views/home.vue b/src/views/home.vue index 329c635..9e9e93d 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -84,33 +84,33 @@ - +

- 流通统计 + 盘点统计

-
- +
+
- +

- 馆藏统计 + 流通统计

-
- -
-
- -

暂无数据

+ +
+
@@ -124,8 +124,9 @@ import PanelGroup from './dashboard/PanelGroup' import taskStockLogEcharts from '@/views/components/echarts/taskStockLog.vue' // import lendAcross from '@/views/components/echarts/lendAcross.vue' // import catePie from '@/views/components/echarts/catePie.vue' -import typePie from '@/views/components/echarts/typePie.vue' +// import typePie from '@/views/components/echarts/typePie.vue' import bookSwiper from '@/views/components/bookSwiper.vue' +import checkSwiper from '@/views/components/checkSwiper.vue' import serverProgress from '@/views/components/echarts/serverProgress.vue' import { FetchInitHomeInfo, FetchInitStockInfo } from '@/api/stockTask/index' import { FetchInitStockLogList } from '@/api/stockTaskLog/index' @@ -140,7 +141,8 @@ export default { taskStockLogEcharts, // catePie, bookSwiper, - typePie, + checkSwiper, + // typePie, serverProgress }, data() { diff --git a/src/views/visualCheck/checkManage/dataScreening/girdList.vue b/src/views/visualCheck/checkManage/dataScreening/girdList.vue index c2e3e60..da7c158 100644 --- a/src/views/visualCheck/checkManage/dataScreening/girdList.vue +++ b/src/views/visualCheck/checkManage/dataScreening/girdList.vue @@ -36,7 +36,8 @@
-->
最后更新时间: - {{ checkDateLine[0].endTime }} + + {{ checkDateLine[0].stockType === 0 ? '现在' : checkDateLine[0].endTime }}
{ return new Date(b.endTime) - new Date(a.endTime) }) + this.checkDateLine.unshift({ + stockType: 0, + icon: 'el-icon-more', + color: '#0bbd87' + }) this.billNoImg = this.checkDateLine[0].stockBill - this.checkDateLine[0].icon = 'el-icon-more' - this.checkDateLine[0].color = '#0bbd87' } else { this.checkDateLine = [] } @@ -671,8 +675,10 @@ export default { font-size: 14px; } .el-button{ + width: 134px; padding:5px; border: none; + text-align: left; } .time-update-line{ display: none;