From 3138a9d9090505de1c8e8646c1256c3480c67ffa Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期三, 25 九月 2024 14:58:55 +0800
Subject: [PATCH] feat:提煤单详情修改字段

---
 subPages/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue |   91 ++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 80 insertions(+), 11 deletions(-)

diff --git a/subPages/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue b/subPages/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue
index 60843c8..2ff3126 100644
--- a/subPages/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue
+++ b/subPages/fayunPlanDetails/fayunPlanMore/fayunPlanMore.vue
@@ -1,18 +1,18 @@
 <template>
 	<view class="bill-of-lading-details">
 		<view class="top-banner"
-			style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/loadingbanner.png') no-repeat;background-size: cover;">
+			style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/loadingbanner.png') no-repeat;background-size: cover;">
 			<view class="top-information">
 				<view class="cutomer-name"
 					v-if="orderType == '杞叆' || orderType == '杞嚭'">鍦哄湴:{{ coalDetailsData.toFiledName || '' }}</view>
 				<view class="cutomer-name"
 					v-else>瀹㈡埛:{{ coalDetailsData.customerName || '' }}</view>
 				<view class="fild-name">
-					<view class="">鐭垮満:{{ coalDetailsData.deptName || '鏆傛棤' }}</view>
+					<view class="">鍗曚綅:{{ coalDetailsData.deptName || '鏆傛棤' }}</view>
 					<view class=""
 						v-if="orderType == '杞叆' || orderType == '杞嚭'">鍦哄湴:{{ coalDetailsData.filedName || '' }}</view>
 					<view class=""
-						v-else>浠撳簱:{{ coalDetailsData.filedName || '鏆傛棤' }}</view>
+						v-else>鍘傚尯:{{ coalDetailsData.filedName || '鏆傛棤' }}</view>
 				</view>
 			</view>
 			<view class="block-information">
@@ -20,8 +20,8 @@
 					<view class="basic">
 						<view class="coalName">{{ coalDetailsData.productNames || coalDetailsData.productName }}</view>
 						<view class="status-button"
-							style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/statusbutton.png') no-repeat;
-										background-size: cover;">
+							style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/statusbutton.png') no-repeat;
+										background-size: cover;"> 
 							{{coalDetailsData.statusView||''}}
 						</view>
 					</view>
@@ -46,19 +46,19 @@
 					<view class="weigh-item" v-if="isShowClean">
 						<view class="item">
 							<view class="concrete"
-								style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/skin.png') no-repeat;background-size: cover;">
+								style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/skin.png') no-repeat;background-size: cover;">
 								鐨�</view>
 							<view class="num" v-if="weightObj.skin">{{  Number(weightObj.skin).toFixed(2) ||"" }}</view>
 						</view>
 						<view class="item">
 							<view class="concrete"
-								style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/hair.png') no-repeat;background-size: cover;">
+								style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/hair.png') no-repeat;background-size: cover;">
 								姣�</view>
 							<view class="num" v-if="weightObj.hair">{{  Number(weightObj.hair).toFixed(2) ||""  }}</view>
 						</view>
 						<view class="item">
 							<view class="concrete"
-								style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/clean.png') no-repeat;background-size: cover;">
+								style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/clean.png') no-repeat;background-size: cover;">
 								鍑�</view>
 							<view class="num" v-if="weightObj.clean">{{ Number(weightObj.clean).toFixed(2)  ||""  }}</view>
 						</view>
@@ -72,18 +72,32 @@
 			<view class="table">
 				<uni-table  border 
 		       id="table-box"
+			   v-if="coalDetailsData.isWeight === 1" 
 			emptyText="鏆傛棤鏇村鏁版嵁">
 					<uni-tr>
 					    <uni-th align="center" >浜у搧</uni-th>
+						 <uni-th align="center" >浜у搧绛夌骇</uni-th>
+					 	<uni-th align="center" >鍖呰绫诲瀷</uni-th>
+					  	<uni-th align="center" >璁″垝閲�</uni-th>
+						<uni-th align="center" >瀹為檯閲�</uni-th>
 						<uni-th align="center">鐨噸</uni-th>
 						<uni-th align="center">姣涢噸</uni-th>
 						<uni-th align="center">鍑�閲�</uni-th>
 					    <uni-th align="center">鎵e惃</uni-th>	
-						<uni-th align="center">浠舵暟</uni-th>		
+						<!-- <uni-th align="center">浠舵暟</uni-th>	 -->
+						<uni-th align="center">鍗曚綅</uni-th>		
 					</uni-tr>
 					<uni-tr v-for="(subItem, index) in tmTaskCoalList" :key="index">
 						<uni-td align="center">
 							<view class="name">{{ subItem.productName }}</view></uni-td>
+								<uni-td align="center">
+							<view class="name">{{ subItem.productGrade }}</view></uni-td>
+								<uni-td align="center">
+							<view class="name">{{ proType[subItem.packingType] }}</view></uni-td>
+								<uni-td align="center">
+							<view class="name">{{ subItem.planMeasure }}</view></uni-td>
+							<uni-td align="center">
+							<view class="name">{{ subItem.realityMeasure }}</view></uni-td>
 					<uni-td align='right'>
 						<view  v-if="subItem.skin">{{ Number( subItem.skin).toFixed(2)  || ''}}</view>
 					</uni-td>
@@ -97,8 +111,59 @@
 				聽   <uni-td align="right">
 					<view>{{ subItem.discount }}</view
 					></uni-td>
+					   <!-- <uni-td align="right">
+					<view>{{ subItem.productQuantity }}</view
+					></uni-td> -->
+					<uni-td align="right">
+					<view>{{ subItem.productUnit }}</view
+					></uni-td>
+				</uni-tr>
+				</uni-table>
+
+				<uni-table  border 
+		       id="table-box"
+			   v-else
+			emptyText="鏆傛棤鏇村鏁版嵁">
+					<uni-tr>
+					    <uni-th align="center" >浜у搧</uni-th>
+						 <uni-th align="center" >浜у搧绛夌骇</uni-th>
+					 	<uni-th align="center" >鍖呰绫诲瀷</uni-th>
+					  	<uni-th align="center" >璁″垝閲�</uni-th>
+						<uni-th align="center" >瀹為檯閲�</uni-th>
+						<!-- <uni-th align="center">鐨噸</uni-th>
+						<uni-th align="center">姣涢噸</uni-th>
+						<uni-th align="center">鍑�閲�</uni-th> -->
+					
+						<uni-th align="center">浠舵暟</uni-th>	
+						<uni-th align="center">鍗曚綅</uni-th>		
+					</uni-tr>
+					<uni-tr v-for="(subItem, index) in tmTaskCoalList" :key="index">
+						<uni-td align="center">
+							<view class="name">{{ subItem.productName }}</view></uni-td>
+								<uni-td align="center">
+							<view class="name">{{ subItem.productGrade }}</view></uni-td>
+								<uni-td align="center">
+							<view class="name">{{ proType[subItem.packingType] }}</view></uni-td>
+								<uni-td align="center">
+							<view class="name">{{ subItem.planMeasure }}</view></uni-td>
+							<uni-td align="center">
+							<view class="name">{{ subItem.realityMeasure }}</view></uni-td>
+					<!-- <uni-td align='right'>
+						<view  v-if="subItem.skin">{{ Number( subItem.skin).toFixed(2)  || ''}}</view>
+					</uni-td>
+					<uni-td align='right'>
+						<view class="name" v-if="subItem.hair">{{ Number(subItem.hair) .toFixed(2) || '' }}</view>
+					</uni-td>
+					<uni-td align='right'>
+						<view class="name" v-if="subItem.clean">{{ Number( subItem.clean).toFixed(2) || '' }}</view>
+					</uni-td> -->
+					
+				聽  
 					   <uni-td align="right">
 					<view>{{ subItem.productQuantity }}</view
+					></uni-td>
+					<uni-td align="right">
+					<view>{{ subItem.productUnit }}</view
 					></uni-td>
 				</uni-tr>
 				</uni-table>
@@ -314,6 +379,7 @@
 		data() {
 			return {
 				swiperList:[],
+					proType:['鏁h','娑叉隘鐡惰','缃愯','PVC25','PVC80','PVC1150','PVc1200'],
 				orderPlanId: null,
 				radioValue:'鍦哄湴',
 				tmTaskCoalList:[],
@@ -525,7 +591,7 @@
 
 				
 
-			}
+			},
 		},
 		methods: {
 			...mapMutations(['changewsgVisiable', 'changeisUploadimg', 'changeglobalIsFirstWeighing']),
@@ -1289,11 +1355,14 @@
 					.coalName,
 					.order-type {
 						width: 45%;
-						height: 30rpx;
+						height: 70rpx;
 						font-size: 30rpx;
 						font-weight: 300;
 						color: #515151;
 						position: relative;
+						overflow: hidden;
+						text-overflow: ellipsis;
+						white-space: nowrap;
 					}
 
 					.black-block {

--
Gitblit v1.9.1