shish 4 years ago
parent
commit
35309e1c06

+ 4 - 3
ghsApp/src/components/module/dateSelect.vue

@@ -119,9 +119,10 @@ export default {
         bindMonthChange(e){
             this.dropdownShow = !this.dropdownShow
             this.dropdownShow = false;
-            this.defaultDateName = e.target.value
-            console.log(e)
-            this.$emit('selectDateFn',{searchTime:'byMonth',startTime:e.target.value})
+            let currentMonth = e.target.value
+            this.defaultDateName = currentMonth
+            this.showMonth = currentMonth
+            this.$emit('selectDateFn',{searchTime:'byMonth',startTime:currentMonth})
         },
         showDatePicker(index){//显示
             this.showPicker = true;

+ 1 - 2
ghsApp/src/pagesArrears/details.vue

@@ -229,9 +229,8 @@ export default {
 
 			} catch (error) {}
 		},
-		// 支付成功
 		async paySuccess(parameter) {
-			await clearOrderApi({...parameter,modifyPrice:this.modifyPrice});
+			await clearOrderApi({...parameter,modifyPrice:this.modifyPrice,searchTime:this.searchTime,startTime:this.startTime,endTime:this.endTime});
 			this.pageTo({url:'/common/success', type: 2,query:{titleType:3}});
 		},
 		payFail() {