进销存汇总数优化,保留两位小数,四舍五入
This commit is contained in:
@@ -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.toFixed(2);
|
||||
this.currentStockPrice = res.data.currentStockPrice.toFixed(2);
|
||||
this.currentWeight = res.data.currentWeight.toFixed(2);
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user