GGDemo 3 månader sedan
förälder
incheckning
074a4db90b
1 ändrade filer med 20 tillägg och 4 borttagningar
  1. 20 4
      pages/scanLotno/index.vue

+ 20 - 4
pages/scanLotno/index.vue

@@ -15,14 +15,14 @@
 			</uni-forms-item>
 			<!-- <text class='weight-tip'>复称重量作用是确保句惠完整,防止工作人员计费称車后进行的其他操作引起的物品丢失问题</text> -->
 			<!-- <uni-section title="绑定批托盘号" type="line" padding style="height: calc(100vh - 100px)"> -->
-			<uni-forms-item label="绑定批次号" name="batchNum">
-				<uni-data-select v-if="!editBatchNum" v-model="valiFormData.batchNum" placeholder="请选择批次号"
-					:localdata="options.batch" :clear="false"></uni-data-select>
+			<uni-forms-item label="绑定批次号" name="batchNum" class="select-item">
+				<uni-data-select v-if="!editBatchNum" v-model="valiFormData.batchNum"
+					placeholder="请选择批次号" :localdata="options.batch" :clear="false"></uni-data-select>
 				<uni-easyinput v-if="editBatchNum" :value="batchNum" :disabled="editBatchNum" />
 				<button v-if="!editBatchNum" type="primary" @click="submitBatchNum">确认</button>
 				<button v-if="editBatchNum" type="primary" @click="editBatchNum = false">修改</button>
 			</uni-forms-item>
-			<uni-forms-item label="绑定托盘号" name="palletNum">
+			<uni-forms-item label="绑定托盘号" name="palletNum" class="select-item">
 				<uni-data-picker v-if="!editPalletNum" placeholder="请选择托盘号" popup-title="绑定托盘号"
 					:localdata="options.pallet" v-model="valiFormData.palletNum" @change="onchange"
 					@nodeclick="onnodeclick" @popupopened="onpopupopened"
@@ -420,6 +420,22 @@
 		font-size: 12rpx;
 	}
 
+	.select-item {
+		.uni-forms-item__content {
+			display: flex;
+		}
+
+		.uni-forms-item__label {
+			width: auto !important;
+		}
+
+		button {
+			height: 35px;
+			font-size: 16rpx;
+			margin-left: 10rpx;
+		}
+	}
+
 	.button-group {
 		margin-top: 15px;
 		display: flex;