Commit a848e31f by 王志慧

fixed

1 parent 65ea12aa
......@@ -179,7 +179,7 @@ export default {
data() {
return {
loading: false,
activePage: 2,
activePage: 1,
templateList: [],
couponList: [],
afterRangePickerOptions,
......@@ -305,8 +305,7 @@ export default {
}
},
mounted() {
// this.getRedEnvelopeTemplateList()
this.getCouponList()
if (this.configForm.id) this.getRedEnvelopeActivityDetail()
},
methods: {
......@@ -369,7 +368,8 @@ export default {
getCouponList() {
let params = {
pageSize: 10000,
pageNum: 1
pageNum: 1,
status: 2
}
this.$apis.redenvelope.getCouponList(params).then(res => {
this.couponList = res.list
......@@ -384,6 +384,7 @@ export default {
},
async handleConfirm(val) {
if (this.activePage == 1) {
this.getCouponList()
this.result = await this.$refs.configRef.validate()
}
if (this.result) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!