|
@@ -344,7 +344,7 @@ export class OrderSourceStatisticsComponent implements OnInit {
|
344
|
344
|
return;
|
345
|
345
|
}
|
346
|
346
|
// this.startDate = result.getFullYear() + '-' + (result.getMonth() + 1) + '-01';
|
347
|
|
- this.endDate = result.getFullYear() + "-" + (result.getMonth() + 1) + "-31";
|
|
347
|
+ this.endDate = endOfMonth(result).getFullYear() + "-" + (endOfMonth(result).getMonth() + 1) + "-" + endOfMonth(result).getDate();
|
348
|
348
|
}
|
349
|
349
|
// 年份选择
|
350
|
350
|
changeYearStart(result?) {
|