From ae2efe9a1b627fcfbe61020e9e0a82470a3959d7 Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Tue, 26 Jan 2021 23:07:03 +0800
Subject: [PATCH] Merge branch 'hive2.0' into api

---
 zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html
index ec5869c..2a13ba4 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/vip.html
@@ -149,7 +149,7 @@
                     <el-row style="padding: 10px 20px;">
                         <p>余额:<span v-if="vipInfo.balance != null">{{vipInfo.balance}}元</span></p>
                         <p>积分:<span v-if="vipInfo.pointAll != null">{{vipInfo.pointAll}}</span></p>
-                        <p>累计消费金额:<span v-if="vipInfo.totalMoney != null">{{vipInfo.totalMoney}} 元</span></p>
+                        <p>累计消费金额:<span v-if="vipInfo.totalMoney != null">{{vipInfo.totalMoney.toFixed(2)}} 元</span></p>
                         <p>累计消费次数:<span v-if="vipInfo.totalTimes != null">{{vipInfo.totalTimes}} 次</span></p>
                         <p>上次消费时间:<span v-if="vipInfo.payTime">{{vipInfo.payTime}}</span></p>
                     </el-row>
@@ -769,7 +769,7 @@
                             _this.vipInfo.shopNames = shopNames;
                         }
                     }
-
+                    _this.vipInfo.payTime = moment(_this.vipInfo.payTime).format("YYYY-MM-DD HH:mm:ss")
                     _this.tags.tags = data.labels;
                     _this.projTableQueryFn();
                     _this.serviceOrderTableQueryFn();
@@ -1368,10 +1368,10 @@
             /********** 顶部按钮 start **********/
 
             dateFormat(row, column) {
-                return moment(column.yyTime).format("YYYY-MM-DD HH:mm");
+                return moment(row.yyTime).format("YYYY-MM-DD HH:mm");
             },
             oderTimeFormat(row, column) {
-                return moment(column.orderTime).format("YYYY-MM-DD HH:mm:ss");
+                return moment(row.orderTime).format("YYYY-MM-DD HH:mm:ss");
             },
         }
     });

--
Gitblit v1.9.1