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;