|
@@ -40,18 +40,18 @@ export default {
|
|
|
// 初次加载
|
|
|
firstDepData() {
|
|
|
this.$nextTick(() => {
|
|
|
- let nowDate = new Date()
|
|
|
- let date = {
|
|
|
- year: nowDate.getFullYear(),
|
|
|
- month: nowDate.getMonth() + 1
|
|
|
- }
|
|
|
- if (date.month >= 1 && date.month <= 9) {
|
|
|
- date.month = '0' + date.month
|
|
|
- }
|
|
|
- var time = date.year + '-' + date.month
|
|
|
+ // let nowDate = new Date()
|
|
|
+ // let date = {
|
|
|
+ // year: nowDate.getFullYear(),
|
|
|
+ // month: nowDate.getMonth() + 1
|
|
|
+ // }
|
|
|
+ // if (date.month >= 1 && date.month <= 9) {
|
|
|
+ // date.month = '0' + date.month
|
|
|
+ // }
|
|
|
+ // var time = date.year + '-' + date.month
|
|
|
|
|
|
- this.queryParam.startYearMonth = time
|
|
|
- this.queryParam.endYearMonth = time
|
|
|
+ // this.queryParam.startYearMonth = time
|
|
|
+ // this.queryParam.endYearMonth = time
|
|
|
this.queryParam.vendorType = '内部'
|
|
|
depChart(this.queryParam).then(res => {
|
|
|
// console.log('2', this.queryParam)
|