浏览代码

调差bug done

laiguoran 3 年之前
父节点
当前提交
6af69e0ea2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/controller/material_controller.js

+ 1 - 0
app/controller/material_controller.js

@@ -79,6 +79,7 @@ module.exports = app => {
                     if (!openMaterialTax && s.material_tax === 1) {
                         openMaterialTax = 1;
                     }
+                    s.decimal = s.decimal ? JSON.parse(s.decimal) : materialConst.decimal;
                 }
                 renderData.stages = stages;
                 renderData.openMaterialTax = openMaterialTax;