| | |
| | | "minified" : true |
| | | }, |
| | | "usingComponents" : true, |
| | | "permission" : {}, |
| | | "permission" : { |
| | | "scope.userLocation" : { |
| | | "desc" : "获取店铺位置与实现蓝牙打印功能" |
| | | } |
| | | }, |
| | | "plugins" : {} |
| | | }, |
| | | // "chooseLocation" : { |
| | |
| | | title, |
| | | icon: 'none', |
| | | mask: false, |
| | | duration: 1500, |
| | | duration: 2000, |
| | | position: 'center' |
| | | } |
| | | if (options && options.image) { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import moment from 'moment' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | if (index === 0) { |
| | | var currentMonthStr = this.$util.toDate(new Date()).substring(0, 8) + '01' |
| | | this.query.startDateStr = currentMonthStr |
| | | // moment().startOf |
| | | var lastMonthDate = new Date(new Date(this.$util.toDate(new Date(currentMonthStr).getTime() + |
| | | 3600_000 * 24 * 40).substring(0, 8) + '01').getTime() - 3600_000 * 24 * 1) |
| | | this.query.endDateStr = this.$util.toDate(lastMonthDate) |