From 38de059c83720527d3813448153390da3e6453dc Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期日, 02 七月 2023 13:52:25 +0800
Subject: [PATCH] 验质替换页面,称重判断修改

---
 pages/customer-page/customer-index/customer-index.vue |   21 +++++++++++++--------
 1 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index 37f6ad4..f6bb3e3 100644
--- a/pages/customer-page/customer-index/customer-index.vue
+++ b/pages/customer-page/customer-index/customer-index.vue
@@ -4,7 +4,7 @@
 			<view class="customer-index-body">
 				<!-- 寰呴鍙栧拰杞彂鎻愮叅鍗� -->
 				<view class="wait-collection"
-					style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain">
+					style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/customerbanner.png') ;background-size:contain;background-repeat: no-repeat;">
 				</view>
 				<view style="position: relative;top: -120px;">
 					<u-empty mode="data"
@@ -22,7 +22,8 @@
 							<view class="dispatch-receive">
 								<view class="dispatch">{{ item.filedName||'' }}</view>
 							</view>
-							<view class="point-number">
+							<view class="point-number"
+								v-if="roleType == 1">
 								<text class="residue">{{ item.cars2||'' }}</text>
 								<text>/{{ item.carNum ||''}}</text>
 							</view>
@@ -41,7 +42,7 @@
 									style="width: 24rpx;height: 24rpx;li ne-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/carNO.png') no-repeat;background-size: cover">
 								</view>
 							</view>
-							<view class="car-num">{{ item.carNos||''}}</view>
+							<view class="car-num">{{ item.carNos||item.carNo||''}}</view>
 						</view>
 						<view class="third-line">
 							<view class="time-icon">
@@ -62,11 +63,11 @@
 								v-if="item.orderType!=='澶栬喘'">
 								<view class="button-image">杞彂</view>
 							</view>
-							<view class="forward"
+							<!-- <view class="forward"
 								@click.stop="validateClick(index)"
 								v-if='roleType===4'>
 								<view class="button-image">楠岃川</view>
-							</view>
+							</view> -->
 						</view>
 					</view>
 				</view>
@@ -161,6 +162,7 @@
 </template>
 
 <script>
+	import { onlineurl } from '@/api/request.js'
 	import card from '@/components/card/card.vue';
 	import combinedTitle from '@/components/combined-title/combined-title.vue';
 	import { customerId } from '@/utils/status';
@@ -214,12 +216,14 @@
 				carNum: "",
 				// 鍓╀綑鐨勬彁鐓ゅ崟鏁伴噺
 				carNumSurplus: '',
-				canClick: false
+				canClick: false,
+				onlineurl: ''
 			};
 		},
 		onLoad() {},
 		onShow() {
 			this.init();
+			this.onlineurl = onlineurl;
 		},
 		methods: {
 			init() {
@@ -328,7 +332,7 @@
 			// 鎻愮叅鍗曡鎯�
 			cardBodyClick(v) {
 				uni
-					.navigateTo({ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&code=${v.code}&cars2=${v.cars2}` });
+					.navigateTo({ url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&code=${v.code}&cars2=${v.cars2?v.cars2:""}` });
 			},
 			// 鐐瑰嚮鍘嗗彶鎻愮叅鍗曡幏鍙栬鎯�
 			faYundetail(v) {
@@ -345,7 +349,7 @@
 			// 楠岃川
 			validateClick(index) {
 				uni
-					.navigateTo({ url: `/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail?index=${index}` });
+					.navigateTo({ url: `/pages/driver-page/driver-index/bill-of-lading-details/selectOrderPlan/selectOrderPlan?index=${index}` });
 			},
 		}
 	};
@@ -590,6 +594,7 @@
 						}
 
 						.car-num {
+							color: #515151;
 							white-space: nowrap;
 							overflow: hidden;
 							text-overflow: ellipsis;

--
Gitblit v1.9.1