Browse Source

成本修改舱位隐藏逻辑

yuanrf 2 weeks ago
parent
commit
ccc7e18733
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/components/Finance/Cost.vue

+ 5 - 0
src/components/Finance/Cost.vue

@@ -7087,6 +7087,11 @@ export default {
                     item.style.display = 'block';
                 })
 
+                console.log(this.rollcallarr.length, 'this.rollcallarr.length');
+                if (this.rollcallarr.length == 0) {
+                    return;
+                }
+
                 if (this.costTypevalue == 'B') {
                     container.querySelectorAll('.biaogeB').forEach((item) => {
                         item.style.display = 'block';