This commit is contained in:
猫猫guowen
2025-06-18 17:52:25 +08:00
parent 8f1e944602
commit a53e2ef0c0

View File

@@ -31,7 +31,7 @@
</div> </div>
<div class="card-panel-description"> <div class="card-panel-description">
<div class="card-panel-text">盘点单数</div> <div class="card-panel-text">盘点单数</div>
<count-to :start-val="0" :end-val="Number(quantity.inbound_order)|| 0" :duration="3200" class="card-panel-num"/> <count-to :start-val="0" :end-val="Number(quantity.inventory_sheet)|| 0" :duration="3200" class="card-panel-num"/>
</div> </div>
</div> </div>
</el-col> </el-col>
@@ -168,10 +168,11 @@ export default {
getListData() { getListData() {
// 所有单据数量 // 所有单据数量
finishCount().then(response => { finishCount().then(response => {
console.log(response)
this.quantity.inbound_order = response.data.stockinCount this.quantity.inbound_order = response.data.stockinCount
this.quantity.outbound_order = response.data.stockoutCount this.quantity.outbound_order = response.data.stockoutCount
this.quantity.inventory_sheet = response.data.stockcheckCount 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 => { weekjob().then(response => {