Commit 8734e0c0 by 杨北旺

更改精品礼券领取订单查询条件

1 parent bdd6cf1d
......@@ -38,7 +38,7 @@
<div class="cell_wrapper flex_sc flex_esc">
<el-button size="mini" @click="toshowDialog">查看礼券</el-button>
<!-- <el-button size="mini" @click="toExport">导出数据</el-button> -->
<GLButton size="mini" fn="导出礼券" @click="toExport">导出数据</GLButton>
<GLButton size="mini" fn="导出礼券" @click="toExport">导出数据</GLButton>
</div>
<div style="height: 2px"></div>
<div class="cell_wrapper flex_sc">
......@@ -291,26 +291,28 @@ export default {
// 手机号
params.customerPhone = this.phoneNum
}
this.toGetCouponsList(params)
this.$refs.table.page.pageNum = 1
this.newHttpParam = params
this.toGetCouponsList(true)
},
toshowDialog() {
this.dialogTableVisible = true
},
toGetCouponsList(params = {}) {
toGetCouponsList() {
let method = findCoupons()
let para = {
routerMethod: method,
currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize,
...params
...this.newHttpParam
}
converterApi(para).then(res => {
this.httpParam = {
currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize,
...params
...this.newHttpParam
}
if(!res){
if (!res) {
return
}
this.tableData = res.list.map(item => {
......@@ -414,7 +416,7 @@ export default {
width: 156px;
}
}
.flex_esc{
.flex_esc {
display: flex;
justify-content: flex-end;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!