diff --git a/src/views/invest/futuresAnalysis/index.vue b/src/views/invest/futuresAnalysis/index.vue index 8ca5a3a..51c9e60 100644 --- a/src/views/invest/futuresAnalysis/index.vue +++ b/src/views/invest/futuresAnalysis/index.vue @@ -198,7 +198,7 @@ const data = reactive({ const { queryParams, queryFutureStocksListParams, rules } = toRefs(data) const today = new Date() -const end = today.getFullYear() + '-' + ('0' + today.getMonth()).slice(-2) +const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) const start = dayjs(end).add(-59, 'months') queryParams.value.time = [start, end] /** 查询期货股票卡管理列表 */ @@ -217,7 +217,7 @@ const handleTimeChange = (type) => { queryParams.value.time = null if (type === 2) { const today = new Date() - const end = today.getFullYear() + '-' + ('0' + today.getMonth()).slice(-2) + const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) const start = dayjs(end).add(-59, 'months') queryParams.value.time = [start, end] } else if (type === 3) { diff --git a/src/views/invest/investAnalysis/index.vue b/src/views/invest/investAnalysis/index.vue index 866e53d..d6a88c3 100644 --- a/src/views/invest/investAnalysis/index.vue +++ b/src/views/invest/investAnalysis/index.vue @@ -207,14 +207,14 @@ const data = reactive({ const { queryParams, rules } = toRefs(data) const today = new Date() -const end = today.getFullYear() + '-' + ('0' + today.getMonth()).slice(-2) +const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) const start = dayjs(end).add(-59, 'months') queryParams.value.time = [start, end] const handleTimeChange = (type) => { queryParams.value.time = null if (type === 2) { const today = new Date() - const end = today.getFullYear() + '-' + ('0' + today.getMonth()).slice(-2) + const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) const start = dayjs(end).add(-59, 'months') queryParams.value.time = [start, end] } else if (type === 3) { diff --git a/src/views/invest/peopleLendHistory/index.vue b/src/views/invest/peopleLendHistory/index.vue index cd56dd3..36caa13 100644 --- a/src/views/invest/peopleLendHistory/index.vue +++ b/src/views/invest/peopleLendHistory/index.vue @@ -8,8 +8,8 @@ - - + + @@ -44,7 +44,7 @@ - + @@ -80,8 +80,8 @@ - - + + @@ -149,7 +149,7 @@ const data = reactive({ bankCardLendId: [{ required: true, message: '人情账户不能为空', trigger: 'blur' }], installmentAmount: [{ required: true, message: '借款金额不能为空', trigger: 'blur' }], installmentDate: [{ required: true, message: '借款日期不能为空', trigger: 'blur' }], - state: [{ required: true, message: '账户状态不能为空', trigger: 'change' }] + state: [{ required: true, message: '结清状态不能为空', trigger: 'change' }] } }) diff --git a/src/views/invest/stocksAnalysis/index.vue b/src/views/invest/stocksAnalysis/index.vue index 93e6840..3410486 100644 --- a/src/views/invest/stocksAnalysis/index.vue +++ b/src/views/invest/stocksAnalysis/index.vue @@ -199,7 +199,7 @@ const data = reactive({ const { queryParams, queryFutureStocksListParams, rules } = toRefs(data) const today = new Date() -const end = today.getFullYear() + '-' + ('0' + today.getMonth()).slice(-2) +const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) const start = dayjs(end).add(-59, 'months') queryParams.value.time = [start, end] /** 查询期货股票卡管理列表 */ @@ -218,7 +218,7 @@ const handleTimeChange = (type) => { queryParams.value.time = null if (type === 2) { const today = new Date() - const end = today.getFullYear() + '-' + ('0' + today.getMonth()).slice(-2) + const end = today.getFullYear() + '-' + ('0' + (today.getMonth() + 1)).slice(-2) const start = dayjs(end).add(-59, 'months') queryParams.value.time = [start, end] } else if (type === 3) {