调整商品库存报表展示的样式

This commit is contained in:
季圣华 2023-05-14 18:36:35 +08:00
parent cd55e3f831
commit 428962ee1f
2 changed files with 6 additions and 6 deletions

View File

@ -45,7 +45,7 @@
</a-col>
<a-col :md="6" :sm="24">
<a-form-item>
<span>本月总结存数量{{totalStockStr}}总结存金额{{totalCountMoneyStr}}</span>
<span>本月总结存{{totalStockStr}}总结存金额{{totalCountMoneyStr}}</span>
</a-form-item>
</a-col>
<template v-if="toggleSearchStatus">
@ -144,7 +144,7 @@
depotList: [],
categoryTree:[],
totalStockStr: '0',
totalCountMoneyStr: '0元',
totalCountMoneyStr: '0',
// 表头
columns: [
{
@ -222,7 +222,7 @@
count = count.substring(0, count.lastIndexOf('.') + 3);
}
this.totalStockStr = stock;
this.totalCountMoneyStr = count + "";
this.totalCountMoneyStr = count;
}
})
},

View File

@ -238,9 +238,9 @@
this.dataSource = res.data.rows;
this.ipagination.total = res.data.total;
this.tableAddTotalRow(this.columns, this.dataSource)
this.currentStock = res.data.currentStock;
this.currentStockPrice = res.data.currentStockPrice;
this.currentWeight = res.data.currentWeight;
this.currentStock = res.data.currentStock.toFixed(2);
this.currentStockPrice = res.data.currentStockPrice.toFixed(2);
this.currentWeight = res.data.currentWeight.toFixed(2);
}
if(res.code===510){
this.$message.warning(res.data)