Commit 8734e0c0 by 杨北旺

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

1 parent bdd6cf1d
...@@ -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!