فهرست منبع

内审实施计划直接暂存获取不到进度数值问题修复

CHINAMI-P698360\Administrator 1 سال پیش
والد
کامیت
43637245b4
1فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 6 4
      src/views/system/jbdScan/goods/neishenzhuangtai.vue

+ 6 - 4
src/views/system/jbdScan/goods/neishenzhuangtai.vue

@@ -843,13 +843,15 @@ export default {
                 return 90
                 return 90
             } else if (value.includes('9')) {
             } else if (value.includes('9')) {
                 return 100
                 return 100
+            } else if (value.includes('0')) {
+                return 0
             }
             }
         },
         },
         // 不符合项条款统计数据
         // 不符合项条款统计数据
         getNoData (arr, type, callBlack) {
         getNoData (arr, type, callBlack) {
             const firstArr = []
             const firstArr = []
             let secondArr = []
             let secondArr = []
-           
+
             arr.forEach((it) => {
             arr.forEach((it) => {
                 const newBianhao = it.tiao_kuan_bian_ha.split('.')[0]
                 const newBianhao = it.tiao_kuan_bian_ha.split('.')[0]
                 if (firstArr.length == 0) {
                 if (firstArr.length == 0) {
@@ -880,7 +882,7 @@ export default {
                     }
                     }
                 }
                 }
             })
             })
-           
+
             type === 'CMA' ? (this.cmaSuorce = firstArr) : (this.source = firstArr)
             type === 'CMA' ? (this.cmaSuorce = firstArr) : (this.source = firstArr)
             callBlack()
             callBlack()
         },
         },
@@ -969,7 +971,7 @@ export default {
             } else if (!data.shi_fou_guo_shen_) {
             } else if (!data.shi_fou_guo_shen_) {
                 jieduanvalue = '2'
                 jieduanvalue = '2'
             } else {
             } else {
-                jieduanvalue = data.jie_dian_ren_wu_
+                jieduanvalue = data.jie_dian_ren_wu_ || '0'
             }
             }
             this.activeIndex = this.jieduan(jieduanvalue)
             this.activeIndex = this.jieduan(jieduanvalue)
             this.jieduanValue = this.activeIndex
             this.jieduanValue = this.activeIndex
@@ -992,7 +994,7 @@ export default {
                     }
                     }
                 })
                 })
                 this_.$nextTick(() => {
                 this_.$nextTick(() => {
-                console.log('this_.CNASTableData', this_.CNASTableData, this_.getLoadEchartsTwo)
+                    console.log('this_.CNASTableData', this_.CNASTableData, this_.getLoadEchartsTwo)
                     if (this_.CNASTableData.length > 0) {
                     if (this_.CNASTableData.length > 0) {
                         this_.getNoData(this_.CNASTableData, 'CNAS', this_.getLoadEchartsTwo)
                         this_.getNoData(this_.CNASTableData, 'CNAS', this_.getLoadEchartsTwo)
                         this_.getPieData(this_.CNASTableData, 'CNAS', this_.getLoadEchartsthree)
                         this_.getPieData(this_.CNASTableData, 'CNAS', this_.getLoadEchartsthree)