From c47270ff1962e5554a1caa5274fa9723421801c8 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 21 十一月 2023 10:50:33 +0800
Subject: [PATCH] #

---
 pages/business/cstmr/cstmrDetails.vue |   24 ++++++++++++++++++------
 1 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/pages/business/cstmr/cstmrDetails.vue b/pages/business/cstmr/cstmrDetails.vue
index 8da6089..cce32b0 100644
--- a/pages/business/cstmr/cstmrDetails.vue
+++ b/pages/business/cstmr/cstmrDetails.vue
@@ -3,22 +3,22 @@
 		<scroll-view scroll-y="true" >
 			<view class="header">
 				<view class="cstmr-name">
-					<image src="../../../static/image/jiafangdanwei.png" mode="aspectFit"></image>
+					<image src="../../../static/image/infoSea.png" mode="aspectFit"></image>
 					<view>{{cstmr.name}}</view>
 				</view>
-				<view class="cstmr-tel">{{cstmr.tel}} | {{cstmr.addr}} | {{cstmr.director$}}</view>
+				<view class="cstmr-tel">{{cstmr.tel}} | {{cstmr.addr}} | {{cstmr.director$ ? cstmr.director$ : '--'}}</view>
 			</view>
 			<view class="container">
 				<view><y-title title="鍩烘湰淇℃伅"></y-title></view><view></view>
 				<view class="list-item1">瀹㈡埛浠e彿</view><view class="list-item2">{{cstmr.uuid}}</view>
-				<view class="list-item1">鎵�灞為儴闂�</view><view class="list-item2">{{cstmr.uuid}}</view>
+				<view class="list-item1">鎵�灞為儴闂�</view><view class="list-item2">{{cstmr.deptId$}}</view>
 				<view class="list-item1">瀹㈡埛鍚嶇О</view><view class="list-item2">{{cstmr.name}}</view>
 				<view class="list-item1">瀹㈡埛绫诲埆</view><view class="list-item2">{{cstmr.cstmrType$}}</view>
 				<view class="list-item1">鐪佸競鍖�</view><view class="list-item2">{{cstmr.pcd$}}</view>
 				<view class="list-item1">瀹㈡埛鑱旂郴浜�</view><view class="list-item2">{{cstmr.contacts}}</view>
 				<view class="list-item1">鍖哄垎</view><view class="list-item2">{{cstmr.type$}}</view>
-				<view class="list-item1">瀹㈡埛琛屼笟</view><view class="list-item2">{{cstmr.contacts}}</view>
-				<view class="list-item1">浜у搧绫诲埆</view><view class="list-item2">{{cstmr.contacts}}</view>
+				<view class="list-item1">瀹㈡埛琛屼笟</view><view class="list-item2">{{cstmr.industry}}</view>
+				<view class="list-item1">浜у搧绫诲埆</view><view class="list-item2">{{cstmr.productCategory}}</view>
 				<view class="list-item1">澶囨敞</view><view class="list-item2">{{cstmr.remarks  ? cstmr.remarks : '--'}}</view>
 				
 				<!-- <view class="list-item1">瀹㈡埛鍏崇郴</view><view class="list-item2">{{cstmr.rela  ? cstmr.rela : '--'}}</view> -->
@@ -103,6 +103,17 @@
 						res = res.data
 						that.cstmr = res.data
 						that.cstmrId = that.cstmr.id
+					}
+				})
+			},
+			edite() {
+				let _this = this
+				uni.navigateTo({
+					url: '/pages/business/cstmr/modiCsmter',
+					success: function(res) {
+						res.eventChannel.emit('cstmr', {
+							data: _this.cstmr
+						})
 					}
 				})
 			},
@@ -218,7 +229,8 @@
 						that.getFollowers()
 					}
 				})
-			}
+			},
+			
 		}
 	}
 </script>

--
Gitblit v1.9.1