Browse Source

feat: 小数位数中,定额合价、清单合价的小数位数默认为0

vian 4 years ago
parent
commit
87481bb6cd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      modules/pm/models/project_property_template.js

+ 2 - 2
modules/pm/models/project_property_template.js

@@ -4,8 +4,8 @@
 
 //默认的小数位数,用于定义用户可编辑的字段(入库),用户不可编辑的字段在前端defaultDecima._def中定义即可
 const defaultDecimal = {
-    bills: { unitPrice: 2, totalPrice: 2 },
-    ration: { quantity: 4, unitPrice: 2, totalPrice: 2 },
+    bills: { unitPrice: 2, totalPrice: 0 },
+    ration: { quantity: 4, unitPrice: 2, totalPrice: 0 },
     glj: { quantity: 4, unitPriceHasMix: 2, unitPrice: 2 },
     feeRate: 3,
     quantity_detail: 4,