| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | width="60%" |
| | | width="80%" |
| | | :visible.sync="visible" |
| | | :confirm-working="isWorking" |
| | | @confirm="confirm" |
| | |
| | | } |
| | | } |
| | | const numRule = (rule, value, callBack) => { |
| | | if (value < 0) { |
| | | if (value ==='') { |
| | | callBack(new Error()) |
| | | } else if (value < 0) { |
| | | callBack(new Error()) |
| | | } else { |
| | | callBack() |
| | |
| | | applyCateIdList: [], |
| | | type: 0, |
| | | limitPrice: '', |
| | | maxPrice:'', |
| | | price: '', |
| | | startDate: '', |
| | | endDate: '', |
| | |
| | | getMethod: '', |
| | | integral: '', |
| | | status: '', |
| | | num: '', |
| | | num: 0, |
| | | info: '' |
| | | }, |
| | | shops: [], |
| | |
| | | this.getDate = [] |
| | | this.form.startDate = '' |
| | | this.form.endDate = '' |
| | | this.form.validDays='' |
| | | this.form.maxPrice ='' |
| | | this.applyDataList = [] |
| | | this.form.applyIdList = [] |
| | | this.form.applyCateIdList = [] |
| | |
| | | this.form.price = null |
| | | this.form.startDate = null |
| | | this.form.endDate = null |
| | | this.form.num = 1 |
| | | this.form.num = 0 |
| | | // 新建 |
| | | if (target == null) { |
| | | this.$nextTick(() => { |