编辑国标通道UI端口输入框使用数字输入框

pull/231/head
648540858 2021-11-15 23:02:19 +08:00
parent 82f4fef876
commit 3e5e8a900b
1 changed files with 13 additions and 2 deletions

View File

@ -26,7 +26,7 @@
<el-input v-model="platform.serverIP" clearable></el-input> <el-input v-model="platform.serverIP" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="SIP服务端口" prop="serverPort"> <el-form-item label="SIP服务端口" prop="serverPort">
<el-input v-model="platform.serverPort" clearable></el-input> <el-input v-model="platform.serverPort" clearable type="number"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="设备国标编号" prop="deviceGBId"> <el-form-item label="设备国标编号" prop="deviceGBId">
<el-input v-model="platform.deviceGBId" clearable></el-input> <el-input v-model="platform.deviceGBId" clearable></el-input>
@ -35,7 +35,7 @@
<el-input v-model="platform.deviceIp" :disabled="true"></el-input> <el-input v-model="platform.deviceIp" :disabled="true"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="本地端口" prop="devicePort"> <el-form-item label="本地端口" prop="devicePort">
<el-input v-model="platform.devicePort" :disabled="true"></el-input> <el-input v-model="platform.devicePort" :disabled="true" type="number"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-col> </el-col>
@ -236,6 +236,17 @@ export default {
</script> </script>
<style> <style>
/* 谷歌 */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
appearance: none;
margin: 0;
}
/* 火狐 */
input{
-moz-appearance:textfield;
}
.control-wrapper-not-used { .control-wrapper-not-used {
position: relative; position: relative;
width: 6.25rem; width: 6.25rem;