Prechádzať zdrojové kódy

1.1 0911验收bug 二级地址偏移量 int string

64060764@qq.com 1 rok pred
rodič
commit
abd5bce937

+ 12 - 2
src/views/equip-lib/equip-manager/operate-model.vue

@@ -166,11 +166,11 @@
 		>
 			<div class="label">二级地址偏移</div>
 			<div class="cotent">
-				<el-input-number
+				<el-input class="textarea"
 					v-model="opreateModelForm.cbSecondAddrOffset"
 					:controls="false"
 					label="label"
-				></el-input-number>
+				></el-input>
 			</div>
 		</div>
 
@@ -490,5 +490,15 @@ export default {
 			bottom: 0;
 		}
 	}
+
+	.textarea>>>.el-input__inner{
+		text-align: center!important;
+		/*font-size: 18px!important;*/
+		/*color:#000000!important;*/
+		/*font-family: cursive!important;*/
+		/*border:none    !important;*/
+	}
+
+
 }
 </style>

+ 1 - 1
src/views/equip-management/edit-box/index.vue

@@ -2402,7 +2402,7 @@
                     </el-col>
                     <el-col v-else>
                       <el-form-item label="二级地址偏移量==0">
-{{this.activeOperateEnd.endDeviceOption}}
+{{this.activeOperateEnd.endDeviceOption}}
                       </el-form-item>
                     </el-col>
 <!--                    <el-col>-->