diff --git a/src/views/modules/presale/order/index.vue b/src/views/modules/presale/order/index.vue index 47925b9..8c4dc14 100644 --- a/src/views/modules/presale/order/index.vue +++ b/src/views/modules/presale/order/index.vue @@ -22,6 +22,23 @@ + + + + + + + 查询 重置 @@ -126,11 +143,15 @@ export default { components: { viewDetails }, data() { return { + valueOne: [], formInline: { group: '', shopId: '', pageNumber: 1, - pageSize: 10 + pageSize: 10, + name: '', + beginDate: '', + endDate: '' }, statusList: [ { @@ -162,11 +183,24 @@ export default { this.formInline = { group: '0', // marketId: this.marketId, - shopId: this.shopId + shopId: this.shopId, + name: '', + beginDate: '', + endDate: '' } this.getList() }, methods: { + changeValueOne(e) { + console.log(e) + if (e) { + this.formInline.beginDate = e[0] + this.formInline.endDate = e[1] + } else { + this.formInline.beginDate = '' + this.formInline.endDate = '' + } + }, getList() { //根据店铺查询 this.$api.mer_admin @@ -183,7 +217,10 @@ export default { Reset() { this.formInline = { group: '0', - shopId: this.shopId + shopId: this.shopId, + name: '', + beginDate: '', + endDate: '' } this.getList() },