diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue index cf6a0c4..21bb3cb 100644 --- a/ruoyi-ui/src/views/index.vue +++ b/ruoyi-ui/src/views/index.vue @@ -31,7 +31,7 @@
盘点单数
- +
@@ -168,10 +168,11 @@ export default { getListData() { // 所有单据数量 finishCount().then(response => { + console.log(response) this.quantity.inbound_order = response.data.stockinCount this.quantity.outbound_order = response.data.stockoutCount this.quantity.inventory_sheet = response.data.stockcheckCount - this.quantity.total_documents = response.data.stockinCount + response.data.stockoutCount + response.data.stockcheckCount + this.quantity.total_documents = Number(response.data.stockinCount) + Number(response.data.stockoutCount) + Number(response.data.stockcheckCount) }) // 周入库出库作业 weekjob().then(response => {