{{item.onickName}}
- {{setTiem(item.createDate,"YYYY-MM-DD HH:mm:ss")}}
+ {{setTiem(item.createDate,"YYYY-MM-DD HH:mm:ss")}}
{{`¥${item.deductionAmount/100}`}}
@@ -95,6 +95,13 @@ export default {
...mapState(['merchant_id'])
},
methods: {
+ //根据时间查找
+ search(){
+ this.getCardPay();
+ this.payMum1();
+ this.payMum2();
+ this.payMum3();
+ },
//查询消费卡扫码记录列表
getCardPay() {
this.$http.cardPayList({
@@ -174,6 +181,7 @@ export default {
const tmepTime = formatDate(new Date(date), "yyyy-MM-dd")
this.startTiem = tmepTime
this.startTiemShow = false
+ this.startdate = tmepTime +' 00:00:00'
console.log(this.startTiem ,"????");
},
@@ -181,6 +189,7 @@ export default {
const tmepTime = formatDate(new Date(date), "yyyy-MM-dd")
this.endTiem = tmepTime
this.endTiemShow = false
+ this.enddate = tmepTime+' 23:59:59'
console.log(this.endTiem ,"????");
},
//时间处理
@@ -189,10 +198,7 @@ export default {
}
},
mounted(){
- this.getCardPay();
- this.payMum1();
- this.payMum2();
- this.payMum3();
+ this.search()
}
};
@@ -290,7 +296,10 @@ export default {
font-weight: 500;
border-bottom: 0.01rem solid #f6f6f6;
color: rgba(153, 153, 153, 1);
- padding-top: 0.5rem;
+ padding: 0.46rem;
+ width: 90%;
+ margin: 0.5rem 5%;
+ border-radius: 0.2rem;
}
.content_left {
width: 50%;
@@ -301,6 +310,7 @@ export default {
.customer{
color: #000;
font-size: 0.48rem;
+ line-height: 0.48rem;
}
.content_rigth {
width: 50%;
@@ -308,8 +318,7 @@ export default {
text-indent: 1.2rem;
}
.price {
- margin-top: 0.5rem;
- margin-bottom: 0.05rem;
+ margin-bottom: 0.3rem;
}
.content_left_text {
margin-top: 1rem;