|
@@ -273,6 +273,7 @@
|
|
|
<el-input v-model.trim="maskForm1.studentId"
|
|
|
@blur="onStudentChange"
|
|
|
type="number"
|
|
|
+ maxlength="10"
|
|
|
@mousewheel.native.prevent
|
|
|
:disabled='!isNew1'></el-input>
|
|
|
</el-form-item>
|
|
@@ -573,6 +574,11 @@ export default {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
+ if(studentId.length > 10) {
|
|
|
+ this.$message.error('学员编号不合法')
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
getBasic({ userId: studentId }).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
if (res.data) {
|