|
@@ -234,7 +234,7 @@ export default {
|
|
|
this.deptBudgetList.cumulativeStockOut
|
|
|
)
|
|
|
},
|
|
|
- inventoryRatio1: function () {
|
|
|
+ inventoryRatio1: function () {debugger
|
|
|
var loss =
|
|
|
this.deptBudgetList.cumulativeStockIn -
|
|
|
this.deptBudgetList.cumulativeStockOut -
|
|
@@ -246,7 +246,7 @@ export default {
|
|
|
var num = 0
|
|
|
} else {
|
|
|
// .占比=损耗量÷(累计入库-实际库存)
|
|
|
- num = Math.floor((loss / defect) * 1000000) / 1000
|
|
|
+ num = ((loss / defect)*100).toFixed(3)
|
|
|
}
|
|
|
// this.deptBudgetList.inventoryRatio = this.deptBudgetList.inventoryRatio.toFixed(3)
|
|
|
// this.deptBudgetList.inventoryRatio = num
|