调整商品库存报表展示的样式
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
</a-col>
|
</a-col>
|
||||||
<a-col :md="6" :sm="24">
|
<a-col :md="6" :sm="24">
|
||||||
<a-form-item>
|
<a-form-item>
|
||||||
<span>本月总结存数量:{{totalStockStr}},总结存金额:{{totalCountMoneyStr}}</span>
|
<span>本月总结存:{{totalStockStr}},总结存金额:{{totalCountMoneyStr}}</span>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<template v-if="toggleSearchStatus">
|
<template v-if="toggleSearchStatus">
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
depotList: [],
|
depotList: [],
|
||||||
categoryTree:[],
|
categoryTree:[],
|
||||||
totalStockStr: '0',
|
totalStockStr: '0',
|
||||||
totalCountMoneyStr: '0元',
|
totalCountMoneyStr: '0',
|
||||||
// 表头
|
// 表头
|
||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
@@ -222,7 +222,7 @@
|
|||||||
count = count.substring(0, count.lastIndexOf('.') + 3);
|
count = count.substring(0, count.lastIndexOf('.') + 3);
|
||||||
}
|
}
|
||||||
this.totalStockStr = stock;
|
this.totalStockStr = stock;
|
||||||
this.totalCountMoneyStr = count + "元";
|
this.totalCountMoneyStr = count;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -238,9 +238,9 @@
|
|||||||
this.dataSource = res.data.rows;
|
this.dataSource = res.data.rows;
|
||||||
this.ipagination.total = res.data.total;
|
this.ipagination.total = res.data.total;
|
||||||
this.tableAddTotalRow(this.columns, this.dataSource)
|
this.tableAddTotalRow(this.columns, this.dataSource)
|
||||||
this.currentStock = res.data.currentStock;
|
this.currentStock = res.data.currentStock.toFixed(2);
|
||||||
this.currentStockPrice = res.data.currentStockPrice;
|
this.currentStockPrice = res.data.currentStockPrice.toFixed(2);
|
||||||
this.currentWeight = res.data.currentWeight;
|
this.currentWeight = res.data.currentWeight.toFixed(2);
|
||||||
}
|
}
|
||||||
if(res.code===510){
|
if(res.code===510){
|
||||||
this.$message.warning(res.data)
|
this.$message.warning(res.data)
|
||||||
|
|||||||
Reference in New Issue
Block a user