Procházet zdrojové kódy

客户管理 订单查询改造

xgb před 1 týdnem
rodič
revize
cdee17f9cd

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

@@ -197,7 +197,7 @@
                     this.$refs.voiceLogs.getData(this.item.customerId);
                 }
                 if(tab.name=="storeOrder"){
-                    this.$refs.storeOrder.getData(this.item.customerId);
+                    this.$refs.storeOrder.getData(this.item.userId);
                 }
                 if(tab.name=="smsLogs"){
                     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);
                 }, 500);
             },
-            getData(customerId){
-                this.queryParams.customerId=customerId;
+            getData(userId){
+                this.queryParams.userId=userId;
                 this.queryParams.pageNum=1;
                 this.getList();
             },