Commit 8734e0c0 by 杨北旺

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

1 parent bdd6cf1d
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<div class="cell_wrapper flex_sc flex_esc"> <div class="cell_wrapper flex_sc flex_esc">
<el-button size="mini" @click="toshowDialog">查看礼券</el-button> <el-button size="mini" @click="toshowDialog">查看礼券</el-button>
<!-- <el-button size="mini" @click="toExport">导出数据</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>
<div style="height: 2px"></div> <div style="height: 2px"></div>
<div class="cell_wrapper flex_sc"> <div class="cell_wrapper flex_sc">
...@@ -291,26 +291,28 @@ export default { ...@@ -291,26 +291,28 @@ export default {
// 手机号 // 手机号
params.customerPhone = this.phoneNum params.customerPhone = this.phoneNum
} }
this.toGetCouponsList(params) this.$refs.table.page.pageNum = 1
this.newHttpParam = params
this.toGetCouponsList(true)
}, },
toshowDialog() { toshowDialog() {
this.dialogTableVisible = true this.dialogTableVisible = true
}, },
toGetCouponsList(params = {}) { toGetCouponsList() {
let method = findCoupons() let method = findCoupons()
let para = { let para = {
routerMethod: method, routerMethod: method,
currentPage: this.$refs.table.page.pageNum, currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize, pageSize: this.$refs.table.page.pageSize,
...params ...this.newHttpParam
} }
converterApi(para).then(res => { converterApi(para).then(res => {
this.httpParam = { this.httpParam = {
currentPage: this.$refs.table.page.pageNum, currentPage: this.$refs.table.page.pageNum,
pageSize: this.$refs.table.page.pageSize, pageSize: this.$refs.table.page.pageSize,
...params ...this.newHttpParam
} }
if(!res){ if (!res) {
return return
} }
this.tableData = res.list.map(item => { this.tableData = res.list.map(item => {
...@@ -414,7 +416,7 @@ export default { ...@@ -414,7 +416,7 @@ export default {
width: 156px; width: 156px;
} }
} }
.flex_esc{ .flex_esc {
display: flex; display: flex;
justify-content: flex-end; 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!