فهرست منبع

客户管理 订单查询改造

xgb 1 هفته پیش
والد
کامیت
cdee17f9cd
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      src/views/crm/components/customerDetails.vue
  2. 2 2
      src/views/crm/components/customerStoreOrderList.vue

+ 1 - 1
src/views/crm/components/customerDetails.vue

@@ -197,7 +197,7 @@
                     this.$refs.voiceLogs.getData(this.item.customerId);
                     this.$refs.voiceLogs.getData(this.item.customerId);
                 }
                 }
                 if(tab.name=="storeOrder"){
                 if(tab.name=="storeOrder"){
-                    this.$refs.storeOrder.getData(this.item.customerId);
+                    this.$refs.storeOrder.getData(this.item.userId);
                 }
                 }
                 if(tab.name=="smsLogs"){
                 if(tab.name=="smsLogs"){
                     this.$refs.smsLogs.getData(this.item.customerId);
                     this.$refs.smsLogs.getData(this.item.customerId);

+ 2 - 2
src/views/crm/components/customerStoreOrderList.vue

@@ -153,8 +153,8 @@ import productOrder from "../../components/his/storeProductDetails.vue";
                     this.$refs.order.getOrder(orderId);
                     this.$refs.order.getOrder(orderId);
                 }, 500);
                 }, 500);
             },
             },
-            getData(customerId){
-                this.queryParams.customerId=customerId;
+            getData(userId){
+                this.queryParams.userId=userId;
                 this.queryParams.pageNum=1;
                 this.queryParams.pageNum=1;
                 this.getList();
                 this.getList();
             },
             },