Browse Source

add market price

zhangweicheng 7 years atrás
parent
commit
63b3eca4e7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      web/users/js/main_tree_col.js

+ 5 - 0
web/users/js/main_tree_col.js

@@ -24,6 +24,11 @@ let MainTreeCol = {
         },
         code: function (node) {
 
+        },
+        marketPrice:function (node) {
+            if((node.sourceType === projectObj.project.Ration.getSourceType()&&node.data.type==rationType.gljRation)||node.sourceType==projectObj.project.ration_glj.getSourceType()){
+                return assistCalcer.uiGLJPrice(node.data.marketUnitFee);
+            }
         }
     },
     readOnly: {