From 01c82e2ed527bae42fe53452073522d74980bf16 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期三, 03 七月 2024 11:28:09 +0800
Subject: [PATCH] 无车牌修改的内容

---
 pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail.vue |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail.vue b/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail.vue
index 1c8f230..8754275 100644
--- a/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail.vue
+++ b/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail.vue
@@ -586,7 +586,7 @@
 			</view>
 		</view>
 		<!-- 鍘熷彂鍑哄満鏃堕棿 -->
-		<view>
+		<view v-if="roleType!==3">
 			<view>
 				<text>璐х墿鍙戣揣鍦板嚭鍦烘椂闂存垨鍙戣揣纾呭崟鏃堕棿锛�</text>
 			</view>
@@ -738,6 +738,7 @@
 					@close='unqualifiedClose'
 					@select="selectUnqualifiedClick"></u-action-sheet>
 			</view>
+			
 		
 		</view>
 		</view>
@@ -758,16 +759,19 @@
 <script>
 
 	import BigNumber from "bignumber.js"
+	import formatDate from  '@/utils/date'
 	import { BaseUrl } from '@/api/publicInterface.js';
 	import { onlineurl } from '@/api/request.js'
 	import { mapState, mapMutations } from "vuex"
 	export default {
 		data() {
 			return {
+				dateInpShow:false,
+				outDate:'',
+				dateValue:'',
 				previewImageShow:false,
 				qualityInstructions:"",
 				previewImageSrc: '',
-				outDate:'',
 				penaltyType:[],
 			    indexFlag:0, // 涓嬫爣鏍囧織浣�
 				remarks:'',
@@ -1037,7 +1041,7 @@
 						this.showWeigh[index].weight = '0';
 						this.$u.toast('褰撳墠鍑�閲嶄笉鍚堟牸锛岃妫�鏌ョ毊閲嶏紝姣涢噸鏄惁鍑嗙‘')
 					}else{
-						this.showWeigh[index].weight = x.minus(z).toFixed(2) ;
+						this.showWeigh[index].weight = x.minus(z).toFixed(4);
 					}
 				}
 				
@@ -1181,7 +1185,7 @@
 				// let tempArr = v.penaltyType.split(',');
 				 v.unqualifiedType = '';
 					if(this.globalShowWeigh[i].unqualifiedWeights){
-					unqualifiedWeightAll = this.globalShowWeigh[i].unqualifiedWeights.split(",").reduce((p,n)=>{return (p - 0) + (n - 0)},0).toFixed(2)  || ''
+					unqualifiedWeightAll = this.globalShowWeigh[i].unqualifiedWeights.split(",").reduce((p,n)=>{return (p - 0) + (n - 0)},0).toFixed(4)  || ''
 					}else{
 						unqualifiedWeightAll = 0;
 					}
@@ -1297,7 +1301,7 @@
 				value = parseFloat(value);
 				value = value + ""; // 鍙樺洖涓哄瓧绗︿覆
 			}else{
-				value =  value.replace(/^(-)*(\d+)\.(\d\d).*$/,"$1$2.$3");
+				value =  value.replace(/^(-)*(\d+)\.(\d\d\d\d).*$/,"$1$2.$3");
 				this.$nextTick(()=>{
 					this.showWeigh[index].cinderWeight  = value.replace(/[^\d.]/g, "");
 				});
@@ -1353,7 +1357,7 @@
 						this.showWeigh[index].weight = '0';
 						this.$u.toast('褰撳墠鍑�閲嶄笉鍚堟牸锛岃妫�鏌ョ毊閲嶏紝姣涢噸鏄惁鍑嗙‘')
 					}else{
-						this.showWeigh[index].weight = x.minus(y).minus(z).toFixed(2) ;
+						this.showWeigh[index].weight = x.minus(y).minus(z).toFixed(4) ;
 					}
 				
 			

--
Gitblit v1.9.1