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

内审管审仪表盘取值问题修复

cyy 4 месяцев назад
Родитель
Сommit
b7e3306931

+ 1 - 1
src/views/system/jbdScan/goods/guanshenzhuangtai.vue

@@ -570,7 +570,7 @@ export default {
         // }
         jieduanvalue = jishu + ''
         that.activeIndex = that.jieduan(jieduanvalue)
-        that.jieduanValue = that.activeIndex
+        that.jieduanValue = that.activeIndex || 0
         that.gettable(data.ji_hua_zong_wai_j)
       })
     },

+ 2 - 1
src/views/system/jbdScan/goods/neishenzhuangtai.vue

@@ -1133,7 +1133,8 @@ export default {
         jieduanvalue = data.jie_dian_ren_wu_
       }
       this.activeIndex = this.jieduan(jieduanvalue)
-      this.jieduanValue = this.activeIndex
+      console.log(this.activeIndex, 'this.activeIndex this.activeIndex ')
+      this.jieduanValue = this.activeIndex || 0
       this.gettable(data.ji_hua_zong_wai_j)
     },
     async gettable(id) {