|
@@ -109,9 +109,7 @@ class GLJListModel extends BaseModel {
|
|
let quantityList = {};
|
|
let quantityList = {};
|
|
// 整理数据
|
|
// 整理数据
|
|
for (let tmp of quantityData) {
|
|
for (let tmp of quantityData) {
|
|
- // 解决js小数点bug
|
|
|
|
- let tmpQuantity = tmp.quantity + '';
|
|
|
|
- quantityList[tmp.projectGLJID] = parseFloat(tmpQuantity.toFixed(2));
|
|
|
|
|
|
+ quantityList[tmp.projectGLJID] = tmp.quantity;
|
|
}
|
|
}
|
|
|
|
|
|
// 查找组成物的消耗量
|
|
// 查找组成物的消耗量
|