-
+
diff --git a/src/views/report/Product/year.vue b/src/views/report/Product/year.vue
index 5eac943a..a49076a0 100644
--- a/src/views/report/Product/year.vue
+++ b/src/views/report/Product/year.vue
@@ -1,7 +1,7 @@
@@ -12,11 +12,11 @@
:model="listQuery"
class="blueTip">
@@ -93,9 +93,11 @@ export default {
let now = new Date()
now.setHours(0, 0, 0, 0)
now.setDate(1)
+ now.setMonth(0)
let startOfMonth = now.getTime()
- let firstDayOfMonth = new Date(startOfMonth)
- this.listQuery.time = parseTime(firstDayOfMonth)
+ // let firstDayOfMonth = new Date(startOfMonth)
+ // console.log('看看', parseTime(firstDayOfMonth))
+ this.listQuery.time = startOfMonth
},
mounted() {
this.getList();