瀏覽代碼

总计传参变更

chenrui 4 年之前
父節點
當前提交
4a5281dc20
共有 1 個文件被更改,包括 5 次插入1 次删除
  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{