Commit e0fe36e3 by 姜雷

工号限制输入8位

parent d04b925a
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item class="editItem" label="工号" label-width="100px"> <el-form-item class="editItem" label="工号" label-width="100px">
<el-input v-model.trim="selected.jobNumber" placeholder="请输入工号" :maxlength="20" clearable></el-input> <el-input v-model.trim="selected.jobNumber" placeholder="请输入工号" :maxlength="8" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item class="editItem" label="手机号" label-width="100px"> <el-form-item class="editItem" label="手机号" label-width="100px">
<el-input v-model="selected.cellphone" ref="telInput" :maxlength="11" placeholder="请输入手机号" clearable></el-input> <el-input v-model="selected.cellphone" ref="telInput" :maxlength="11" placeholder="请输入手机号" clearable></el-input>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment