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) } }