Просмотр исходного кода

广西100章不输出price、sum

Tony Kang 2 лет назад
Родитель
Сommit
332e5b4bce
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      web/building_saas/standard_interface/export/guangxi_common.js

+ 5 - 0
web/building_saas/standard_interface/export/guangxi_common.js

@@ -1467,6 +1467,11 @@ INTERFACE_EXPORT = (() => {
               attrs[5].value = '' + ttlSum;
             }
           }
+          // 清单100章Price、Sum不用输出
+          if (_billStrFilter(bNode.data.name) == "清单第100章总则") {
+            attrs[4].value = 0;
+            attrs[5].value = 0;
+          }
 
           Element.call(this, "Item", attrs);
           let cc = CostComposition(bNode);