From 96d9192717e33251b958bd4a29304fddb160fba7 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 21 二月 2024 16:11:48 +0800
Subject: [PATCH] # 广德

---
 pages/order/orderPakin.vue |   27 ++++++++++++++++++++++++---
 pages/pakin/pakin.vue      |   25 +++++++++++++++++++++++--
 2 files changed, 47 insertions(+), 5 deletions(-)

diff --git a/pages/order/orderPakin.vue b/pages/order/orderPakin.vue
index 24be376..eaa3ac7 100644
--- a/pages/order/orderPakin.vue
+++ b/pages/order/orderPakin.vue
@@ -15,6 +15,17 @@
 					<!-- <uni-icons type="right" color="#c1c1c1"></uni-icons> -->
 				</view>
 			</view>
+			<view class="item">
+				<view class="code-decs">婊℃墭:</view>
+				<radio-group @change="floor">
+					<label>
+						<radio :checked="ck1"/><text>鏄�</text>
+					</label>
+					<label>
+						<radio :checked="ck2" style="margin-left: 50rpx;"/><text>鍚�</text>
+					</label>
+				</radio-group>
+			</view>
 		</view>
 		<view class="mat-list-title">
 			鍟嗗搧鍒楄〃
@@ -169,7 +180,10 @@
 				barcodeFocus: true,
 				matFocus: false,
 				matData: '',
-				removeNum: 0
+				removeNum: 0,
+				ck1: true,
+				ck2: false,
+				isFull: true
 			}
 		},
 		onShow() {
@@ -177,6 +191,12 @@
 			this.token = uni.getStorageSync('token');
 		},
 		methods: {
+			floor() {
+				var temp = this.ck1
+				this.ck1 = this.ck2
+				this.ck2 = temp
+				this.isFull = !temp
+			},
 			messageToggle(type) {
 				this.msgType1 = type
 				this.$refs.message.open()
@@ -311,6 +331,7 @@
 					url: that.baseUrl + '/mobile/comb/auth',
 					data: JSON.stringify({
 						barcode: that.barcode,
+						isFull: that.isFull,
 						combMats: that.dataList
 					}),
 					method: 'POST',
@@ -435,14 +456,14 @@
 	.code {
 		width: 100%;
 		position: fixed;
-		min-height: 200rpx;
+		min-height: 210rpx;
 		background-color: #FFF;
 		z-index: 10;
 	}
 	.item {
 		display: flex;
 		align-items: center;
-		height: 100rpx;
+		height: 70rpx;
 		margin-left: 20rpx;
 		border-bottom: 1px solid #DCDFE6;
 	}
diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue
index 8af03fd..9c3458a 100644
--- a/pages/pakin/pakin.vue
+++ b/pages/pakin/pakin.vue
@@ -15,6 +15,17 @@
 					<uni-icons type="right" color="#c1c1c1"></uni-icons>
 				</view>
 			</view>
+			<view class="item">
+				<view class="code-decs">婊℃墭:</view>
+				<radio-group @change="floor">
+					<label>
+						<radio :checked="ck1"/><text>鏄�</text>
+					</label>
+					<label>
+						<radio :checked="ck2" style="margin-left: 50rpx;"/><text>鍚�</text>
+					</label>
+				</radio-group>
+			</view>
 		</view>
 		<view class="mat-list-title">
 			鍟嗗搧鍒楄〃
@@ -156,6 +167,9 @@
 				matFocus: false,
 				matData: '',
 				removeNum: 0,
+				ck1: true,
+				ck2: false,
+				isFull: true
 			}
 		},
 		onLoad() {
@@ -166,6 +180,12 @@
 			this.token = uni.getStorageSync('token');
 		},
 		methods: {
+			floor() {
+				var temp = this.ck1
+				this.ck1 = this.ck2
+				this.ck2 = temp
+				this.isFull = !temp
+			},
 			messageToggle(type) {
 				this.msgType1 = type
 				this.$refs.message.open()
@@ -392,6 +412,7 @@
 					url: that.baseUrl + '/mobile/comb/auth',
 					data: JSON.stringify({
 						barcode: that.barcode,
+						isFull: that.isFull,
 						combMats: that.dataList
 					}),
 					method: 'POST',
@@ -454,7 +475,7 @@
 	.code {
 		width: 100%;
 		position: fixed;
-		min-height: 200rpx;
+		min-height: 210rpx;
 		background-color: #FFF;
 		z-index: 10;
 	}
@@ -462,7 +483,7 @@
 	.item {
 		display: flex;
 		align-items: center;
-		height: 100rpx;
+		height: 70rpx;
 		margin-left: 20rpx;
 		border-bottom: 1px solid #DCDFE6;
 	}

--
Gitblit v1.9.1