From a941d0d47647907f4a29135d72ce43420fcd96f6 Mon Sep 17 00:00:00 2001
From: wangweijia <495720349@qq.com>
Date: Fri, 10 Apr 2020 15:48:49 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E6=98=8E=E7=BB=86=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
kiisoo-ic-ui/src/pages/CustomerDetail.vue | 30 ++++++++++++++++++-----
1 file changed, 24 insertions(+), 6 deletions(-)
diff --git a/kiisoo-ic-ui/src/pages/CustomerDetail.vue b/kiisoo-ic-ui/src/pages/CustomerDetail.vue
index 6f0e584..14b1e1f 100644
--- a/kiisoo-ic-ui/src/pages/CustomerDetail.vue
+++ b/kiisoo-ic-ui/src/pages/CustomerDetail.vue
@@ -36,9 +36,15 @@
-
+
-
+
+
+ 客户名称
+
+
+
+
客户名称
@@ -47,15 +53,15 @@
-
-
+
+
关联会员
会员名称
{{customerData.vipName}}
-
+
手机号
@@ -67,13 +73,17 @@
消费次数
+ {{customerData.salesNum}}
+
消费金额
- 消费金额
+ {{customerData.salesAmt}}
最近消费
+ {{customerData.lastSalesDay}}
+
专属导购
@@ -121,6 +131,7 @@
sellerId: null,
sellerList: [{"id":1,"name":"一区"},{"id":2,"name":"二大区"}],
customerData: {},
+ vipModalWidth: 997,
columns1: [
{
title: '序号',
@@ -167,6 +178,7 @@
on: {
'click': () => {
that.customerData = that.data1[params.index];
+ that.ifVip();
that.customerName = null;
that.modal12 = true
}
@@ -331,6 +343,12 @@
that.modal12 = false;
},
+ ifVip: function(){
+ let that = this;
+ let vp = that.customerData.vipName !== '--';
+ if(!vp)that.vipModalWidth = 500;
+ return vp;
+ },
//切页处理
handlePage:function (value) {
this.pageNum = value;