Browse Source

普通报销报销类型取消分包

chenjun 1 year ago
parent
commit
9796db7c17

+ 3 - 2
zjugis-business/src/main/resources/templates/CommonCost/js/index.js

@@ -167,8 +167,9 @@
         let trFragment = document.createDocumentFragment();
         trFragment.appendChild(trDom);
         $(".tbody").append(trFragment)
-        if(viewState === 'v'){
-            costTypeJSON = costTypeNoSubJSON
+        costTypeJSON = costTypeNoSubJSON;
+        if(viewState != 'v'){
+            costTypeJSON = costTypeJSON
         }
         costTypeJSON.forEach(obj => {
             obj.treeName = 'CommonCostDetailDO[' + i + ']$costType';