Bläddra i källkod

总计传参变更

chenrui 4 år sedan
förälder
incheckning
4a5281dc20
1 ändrade filer med 5 tillägg och 1 borttagningar
  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{