Ver Fonte

Merge remote-tracking branch 'origin/康年堂' into 康年堂

yh há 3 dias atrás
pai
commit
2df06bf5af
1 ficheiros alterados com 6 adições e 1 exclusões
  1. 6 1
      src/views/his/company/index.vue

+ 6 - 1
src/views/his/company/index.vue

@@ -958,7 +958,12 @@ export default {
       this.followDoctorList = response.rows
     })
     cateList().then((response) => {
-      this.cateList = response.rows
+      console.log(response.rows)
+      if ( response.rows.length == 0) {
+        this.getDicts('store_product_package_cate').then(response => {
+          this.cateList = response.data
+        })
+      }
     })
     listDept().then(response => {
       this.deptOptions = response.data