zhengkaixin 2 лет назад
Родитель
Сommit
8bc8278f8f
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      pagesFinance/statistics/index.vue

+ 3 - 3
pagesFinance/statistics/index.vue

@@ -91,7 +91,7 @@
 
 		<u-picker mode="time" v-model="popupShow" @confirm="changedate" :default-time="queryTime" :params="params">
 		</u-picker>
-		<u-picker mode="time" v-model="popupShow2" @confirm="changedate2" :default-time="queryTime2+'-1'"
+		<u-picker mode="time" v-model="popupShow2" @confirm="changedate2" :default-time="queryTime2+'-01'"
 			:params="params"></u-picker>
 		<u-picker mode="selector" v-model="popupShow3" @confirm="changedate3" :range="stationList" range-key="name"
 			:default-selector="[selectstationIndex]"></u-picker>
@@ -448,7 +448,7 @@
 			// 	return this.queryTime+'-1'
 			// },
 			startTime2() {
-				return this.queryTime2 + '-1'
+				return this.queryTime2 + '-01'
 			},
 
 		},
@@ -670,7 +670,7 @@
 
 
 				this.queryTime = e.year + '-' + e.month;
-				this.startTime = e.year + '-' + e.month + '-1';
+				this.startTime = e.year + '-' + e.month + '-01';
 				
 				if (e.month == '12') {
 					this.endTime = (e.year) + "-12-31"