소스 검색

历史消费

twt 1 개월 전
부모
커밋
c0a458b87c
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      pages/user/historySpend.vue

+ 3 - 3
pages/user/historySpend.vue

@@ -172,7 +172,7 @@
 				appraise:false,
 				ReceiptsMoney:false,//支付金额
 				iStatusBarHeight:'',
-				array: [],
+				array: ['全部'],
 				index: 0,
 				wxOpenData: '',
 				plateNumber:'',
@@ -252,8 +252,8 @@
 				this.$http('openweiXinCardInfoController/plateNumber-by-customerId', {
 				    customerId:this.wxOpenData.loginInfo.uid
 				}, 'GET').then(res => {
-					this.array=res.data.split(',')
-					this.array.unshift('全部')
+					var arr = res.data.split(',')
+					this.array=this.array.concat(arr)
 				})
 			},
 			//显示权限