From 6ba1c5a9f73604edb005212b7fed058e185ce295 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期四, 18 七月 2024 16:38:41 +0800
Subject: [PATCH] featL库管首页样式更新

---
 pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue
index 330b4dd..16a1810 100644
--- a/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue
+++ b/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails.vue
@@ -11,10 +11,10 @@
 				</view>
 				<view class="middle-container">
 					<view class="dept-name">
-						{{ deptName }}
+						{{ !pageType ?  deptName : customerName }}
 						<text v-show="deptName">({{ productNames || productName}})</text>
 					</view>
-					<view class="dept-num">
+					<view class="dept-num" v-if="!pageType">
 						<text style="font-size: 46rpx;
 						font-weight: 400;
 						color: #FFFFFF;
@@ -30,7 +30,7 @@
 					</view>
 				</view>
 				<view class="bottom-container">
-					<view class="bottom-block">
+					<view class="bottom-block"  v-if="!pageType">
 						<view class="bottom-content"
 							v-for="(item, index) in orderPlanDetail.huodaiList"
 							:key="index">
@@ -115,15 +115,21 @@
 			this.deptName = value.deptName;
 			this.coalName = value.coalName;
 			this.productName =  value.productNames;
+			this.customerName = value.customerName;
 			this.carNum = value.carNum ? value.carNum : null
 			console.log(value, '鍙戣繍璁″垝鍙傛暟');
+			if(value.roleType && value.roleType === '5'){
+				this.pageType = true; // 琛ㄧず鏄簱绠★紝闅愯棌鏌愪簺鍏冪礌
+			}
 		},
 		data() {
 			return {
 				orderPlanId: null,
 				orderCode: null,
+				customerName:'',
 				orderPlanDetail: {},
-				coalStatus: ['棰嗗彇', '棰勭害', '绛惧埌', '鍏ュ満', '绉扮毊', '绉版瘺', '绂诲満', '鍏ョ鎴�', '鍑虹鎴�', '鍏ョ叅浠�', '鍑虹叅浠�', '鏀剧┖', '浣滃簾', '鍏ュ満鐢宠',
+				pageType:false, // 椤甸潰鏄剧ずdom鍒ゆ柇鏉′欢
+				coalStatus: ['棰嗗彇', '棰勭害', '绛惧埌', '鍏ュ満', '绉扮毊', '绉版瘺', '绂诲満', '鍏ョ鎴�', '鍑虹鎴�', '鍏ヤ粨搴�', '鍑轰粨搴�', '鏀剧┖', '浣滃簾', '鍏ュ満鐢宠',
 					'杩涘叆鍦洪櫌', '寮傚父瀹℃牳涓�', '杩斿洖鍔犲噺鍚�', '瓒呮椂', '鎵撳嵃涓�', '鎵撳嵃涓�', '濉啓'
 				],
 				yyDailyList: [],
@@ -224,7 +230,7 @@
 				@include flex margin-left: vww(10);
 
 				.top-title {
-					width: 226rpx;
+					width: 250rpx;
 					height: 36rpx;
 					font-size: 38rpx;
 					font-weight: normal;
@@ -327,7 +333,7 @@
 			justify-content: center;
 
 			.main-block {
-				width: 690rpx;
+				width: 90%;
 				background: #ffffff;
 				box-shadow: 4rpx 6rpx 51rpx 0rpx rgba(73, 120, 240, 0.11);
 				border-radius: 20rpx;

--
Gitblit v1.9.1