From 429cd60ea20a924d8d41206f997717aa50f669c0 Mon Sep 17 00:00:00 2001 From: wyj2080 <1603068044@qq.com> Date: Thu, 23 Apr 2020 11:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=B6=E6=8E=A8=E5=B9=BF=EF=BC=8C=E8=BF=87?= =?UTF-8?q?=E6=BB=A4=E5=BA=97=E9=93=BA=E6=94=B9=E5=88=B0=E5=90=8E=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ZeroExtendDetail.vue | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/pages/ZeroExtendDetail.vue b/src/pages/ZeroExtendDetail.vue index 0c75575..d7aba7f 100644 --- a/src/pages/ZeroExtendDetail.vue +++ b/src/pages/ZeroExtendDetail.vue @@ -205,8 +205,6 @@ let entity = data[i]; that.originAllData.push(entity); } - //过滤客户 - that.filterCustomer("export"); require.ensure([], () => { const { export_json_to_excel } = require('../excel/Export2Excel'); const tHeader = ['序号', '店铺名称', '店铺编码', '大区', '零售公司', '客户', '推广数']; @@ -256,8 +254,6 @@ //null改-- that.checkParamBlank(entity); } - //过滤客户 - that.filterCustomer("main"); } if(data == null || data.length === 0){ that.totalSize = 0; @@ -286,16 +282,6 @@ that.insertAllOption(); }); }, - //过滤客户 - filterCustomer: function(name){ - if(this.customerId){ - switch (name) { - case "main":this.data1 = this.data1.filter(shop => shop.customerId === this.customerId);break; - case "export": this.originAllData = this.originAllData.filter(shop => shop.customerId === this.customerId);break; - } - - } - }, //切页处理 handlePage: function (value) { this.pageNum = value;