订单导出

This commit is contained in:
yanran200730
2023-04-14 15:58:12 +08:00
parent c37a19036a
commit 87ae42f7fe
2 changed files with 19 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
<ai-search-bar>
<template slot="left">
<ai-select
v-model="search.type"
v-model="search.goodsType"
@change="(search.current = 1), getList()"
placeholder="请选择商品类型"
:selectList="dict.getDict('integralSGType')">
@@ -31,6 +31,13 @@
placeholder="选择订单结束日期"
@change="search.current = 1, getList()">
</el-date-picker>
<ai-download
:instance="instance"
url="/app/appintegralsupermarketorder/export"
:params="search"
fileName="订单列表"
:disabled="tableData.length == 0">
</ai-download>
</template>
<template slot="right">
<el-input
@@ -110,7 +117,7 @@
data() {
return {
search: {
type: '',
goodsType: '',
title: '',
current: 1,
status: '',

View File

@@ -4,7 +4,7 @@
<ai-search-bar>
<template slot="left">
<ai-select
v-model="search.type"
v-model="search.goodsType"
@change="(search.current = 1), getList()"
placeholder="请选择商品类型"
:selectList="dict.getDict('integralSGType')">
@@ -31,6 +31,13 @@
placeholder="选择订单结束日期"
@change="search.current = 1, getList()">
</el-date-picker>
<ai-download
:instance="instance"
url="/app/appintegralsupermarketorder/export"
:params="search"
fileName="订单列表"
:disabled="tableData.length == 0">
</ai-download>
</template>
<template slot="right">
<el-input
@@ -111,7 +118,7 @@
data() {
return {
search: {
type: '',
goodsType: '',
title: '',
current: 1,
status: '',
@@ -155,7 +162,7 @@
params: {
...this.search,
type: 1,
areaId: this.areaId
girdCode: this.areaId
}
}).then((res) => {
if (res.code == 0) {