qingyiay
2023-06-30 65050768bf5662148e17a824e1e2495fb3cbdac5
pages/tabbar-page/index-tabbar/index-tabbar.vue
@@ -13,7 +13,7 @@
            </view>
         </view>
      </view>
      <customer-index v-if="roleType == 1"
      <customer-index v-if="roleType == 1||roleType == 4"
         ref="customerIndexRef"
         :orderPlanDataStore="orderPlanDataStore"></customer-index>
      <freight-forwarder-index v-if="roleType == 2"
@@ -70,7 +70,7 @@
            });
         }
         // 客户获取日计划
         if (this.roleType == 1) {
         if (this.roleType == 1 || this.roleType == 4) {
            this.$reqGet('GetOrderPlan').then(res => {
               if (res.data) {
                  this.orderPlanDataStore = res.data;
@@ -217,6 +217,12 @@
                     this.$refs.driverIndexRef.init();
                  });
                  break;
               case 4:
                  console.log('customerIndexRef');
                  this.$nextTick(() => {
                     this.$refs.customerIndexRef.init();
                  });
                  break;
               default:
                  break;
            }