From 3913b3c5c8cde03f8c92d1c738d28c4a9bae7e55 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 22 十一月 2023 08:48:02 +0800
Subject: [PATCH] #
---
pages/business/saleManage/cstmrDetls.vue | 38 +++++++++++++++++++++++++++++---------
1 files changed, 29 insertions(+), 9 deletions(-)
diff --git a/pages/business/saleManage/cstmrDetls.vue b/pages/business/saleManage/cstmrDetls.vue
index 7045861..bec1086 100644
--- a/pages/business/saleManage/cstmrDetls.vue
+++ b/pages/business/saleManage/cstmrDetls.vue
@@ -6,10 +6,24 @@
<image src="../../../static/image/zuzhibumen.png" mode="aspectFit"></image>
<view>{{saleManage.name}}</view>
</view>
- <view class="cstmr-tel">
+ <!-- <view class="cstmr-tel">
{{saleManage.company$}} |
{{saleManage.money ? saleManage.pcd$ : '--'}} |
{{saleManage.director$ ? saleManage.pcd$ : '--'}}
+ </view> -->
+ <view class="cstmr-tel">
+ <view class="tel-box">
+ <view>瀹㈡埛鐢佃瘽</view>
+ <view >{{cstmr.tel ? cstmr.tel : '--'}}</view>
+ </view>
+ <view class="tel-box">
+ <view>瀹㈡埛璇︾粏鍦板潃</view>
+ <view >{{cstmr.addr ? cstmr.addr : '--'}}</view>
+ </view>
+ <view class="tel-box">
+ <view>璐熻矗浜�</view>
+ <view >{{cstmr.director$ ? cstmr.director$ : '--'}}</view>
+ </view>
</view>
</view>
<view class="container">
@@ -77,9 +91,7 @@
}
},
onLoad(option) {
-
- if (option == '') {
- console.log(option);
+ if (JSON.stringify(option) != "{}") {
this.id = option.id
this.init()
this.autoLoad('follower','')
@@ -91,11 +103,12 @@
const eventChannel = this.getOpenerEventChannel();
eventChannel.on('cstmr', function(data) {
_this.id = data.data
- console.log(data.data);
+ _this.init()
})
- this.init()
+
this.autoLoad('follower','')
setTimeout(()=>{
+
this.getFollowers()
},500)
}
@@ -112,7 +125,6 @@
method: 'GET',
success(res) {
res = res.data
- console.log(res);
that.saleManage = res.data
that.cstmr = res.data
that.cstmrId = that.cstmr.id
@@ -257,10 +269,18 @@
height: 35rpx;
}
.cstmr-tel {
- min-height: 60rpx;
- line-height: 60rpx;
font-size: 24rpx;
color: #303133;
+ display: flex;
+ }
+ .tel-box {
+ margin-top: 20rpx;
+ padding-right: 8rpx;
+ margin-left: 10rpx;
+ border-right: 1px solid #b1b3b8;
+ }
+ .tel-box:last-child {
+ border: none
}
.container {
margin-top: 10px;
--
Gitblit v1.9.1