zhongzewei 7 år sedan
förälder
incheckning
8b8cb5f273
1 ändrade filer med 4 tillägg och 1 borttagningar
  1. 4 1
      web/building_saas/main/js/views/project_view.js

+ 4 - 1
web/building_saas/main/js/views/project_view.js

@@ -751,7 +751,10 @@ $('#property_ok').click(function () {
     }
     //清单工程量精度
     let newBillsDecimalDatas = billsDecimalView.toBillsDecimalDatas(billsDecimalView.cache);
+    console.log(newBillsDecimalDatas);
+    console.log(billsQuanDecimal.datas);
     if(billsDecimalView.toUpdate(billsQuanDecimal.datas, newBillsDecimalDatas)){
+        console.log(newBillsDecimalDatas);
         reCalcBills = true;
         properties['property.billsQuantityDecimal'] = newBillsDecimalDatas;
     }
@@ -776,7 +779,7 @@ $('#property_ok').click(function () {
         reCalcRations = true;
         reCalcBills = true;
     };
-
+    console.log(properties);
     // 重新计算树节点
     let changedNodes = [];
     if (reCalcRations)    // 定额动,全部计算。