Sfoglia il codice sorgente

总计传参变更

chenrui 4 anni fa
parent
commit
4a5281dc20
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  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{