|
|
@@ -5,11 +5,11 @@
|
|
|
<view class="title">
|
|
|
客户
|
|
|
</view>
|
|
|
- <view class="address-des_bx content-box" @click='pageTo({url:"/pagesClient/member/detail",query: {id: detailInfo.customId}})'>
|
|
|
+ <view class="address-des_bx content-box" @click="copyCustom(detailInfo)">
|
|
|
<view>
|
|
|
<view style="overflow:hidden;text-overflow:ellipsis;white-space: nowrap;width:450upx;"> {{ detailInfo.customName }} {{ detailInfo.customMobile }}</view>
|
|
|
<view style="margin-bottom:20upx;color:#333333">店长:{{ detailInfo.customSuper.name||''}}</view>
|
|
|
- <view>{{ detailInfo.customAddress}}</view>
|
|
|
+ <view>{{ detailInfo.address}}{{ detailInfo.floor}}({{detailInfo.showAddress}})</view>
|
|
|
</view>
|
|
|
<view>
|
|
|
<i @click.stop="callUp(detailInfo.customMobile)" class="iconfont icondianhua1"></i>
|
|
|
@@ -371,6 +371,20 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ copyCustom(detailInfo){
|
|
|
+ let customName = detailInfo.customName
|
|
|
+ let customMobile = detailInfo.customMobile
|
|
|
+ let customSuper = detailInfo.customSuper.name
|
|
|
+ let address = detailInfo.address+detailInfo.floor+"("+detailInfo.showAddress+")"
|
|
|
+ let val = customName+" "+customMobile+"\n"+customSuper+"\n"+address
|
|
|
+ const self = this
|
|
|
+ uni.setClipboardData({
|
|
|
+ data: val,
|
|
|
+ success: function() {
|
|
|
+ self.$msg("复制成功")
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
giveItemFn(item){
|
|
|
this.givePopShow = true
|
|
|
this.giveNum = 1
|