From 034286a876bb22af068313b1957279c254b7417a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sat, 23 Jan 2021 16:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=A0=B9=E6=8D=AE=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/order/index.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/order/index.vue b/src/components/order/index.vue index 9f9a232..57c7bfd 100644 --- a/src/components/order/index.vue +++ b/src/components/order/index.vue @@ -298,6 +298,13 @@ export default { this.get() }, dataExport () { + if (this.dateRange && this.dateRange.length === 2) { + this.searchModel.Btime = this.dateRange[0] + this.searchModel.Etime = this.dateRange[1] + } + if(this.searchModel.ProductIds.length>0){ + this.searchModel.ProductId = this.searchModel.ProductIds[0] + } this.$api.getDownloadFile('/course/v1/order/Export', this.searchModel) } }