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

+ 2 - 2
web/building_saas/standard_interface/export/zhejiang_ninghai.js

@@ -292,11 +292,11 @@ INTERFACE_EXPORT = (() => {
         return '22'
       }
       // 工程一切险
-      if ((node.data.code == '-a') && (node.parent && (node.parent.data.code == '101-1'))) {
+      if ((node.data.code == '-a' || node.data.code == '101-1-1') && (node.parent && (node.parent.data.code == '101-1'))) {
         return '23'
       }
       // 第三者责任险
-      if ((node.data.code == '-b') && (node.parent && (node.parent.data.code == '101-1'))) {
+      if ((node.data.code == '-b' || node.data.code == '101-1-2') && (node.parent && (node.parent.data.code == '101-1'))) {
         return '24'
       }
       return '20';