调整商品库存报表展示的样式
This commit is contained in:
parent
cd55e3f831
commit
428962ee1f
@ -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;
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user