From 1b2b99dc4ebf5dd1b40f516d334e02ecb64827cf Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期一, 13 一月 2025 17:37:13 +0800
Subject: [PATCH] feat:客户分享日计划限制& 库管查看拼单按钮增加传参

---
 pages/customer-page/customer-index/customer-index.vue |  983 +++++++++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 734 insertions(+), 249 deletions(-)

diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index 0c403a4..1944dfc 100644
--- a/pages/customer-page/customer-index/customer-index.vue
+++ b/pages/customer-page/customer-index/customer-index.vue
@@ -1,291 +1,776 @@
 <template>
-	<view class="customer-index">
-		<view class="customer-index-body">
-			<card v-for="(item, index) in orderPlanData" :key="index" :name="item.id" @click="cardBodyClick">
-				<template v-slot:left>
-					<view class="card-left__top">
-						<text>{{ item.carNum }}</text>
-						寮�
+	<view class="">
+		<view class="customer-index">
+			<view class="customer-index-body">
+				
+				<!-- 寰呴鍙栧拰杞彂鏀跺彂鍗� -->
+				<view class="wait-collection"
+					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">
+					<view class="self-deliver_text">
+						鍒涘缓鏃ヨ鍒掕鍗� 
 					</view>
-					<view class="card-left__utils">
-						<u-button @tap.stop="receiveClick(item)" text="棰嗗彇" type="primary" v-if="item.cars == item.cars2 ? false : true" shape="circle"></u-button>
-						<u-button text="杞彂" type="primary" @tap.stop="forwardClick(item)" shape="circle"></u-button>
+					<view class="self-deliver_btn">
+						<u-button text="鍘诲垱寤�"
+							type="primary"
+							shape="cirle"
+							@click="selfDeliver"></u-button>
 					</view>
-				</template>
-				<template v-slot:right-top>
-					<view class="right-top">
-						<view class="card-right-top-row">
-							<view>
-								<text>{{ item.compName || '' }}</text>
+				</view>
+				<view style="position: relative;top: -120px;">
+					<u-empty mode="data"
+						icon="http://cdn.uviewui.com/uview/empty/data.png"
+						textSize="30"
+						iconSize="1000"
+						text="鏆傛棤鏁版嵁"
+						v-if="orderPlanData.length == 0"></u-empty>
+				</view>
+				<view class="collection-form">
+					<view class="collection-form-item"
+						v-for="(item, index) in orderPlanData"
+						:key="index"
+						@click="cardBodyClick(item)">
+						<view class="first-line">
+							<view class="dispatch-receive">
+								<!-- <view class="dispatch-dept">{{ item.deptName }}</view>
+								<view class="black-bar"></view> -->
+								<view class="dispatch">{{ item.filedName }}</view>
 							</view>
-							<view>
-								<text>{{ item.coalName }}</text>
+							<view class="point-number">
+								<text class="residue">{{ item.cars2 }}</text>
+								<text>/{{ item.carNum }}</text>
 							</view>
 						</view>
-						<view class="card-right-top-row">
-							<view>
-								<text>宸查鍙杮{ item.cars2 }}寮�</text>
+						<view class="second-line"
+							style="width: 94%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;"
+							v-if="item.orderType==='鍐呴攢'||item.orderType==='澶栬喘' || item.orderType==='澶栬喘閫�'">
+							{{item.customerName}}
+						</view>
+						<view class="second-line">
+							<view class="coal-name">
+								<view class="coal-name-tag">{{ item.productNames || item.productName }}	<text style="margin-left: 20rpx;">{{ proType[item.packingType]}}</text> </view>
+							
+								<view class="black-bar"></view>
+								<view class="coal-type"
+									v-if="item.orderType">{{ item.orderType }}</view>
 							</view>
 						</view>
-						<view class="card-right-top-row">
-							<!-- <view v-if="item.cars == item.cars2 ? false : true">
-								棰嗗彇锛�
-								<text class="lingqu" @tap.stop="numInput(item.id)">{{ item.receiveNum || '_______' }}</text>
-								寮�
-							</view> -->
-							<view v-if="item.cars == item.cars2 ? false : true">鍓╀綑{{ item.carNum - item.cars2 }}寮�</view>
-							<view v-else>宸查瀹�</view>
+						<view class="second-line">
+							<text>璁㈠崟缂栧彿锛�</text>{{item.orderCode}}
+						</view>
+							<view class="second-line">
+							<text>鏃ヨ鍒掔紪鍙凤細</text>{{item.code}}
+						</view>
+						<view class="third-line">
+							<view class="time-icon">
+								<view
+									style="width: 12rpx;height: 12rpx;line-height: 24rpx;background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/clock.png') no-repeat;background-size: cover">
+								</view>
+							</view>
+							<view class="send-date">{{ item.sendDate }}</view>
+						</view>
+						<view class="fourth-line">
+							<view class="receive"
+								@click.stop="receiveClick(item)"
+								v-if="Number(item.cars2)  <  Number(item.carNum)"
+								>
+								<view class="button-image">棰嗗彇</view>
+							</view>
+							<view class="forward"
+								@click.stop="forwardClick(item)">
+								<view class="button-image">杞彂</view>
+							</view>
 						</view>
 					</view>
-				</template>
-				<template v-slot:right-bottom>
-					<view class="code">
-						<text>缂栧彿锛歿{ item.code || '' }}</text>
-					</view>
-				</template>
-			</card>
-		</view>
+				</view>
 
-		<!-- 棰嗗彇寮瑰嚭妗� -->
-		<u-popup :show="show" @close="close" @open="open" mode="center" round="10">
-			<view class="receiverPopup">
-				<view class="receiverPopup__title"><text>纭棰嗗彇鏁伴噺</text></view>
-				<view class="receiverPopup__input"><u--input v-model="receiveNum" @change="change" placeholder="璇疯緭鍏ュ唴瀹�" type="number" border="surround"></u--input></view>
-				<view class="receiverPopup__btn"><u-button text="纭畾" type="primary" @click="popupDetermineClick"></u-button></view>
+				<!-- 鍘嗗彶鏀跺彂鍗� -->
+				<view class="history-numbers">
+					<combined-title title="鍘嗗彶鏀跺彂鍗�"></combined-title>
+					<scroll-view :scroll-top="scrollTop"
+						scroll-y="true"
+						class="scroll-Y"
+						@scrolltolower="historyScrolltolower">
+						<u-empty mode="data"
+							icon="http://cdn.uviewui.com/uview/empty/data.png"
+							textSize="30"
+							iconSize="1000"
+							text="鏆傛棤鏁版嵁"
+							v-if="historyCoalData.length == 0"></u-empty>
+						<view class="history-information"
+							v-for="(item, index) in historyCoalData"
+							:key="index"
+							@click="faYundetail(item)">
+							<view class="first">
+								<view class="">{{ item.filedName || '' }}</view>
+								<view class=""><u-icon name="arrow-right"
+										color="#999999"
+										size="40"></u-icon></view>
+							</view>
+							<view class="second">
+								<view class="coal-name">{{  item.productNames || item.productName }} 	<text style="margin-left: 20rpx;">{{ proType[item.packingType]}}</text></view>
+								<view class="order-type">{{ item.orderType || '' }}</view>
+							</view>
+							<view class="third">
+								<view class="third-line">
+									<view class="third-line_text">棰嗗彇鏁�:</view>
+									<view class="third-line_num">{{ item.cars2 }}</view>
+								</view>
+								<view class="third-line">
+									<view class="third-line_text">鍓╀綑鏁�:</view>
+									<view class="third-line_num"
+										v-if="roleType == 1">{{ item.carNumSurplus1 }}</view>
+									<view class="third-line_num"
+										v-else-if="roleType == 2">{{ item.carNumSurplus }}</view>
+								</view>
+								<view class="third-line">
+									<view class="third-line_text">鏀跺彂鍗曚釜鏁�:</view>
+									<view class="third-line_num">{{ item.tmCount }}</view>
+								</view>
+							</view>
+							<view class="fourth">
+								<view class="fourth-icon">
+									<view
+										style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/clock.png') no-repeat;background-size: cover">
+									</view>
+								</view>
+								<view class="senddate">{{ item.sendDate }}</view>
+							</view>
+							<view class="fourth">
+								<view class="fourth-icon">
+									<view
+										style="width: 26rpx;height: 26rpx;line-height: 26rpx;background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/carnNUm.png') no-repeat;background-size: cover;">
+									</view>
+								</view>
+								<view class="senddate">{{ item.orderCode }}</view>
+							</view>
+						</view>
+						<view class="more_text"
+							v-if="showMoreData && historyCoalData.length !== 0">娌℃湁鏁版嵁浜�...</view>
+						<view class="white-block"></view>
+					</scroll-view>
+				</view>
 			</view>
-		</u-popup>
+			<!-- 棰嗗彇寮瑰嚭妗� -->
+			<u-popup :show="show"
+				@close="close"
+				@open="open"
+				mode="center"
+				round="10">
+				<view class="receiverPopup">
+					<view class="receiverPopup__title"><text>纭棰嗗彇鏁伴噺</text></view>
+					<view class="receiverPopup__input"><u--input v-model="receiveNum"
+							@change="change"
+							placeholder="璇疯緭鍏ュ唴瀹�"
+							type="number"
+							border="surround"></u--input></view>
+					<view class="receiverPopup__btn"><u-button text="纭畾"
+							type="primary"
+							@click="popupDetermineClick"
+							:disabled="canClick"
+							:loading="popupDetermineClickLoading"></u-button></view>
+				</view>
+			</u-popup>
+		</view>
 	</view>
 </template>
 
 <script>
-import card from '@/components/card/card.vue';
-import { customerId } from '@/utils/status';
-import colorGradient from '@/uni_modules/uview-ui/libs/function/colorGradient';
-
-export default {
-	components: {
-		card
-	},
-	data() {
-		return {
-			orderPlanData: [],
-			show: false, // 棰嗗彇鎻愮叅鍗曞脊鍑烘
-			receiveNum: null,
-			getOrderNum: {
-				num: '',
-				id: null
+	import combinedTitle from '@/components/combined-title/combined-title.vue';
+	export default {
+		props: {
+			orderPlanDataStore: {
+				type: Array,
+				default: []
 			}
-		};
-	},
-	onShow() {
-		this.init();
-	},
-	methods: {
-		init() {
-			this.GetOrderPlan();
 		},
-		// 鑾峰彇鍙戣繍璁″垝鍒楄〃
-		GetOrderPlan() {
-			// this.$reqGet('GetOrderPlan', { customerId: customerId }).then(res => {
-			// 	this.orderPlanData = res.data;
-			// });
-			this.$reqGet('GetOrderPlan').then(res => {
-				this.orderPlanData = res.data;
-			});
+		components: {
+			combinedTitle
 		},
-		// 棰嗗彇鐐瑰嚮
-		// numInput(id) {
-
-		// },
-		popupDetermineClick() {
-			if (this.receiveNum) {
-				this.getOrderNum.num = this.receiveNum;
-				uni.showLoading({
-					title: '鍔犺浇涓�...'
-				});
-				this.$reqPost('customerGet', this.getOrderNum, 'params').then(res => {
-					uni.hideLoading();
-					if (res.code == 0) {
-						this.getOrderNum.num = '';
-						this.GetOrderPlan();
-						uni.showToast({
-							title: '棰嗗彇鎴愬姛锛�',
-							icon: 'none',
-							duration: 1000
-						});
+		watch: {
+			orderPlanDataStore: {
+				handler(v) {
+					this.orderPlanData = v;
+				},
+				deep: true,
+				immediate: true
+			}
+		},
+		computed: {
+			roleType() {
+				return uni.getStorageSync('roleType');
+			}
+		},
+		data() {
+			return {
+				orderPlanData: [],
+			    proType:['鏁h','娑叉隘鐡惰','缃愯','PVC25','PVC80','PVC1150','PVc1200'],
+				personnelType:'', // 鐢ㄦ埛绫诲瀷
+				show: false, // 棰嗗彇鏀跺彂鍗曞脊鍑烘
+				receiveNum: null,
+				getOrderNum: {
+					num: '',
+					id: null
+				},
+				historyCoalData: [],
+				// 琛ㄦ牸鍔犺浇鐘舵��
+				loading: false,
+				scrollTop: 0,
+				// 姣忛〉鏁版嵁閲�
+				pageSize: 10,
+				// 褰撳墠椤�
+				pageCurrent: 1,
+				// 鏁版嵁鎬婚噺
+				total: 0,
+				// 鏄惁鏄剧ず鏇村鏁版嵁
+				showMoreData: false,
+				cars2: "",  //棰嗗彇鏃ヨ鍒掔殑杞︽暟
+				carNum: "",  //鏃ヨ鍒掔殑鎬昏溅鏁�
+				// 鍓╀綑鐨勬敹鍙戝崟鏁伴噺
+				carNumSurplus: '',
+				canClick: false,
+				popupDetermineClickLoading: false
+			};
+		},
+		onLoad() {
+			this.init();
+		},
+		methods: {
+			init() {
+				this.GetOrderPlan();
+				this.getJhOrderPlanDataPage();
+				this.getType();
+			},
+			// 鑾峰彇鍙戣繍璁″垝鍒楄〃
+			GetOrderPlan() {
+				uni.showLoading({ title: '鍔犺浇涓�...' });
+				this.$reqGet('GetOrderPlan').then(res => {
+					if (res.data) {
+						this.orderPlanData = res.data;
+						uni.hideLoading();
 					}
 				});
-			} else {
-				uni.showToast({
-					title: '璇疯緭鍏ラ鍙栨暟閲�',
-					icon: 'none'
+			},
+			// 鑾峰彇鍘嗗彶鏀跺彂鍗�
+			getJhOrderPlanDataPage() {
+				uni.showLoading({
+					title: '鍔犺浇涓�'
 				});
+				this.$reqGet('getJhOrderPlanDataPage', { current: this.pageCurrent, size: this.pageSize }).then(res => {
+					if (res.data.records) {
+						this.total = res.data.total;
+						if (this.pageCurrent > 1) {
+							this.historyCoalData = this.historyCoalData.concat(res.data.records);
+							this.historyCoalData = this.ArrSet(this.historyCoalData, 'id');
+							uni.hideLoading();
+						} else {
+							this.historyCoalData = res.data.records;
+							uni.hideLoading();
+						}
+					}
+				});
+			},
+			// 涓婃媺鍔犺浇
+			historyScrolltolower() {
+				if (this.pageCurrent * this.pageSize >= this.total) return (this.showMoreData = true);
+				this.pageCurrent++;
+				this.getJhOrderPlanDataPage();
+			},
+			//fix 鐐瑰嚮鏀跺彂鍗曡繑鍥炰細澧炲姞閲嶅鏁版嵁
+			ArrSet(Arr, id) {
+				var obj = {};
+				const arrays = Arr.reduce((setArr, item) => {
+					obj[item[id]] ? '' : (obj[item[id]] = true && setArr.push(item));
+					return setArr;
+				}, []);
+				return arrays;
+			},
+      //棰嗗彇寮规
+			popupDetermineClick() {
+				if (this.receiveNum > 0) {
+					this.popupDetermineClickLoading = true;
+					this.getOrderNum.num = this.receiveNum;
+					uni.showLoading({ title: '鍔犺浇涓�...' });
+					this.$reqPost('customerGet', this.getOrderNum, 'params').then(res => {
+						uni.hideLoading();
+						if (res.code == 0) {
+							this.popupDetermineClickLoading = false;
+							this.getOrderNum.num = '';
+							this.GetOrderPlan();
+							this.show = false;
+							uni.showToast({
+								title: '棰嗗彇鎴愬姛锛�',
+								icon: 'none',
+								duration: 1000
+							});
+						} else {
+							this.popupDetermineClickLoading = false;
+							this.$u.toast(res.msg ? res.msg : '棰嗗彇澶辫触');
+						}
+					});
+				} else if (Number(this.receiveNum) <= 0) {
+					uni.showToast({
+						title: '璇疯緭鍏ュ悎娉曠殑鏁板瓧',
+						icon: 'none'
+					});
+					this.show = true;
+				} else {
+					uni.showToast({
+						title: '璇疯緭鍏ラ鍙栨暟閲�',
+						icon: 'none'
+					});
+					this.show = true;
+				}
+			},
+			/**
+			 * @瀹㈡埛棰嗗彇
+			 * 棰嗗彇寮规
+			 */
+			receiveClick(item) {
+				console.log(item,'213')
+				this.show = true;
+				this.receiveNum = item.carNum;
+				this.getOrderNum.id = item.id; // 鑾峰彇棰嗗彇鏀跺彂鍗曠殑id
+				this.cars2 = item.cars2
+				this.carNum = item.carNum
+			},
+			open() {},
+			close() {
+				this.show = false;
+				this.receiveNum = null;
+			},
+			change(e) {
+				console.log('杈撳叆妗�', e);
+				this.canClick = e > (this.carNum - this.cars2)
+				if (this.canClick) {
+					this.$u.toast('宸茶秴杩囧綋鍓嶆棩璁″垝鏀跺彂鍗曟暟閲�,璇烽噸鏂拌緭鍏�')
+				}
+			},
+			// 锛堥《閮級鍙戣繍璁″垝璇︽儏
+			cardBodyClick(v) {
+				uni
+					.navigateTo({ url: `/subPages/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&code=${v.code}&cars2=${v.cars2}` });
+			},
+			// 鐐瑰嚮鍘嗗彶鏀跺彂鍗曡幏鍙栬鎯�
+			faYundetail(v) {
+				uni.navigateTo({
+					url: `/subPages/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&cars2=${v.cars2}&productNames=${v.productNames || v.productName}&deptName=${v.deptName}`
+				});
+			},
+			// 杞彂
+			forwardClick(obj) {
+				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}&productName=${obj.productName}&customerId=${obj.customerId}&pvcPlanMeasure=${obj.pvcPlanMeasure}&packingType=${obj.packingType}&productId=${obj.productId}`});
+			},
+			// 鑷富閰嶉��
+			selfDeliver() {
+				uni.navigateTo({
+					url: '/subPages/addDailyPlan/addDailyPlan'
+				})
+			},
+			//鑾峰彇鐢ㄦ埛鏍囪瘑
+			getType(){
+				this.$reqGetId('getPersonnelType',uni.getStorageSync('customerId')).then(res=>{
+					console.log(res,'ressss')
+					if(res.code === 0){
+					  this.personnelType = res.data.personnelType;
+					}else{
+						this.personnelType = '';
+					}
+				})
 			}
-			this.show = false;
-		},
-		/**
-		 * @瀹㈡埛棰嗗彇
-		 */
-		receiveClick(item) {
-			this.show = true;
-
-			this.getOrderNum.id = item.id; // 鑾峰彇棰嗗彇鎻愮叅鍗曠殑id
-		},
-		open() {
-			console.log('鎵撳紑浜�');
-		},
-		close() {
-			console.log('鍏抽棴鏂规硶');
-			this.show = false;
-			this.receiveNum = null;
-		},
-		change(e) {
-			console.log('杈撳叆妗�', e);
-		},
-		// 鎻愮叅鍗曡鎯�
-		cardBodyClick(name) {
-			console.log('鎻愮叅鍗曡鎯�', name);
-			uni.navigateTo({
-				url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${name}`
-			});
-		},
-		// 杞彂
-		forwardClick(obj) {
-			uni.navigateTo({
-				url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&carNum=${obj.carNum}`
-			});
 		}
-	}
-};
+	};
 </script>
 
-<style lang="scss" scoped>
-::v-deep.customer-index {
-	width: 94%;
-	margin: 0 auto;
-	// 涓讳綋
-	.customer-index-body {
-		margin-bottom: vww(56);
-		.card-left__top {
-			margin-top: vww(26);
-			text-align: center;
-			color: #ffffff;
-			text {
-				font-size: vww(48);
-				font-weight: 800;
+<style lang="scss"
+	scoped>
+	
+	@mixin flex {
+		display: flex;
+		justify-content: space-between;
+		align-items: center;
+	}
+	// 鑷富閰嶉��
+			.self-deliver {
+				position: relative;
+				top: vww(-150);
+				width: 88%;
+				height: vww(50);
+				margin: vww(8) auto;
+				padding: 0 vww(8);
+				background: #ffffff;
+				box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12);
+				border-radius: 20rpx;
+				@include flex;
+
+			
 			}
-		}
-		.card-left__utils {
-			display: flex;
-			padding: 0 vww(15) 0 vww(15);
-			.u-button {
-				width: vww(55);
-				height: vww(24);
-				background-color: #fff;
-				color: #1987ff;
-			}
-		}
-		.right-top {
-			display: flex;
-			flex-flow: column nowrap;
-			align-content: space-around;
-			.card-right-top-row {
-				margin-top: vww(8);
-				text-align: center;
-				.lingqu {
-					margin-right: vww(10);
-					border-bottom: 1px solid #000000;
-					width: vww(30);
-					height: vww(30);
+				/deep/.u-button {
+					width: 100%;
+					height: 28px !important;
+					line-height: 40px;
+					padding: 0 12px;
+					font-size: 28rpx;
+					font-weight: 300;
+					color: #ffffff;
+					background: #497bfb !important;
+					letter-spacing: 4rpx;
+					border-radius: 37rpx 37rpx 37rpx 37rpx !important;
+					box-shadow: 2rpx 3rpx 13rpx 0rpx rgba(43, 98, 239, 0.5), 0rpx 0rpx 9rpx 0rpx rgba(247, 250, 253, 0.29);
 				}
-				&:nth-child(1) {
-					display: flex;
-					justify-content: space-between;
-					view {
-						text-align: center;
-						width: 50%;
+
+	.wait-collection {
+		width: 100%;
+		height: 600rpx;
+		position: relative;
+		top: vww(-10);
+		z-index: 0;
+	}
+
+	.white-block {
+		width: 100%;
+		height: vww(50);
+		margin-top: vww(10);
+	}
+
+	.scroll-Y {
+		height: 900rpx;
+
+		.more_text {
+			color: #333;
+			font-size: 24rpx;
+			text-align: center;
+		}
+	}
+
+	.history-numbers {
+		width: 100%;
+		position: relative;
+		top: vww(-110);
+
+		.history-information {
+			width: 690rpx;
+			height: 398rpx;
+			margin: vww(10) vww(15);
+			background: #ffffff;
+			box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12);
+			border-radius: 20rpx;
+			@include flex flex-direction: column;
+			align-items: flex-start;
+			justify-content: space-evenly;
+			overflow: hidden;
+
+			.first {
+				width: 96%;
+				height: 34rpx;
+				font-size: 32rpx;
+				font-weight: 300;
+				color: #303030;
+				@include flex;
+				margin: vww(10) vww(10) 0;
+			}
+
+			.second {
+				width: 100%;
+				height: vw(80);
+				font-size: 30rpx;
+				font-weight: 300;
+				color: #515151;
+				margin: vww(10) vww(10) 0;
+				@include flex;
+				justify-content: flex-start;
+
+				.coal-name {
+					width: 70%;
+					height: vww(50);
+					margin-right: vww(21);
+				    white-space: nowrap; /* 涓嶆崲琛� */  
+				   overflow: hidden; /* 瓒呭嚭闅愯棌 */  
+				   text-overflow: ellipsis; 
+				}
+
+				.order-type {
+					color: #035cfb;
+					border: 2px solid #035cfb;
+					border-radius: 4rpx;
+					padding: vww(2) vww(4);
+					text-align: center;
+				}
+			}
+
+			.third {
+				width: 96%;
+				height: 31rpx;
+				font-size: 30rpx;
+				font-weight: 300;
+				color: #515151;
+				margin: vww(10) vww(10) 0;
+				@include flex;
+
+				.third-line {
+					@include flex;
+
+					&_text {
+						color: #919090;
+					}
+
+					&_num {
+						color: #035cfb;
+					}
+				}
+			}
+
+			.fourth {
+				width: 100%;
+				height: 31rpx;
+				font-size: 30rpx;
+				font-weight: 300;
+				color: #515151;
+				margin: vww(10) vww(10) 0;
+				@include flex;
+
+				.fourth-icon {
+					width: vww(13);
+					height: vww(13);
+					margin-right: vww(14);
+				}
+
+				.senddate {
+					flex: 1;
+				}
+			}
+		}
+	}
+
+	::v-deep.customer-index {
+		width: 100%;
+		margin: 0 auto;
+
+		// 涓讳綋
+		.customer-index-body {
+			.collection-form {
+				width: vww(345);
+				margin: 0 vww(15);
+				position: relative;
+				top: vww(-144);
+
+				.collection-form-item {
+					width: 700rpx;
+					height: 390rpx;
+					background: #ffffff;
+					box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15);
+					border-radius: 20rpx;
+					overflow: hidden;
+					@include flex;
+					flex-direction: column;
+					position: relative;
+					align-items: flex-start;
+					margin-top: vww(10);
+
+					.first-line {
+						width: 94%;
+						height: vww(30);
+						margin: vww(10) vww(16) 0 vww(16);
+						display: flex;
+						justify-content: space-between;
+
+						.dispatch-receive {
+							width: 70%;
+							display: flex;
+							justify-content: flex-start;
+							align-items: center;
+
+							.dispatch-dept {
+
+								display: flex;
+								align-items: center;
+							}
+
+							.black-bar {
+								width: 2rpx;
+								height: 30rpx;
+								background: #515151;
+								margin-left: vww(12);
+							}
+
+							.dispatch {
+								// margin-left: vww(12);
+								min-width: vww(50);
+							}
+
+						}
+
+						.point-number {
+							width: 15%;
+
+							text {
+								font-size: 24rpx;
+								font-weight: 400;
+								color: #c78a64;
+							}
+
+							.residue {
+								font-size: 40rpx;
+								font-weight: 400;
+								color: #f81414;
+							}
+						}
+					}
+
+					.second-line {
+						width: 100%;
+						height: vww(50);
+						margin-left: vww(16);
+						display: flex;
+						align-items: center;
+						justify-content: flex-start;
+						    margin-bottom: 15rpx;
+
+						.coal-name {
+							width: 80%;
+							flex-grow: 1;
+							height: 30rpx;
+							font-size: 30rpx;
+							font-weight: 300;
+							color: #515151;
+							position: relative;
+							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;
+								height: 30rpx;
+								background: #515151;
+								margin-left: vww(12);
+							}
+
+							.coal-type {
+								margin-left: vww(12);
+								min-width: vww(50);
+								height: 30rpx;
+								line-height: 30rpx;
+								font-size: 30rpx;
+								font-weight: 300;
+								color: #515151;
+							}
+						}
+					}
+
+					.third-line {
+						width: 40%;
+						height: vww(30);
+						margin-left: vww(15);
+						display: flex;
+						justify-content: flex-start;
+						align-items: center;
+
+						.send-date {
+							margin-left: vww(5);
+							width: 170rpx;
+							height: 24rpx;
+							line-height: 24rpx;
+							font-size: 28rpx;
+							font-weight: 300;
+							color: #515151;
+						}
+					}
+
+					.fourth-line {
+						width: 100%;
+						height: vww(40);
+						@include flex;
+						justify-content: flex-start;
+						position: relative;
+						bottom: vww(10);
+						left: 25%;
+
+						.receive,
+						.forward {
+							width: vww(123);
+							height: vww(48);
+							@include flex;
+							justify-content: center;
+							color: #ffffff;
+							font-size: 28rpx;
+							position: absolute;
+
+							.button-image {
+								width: 100%;
+								height: 100%;
+								background: url('../../../static/image/banner/button.png') no-repeat;
+								background-size: cover;
+								font-size: 28rpx;
+								font-weight: 300;
+								color: #ffffff;
+								text-align: center;
+								line-height: vww(45);
+							}
+						}
+
+						.receive {
+							left: vww(20);
+						}
+
+						.forward {
+							width: vww(106);
+							left: vww(140);
+
+							.button-image {
+								width: 100%;
+								height: 100%;
+								background: url('../../../static/image/banner/transpartent.png') no-repeat;
+								background-size: cover;
+								font-size: 28rpx;
+								font-weight: 300;
+								color: #3b56eb;
+								text-align: center;
+								line-height: vww(45);
+							}
+						}
 					}
 				}
 			}
 		}
 
-		.code {
-			margin-top: vww(7);
-			text-align: center;
-		}
+		// 棰嗗彇寮瑰嚭妗�
+		.receiverPopup {
+			height: vww(110);
 
-		// .newTask-card-body-row {
-		// 	text-align: center;
-		// 	.lingqu {
-		// 		margin-right: vww(10);
-		// 		border-bottom: 1px solid #000000;
-		// 		width: vww(30);
-		// 		height: vww(30);
-		// 	}
+			.receiverPopup__title {
+				margin: vww(10) auto 0;
+				width: 80%;
+				text-align: center;
+			}
 
-		// &:nth-child(1) {
-		// 	font-weight: 600;
-		// }
+			.receiverPopup__input {
+				width: 80%;
+				margin: vww(10) auto 0;
 
-		// &:nth-child(2) {
-		// 	margin-top: vww(10);
-		// 	font-weight: 600;
-		// }
+				.u-input {
+					border: 1px solid #dddddd;
+				}
+			}
 
-		// &:nth-child(3) {
-		// 	margin-top: vww(10);
-		// 	font-weight: 600;
-		// }
+			&__btn {
+				margin: vww(10) auto;
+				width: 50%;
 
-		// &:nth-child(4) {
-		// 	margin-top: vww(10);
-		// 	font-weight: 600;
-		// }
-
-		// view {
-		// 	display: inline-block;
-
-		// 	&:nth-child(1) {
-		// 		margin-right: vww(20);
-		// 	}
-		// }
-		// }
-
-		.utilsBtn {
-			display: flex;
-
-			.u-button {
-				width: 30%;
+				.u-button {
+					height: vww(20);
+				}
 			}
 		}
 	}
-
-	// 棰嗗彇寮瑰嚭妗�
-	.receiverPopup {
-		height: vww(110);
-
-		.receiverPopup__title {
-			margin: vww(10) auto 0;
-			width: 80%;
-			text-align: center;
-		}
-
-		.receiverPopup__input {
-			width: 80%;
-			margin: vww(10) auto 0;
-
-			.u-input {
-				border: 1px solid #dddddd;
-			}
-		}
-
-		&__btn {
-			margin: vww(10) auto;
-			width: 50%;
-			.u-button {
-				height: vww(20);
-			}
-		}
-	}
-}
 </style>

--
Gitblit v1.9.1