Browse Source

修改限制字符为50

menchuang 1 year ago
parent
commit
4a29ed016a

+ 4 - 4
pages/gas_sealing_project/gas_sealing_project.vue

@@ -33,7 +33,7 @@
 				<view class="container" style="border-bottom: 1px solid #f8f8f8;">
 
 					<text>工程地点</text>
-					<input class="uni-input" type="digit" v-model="address" placeholder="请输入工程地点" maxlength="100"
+					<input class="uni-input" type="digit" v-model="address" placeholder="请输入工程地点" maxlength="50"
 						style="margin-left: 10px;text-align: right;"></input>
 				</view>
 			</view>
@@ -42,7 +42,7 @@
 				<view class="container" style="border-bottom: 1px solid #f8f8f8;">
 
 					<text>作业方式</text>
-					<input class="uni-input" type="digit" v-model="workType" placeholder="请输入作业方式" maxlength="100"
+					<input class="uni-input" type="digit" v-model="workType" placeholder="请输入作业方式" maxlength="50"
 						style="margin-left: 10px;text-align: right;"></input>
 				</view>
 			</view>
@@ -51,7 +51,7 @@
 				<view class="container" style="border-bottom: 1px solid #f8f8f8;">
 
 					<text>施工内容</text>
-					<input class="uni-input" type="digit" v-model="workContent" placeholder="请输入施工内容" maxlength="100"
+					<input class="uni-input" type="digit" v-model="workContent" placeholder="请输入施工内容" maxlength="50"
 						style="margin-left: 10px;text-align: right;"></input>
 				</view>
 			</view>
@@ -60,7 +60,7 @@
 				<view class="container" style="border-bottom: 1px solid #f8f8f8;">
 
 					<text>管道压力</text>
-					<input class="uni-input" type="digit" v-model="pipePressure" placeholder="请输入管道压力" maxlength="100"
+					<input class="uni-input" type="digit" v-model="pipePressure" placeholder="请输入管道压力" maxlength="50"
 						style="margin-left: 10px;text-align: right;"></input>
 				</view>
 			</view>

+ 4 - 4
pages/statistics/history_gas_sealing.vue

@@ -13,7 +13,7 @@
 							<text class="tit-text" style=" font-size: 13px;color:
 									#000;margin-top: 5px;">工程地点:</text>
 							<view style="width: 100%;box-sizing: border-box;">
-								<textarea class="textarea" maxlength="255" placeholder-style="padding: 10rpx;"
+								<textarea class="textarea" maxlength="50" placeholder-style="padding: 10rpx;"
 									style="width: 100%;height: 100%;border: 1rpx solid #cccccc; border-radius: 15rpx;padding: 10rpx;line-height:normal;"
 									auto-height :value="value.constructAddre"
 									@blur="bindTextAddress($event.target.value,key)"></textarea>
@@ -25,7 +25,7 @@
 							<text class="tit-text" style=" font-size: 13px;color:
 									#000;margin-top: 5px;">作业方式:</text>
 							<view style="width: 100%;box-sizing: border-box;">
-								<textarea class="textarea" maxlength="255" placeholder-style="padding: 10rpx;"
+								<textarea class="textarea" maxlength="50" placeholder-style="padding: 10rpx;"
 									style="width: 100%;height: 100%;border: 1rpx solid #cccccc; border-radius: 15rpx;padding: 10rpx;line-height:normal;"
 									auto-height :value="value.segmentedCompressionQualified"
 									@blur="bindTextWorkStyle($event.target.value,key)"></textarea>
@@ -38,7 +38,7 @@
 							<text class="tit-text" style=" font-size: 13px;color:
 									#000;margin-top: 5px;">施工内容:</text>
 							<view style="width: 100%;box-sizing: border-box;">
-								<textarea class="textarea" maxlength="255" placeholder-style="padding: 10rpx;"
+								<textarea class="textarea" maxlength="50" placeholder-style="padding: 10rpx;"
 									style="width: 100%;height: 100%;border: 1rpx solid #cccccc; border-radius: 15rpx;padding: 10rpx;line-height:normal;"
 									auto-height :value="value.remark"
 									@blur="bindTextAreaBlur($event.target.value,key)"></textarea>
@@ -51,7 +51,7 @@
 							<text class="tit-text" style=" font-size: 13px;color:
 									#000;margin-top: 5px;">管道压力:</text>
 							<view style="width: 100%;box-sizing: border-box;">
-								<textarea class="textarea" maxlength="255" placeholder-style="padding: 10rpx;"
+								<textarea class="textarea" maxlength="50" placeholder-style="padding: 10rpx;"
 									style="width: 100%;height: 100%;border: 1rpx solid #cccccc; border-radius: 15rpx;padding: 10rpx;line-height:normal;"
 									auto-height :value="value.constructAccordingDrawings"
 									@blur="bindTextPipePress($event.target.value,key)"></textarea>