From 8d61dc60466e243414d2a05106bf8cf173fb47f0 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期六, 31 八月 2024 13:48:55 +0800
Subject: [PATCH] feat:PVC增加分配数

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

diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index d337d74..01fa8bb 100644
--- a/pages/customer-page/customer-index/customer-index.vue
+++ b/pages/customer-page/customer-index/customer-index.vue
@@ -5,7 +5,7 @@
 				
 				<!-- 寰呴鍙栧拰杞彂鏀跺彂鍗� -->
 				<view class="wait-collection"
-					style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain">
+					style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain">
 				</view>
 					<!-- 鑷富閰嶉�佺晫闈� -->
 				<view class="self-deliver" v-if="personnelType === 1">
@@ -50,7 +50,7 @@
 						</view>
 						<view class="second-line">
 							<view class="coal-name">
-								<view class="">{{ item.productNames || item.productName }}</view>
+								<view class="coal-name-tag">{{ item.productNames || item.productName }}</view>
 								<view class="black-bar"></view>
 								<view class="coal-type"
 									v-if="item.orderType">{{ item.orderType }}</view>
@@ -69,7 +69,9 @@
 						</view>
 						<view class="fourth-line">
 							<view class="receive"
-								@click.stop="receiveClick(item)">
+								@click.stop="receiveClick(item)"
+								v-if="Number(item.cars2)  <  Number(item.carNum)"
+								>
 								<view class="button-image">棰嗗彇</view>
 							</view>
 							<view class="forward"
@@ -355,7 +357,7 @@
 				console.log(111,obj)
 				if (obj.cars2 == 0) return this.$u.toast('璇峰厛棰嗗彇鍚庡啀杞彂');
 				uni
-					.navigateTo({ url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&orderType=${obj.orderType}&carNumSurplus1=${obj.carNumSurplus1}&carNum=${obj.carNum}&cars2=${obj.cars2}` });
+					.navigateTo({ url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&orderType=${obj.orderType}&carNumSurplus1=${obj.carNumSurplus1}&carNum=${obj.carNum}&cars2=${obj.cars2}&productName=${obj.productName}&customerId=${obj.customerId}`});
 			},
 			// 鑷富閰嶉��
 			selfDeliver() {
@@ -480,6 +482,9 @@
 					width: 70%;
 					height: vww(50);
 					margin-right: vww(21);
+				    white-space: nowrap; /* 涓嶆崲琛� */  
+				   overflow: hidden; /* 瓒呭嚭闅愯棌 */  
+				   text-overflow: ellipsis; 
 				}
 
 				.order-type {
@@ -612,7 +617,7 @@
 
 					.second-line {
 						width: 100%;
-						height: vww(90);
+						height: vww(50);
 						margin-left: vww(16);
 						display: flex;
 						align-items: center;
@@ -630,6 +635,12 @@
 							display: flex;
 							margin-top: 20rpx;
 							align-items: center;
+							.coal-name-tag{
+								width: 70%;
+							white-space: nowrap; /* 涓嶆崲琛� */  
+							overflow: hidden; /* 瓒呭嚭闅愯棌 */  
+					   		 text-overflow: ellipsis; 
+							}
 
 							.black-bar {
 								width: 2rpx;

--
Gitblit v1.9.1