Browse Source

总计传参变更

chenrui 4 years ago
parent
commit
4a5281dc20
1 changed files with 5 additions and 1 deletions
  1. 5 1
      pages/index/index.vue

+ 5 - 1
pages/index/index.vue

@@ -85,7 +85,11 @@
 		methods:{
 			//  总计
 			getGoldLogTotal(){
-				GoldLogTotal({}).then(res => {
+				GoldLogTotal({
+					beginDate: this.searchForm.beginDate,
+					endDate: this.searchForm.endDate,
+					customerMobile: this.searchForm.customerMobile
+				}).then(res => {
 					if(res.status == 200){
 						this.ldTotal = res.data ? res.data.changeNum : 0
 					}else{