刘洋 hai 1 ano
pai
achega
ac1e651b0c
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/report/service-analysis/index.vue

+ 2 - 2
src/views/report/service-analysis/index.vue

@@ -367,8 +367,8 @@ watch(supplierId, (supplierId) => {
       let obj2 = res.find(
         (item) => item.NAME === '区域协调人' || item.name === '区域协调人'
       );
-      obj1 && (ssgcsNum.value = obj1.count);
-      obj2 && (qyxtrNum.value = obj2.count);
+      ssgcsNum.value = obj1?.count || 0;
+      qyxtrNum.value = obj2?.count || 0;
     });
     // runGetRegionList({ serviceUnitId: serviceId.value, supplierId }).then(
     //   (res) => {