From 2490d3321f6d6f9b5bacf29225387f7c3f89a2b4 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期四, 20 六月 2024 15:47:15 +0800
Subject: [PATCH] feat:司机填写集装箱号

---
 pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue |   38 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 37 insertions(+), 1 deletions(-)

diff --git a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
index 31fd71b..54e89c5 100644
--- a/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
+++ b/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -103,6 +103,19 @@
 				</uni-tr>
 				</uni-table>
 			</view>
+			<!-- 璇疯緭鍏ラ泦瑁呯鍙� -->
+			<view class="codeBox">
+				<text>闆嗚绠卞彿:</text>
+				<view class="inp">
+					<u--input
+						placeholder="璇疯緭鍏ラ泦瑁呯鍙�"
+						v-model="coalDetailsData.containerNumber"
+					></u--input>
+				</view>
+				<view>
+					<u-button type="primary" text="纭畾" @click="enterClick"></u-button>
+				</view>
+			</view>
 		</view>
 		<view class="origin-info"
 			v-if="originInfoVisible&&!isSpecial">
@@ -1151,13 +1164,36 @@
 					this.$refs.swiperAlbum.onPreviewTap();
 					this.$refs.swiperAlbum.openPage();
 				})
-
+			},
+			enterClick(){
+				console.log('click')
+				this.$reqPut('addContainer',{id:this.coalDetailsData.id,containerNumber:this.coalDetailsData.containerNumber},'json').then(res=>{
+					console.log(res,'res')
+					this.$u.toast('鎿嶄綔鎴愬姛')
+				})
 			}
 		}
 	};
 </script>
 
 <style lang="scss"	scoped>
+.codeBox{
+	height: 100rpx;
+		display: flex;
+		width: 100%;
+		justify-content: space-around;
+		align-items: center;
+	.inp{
+			border: solid 1px #ccc;
+		input{
+		
+			text-indent: 15px;
+		}
+	
+	}
+
+
+}
 .table{
 	width: 100%;
   /deep/ .uni-table{

--
Gitblit v1.9.1