Showing
2 changed files
with
2 additions
and
1 deletions
| ... | @@ -437,6 +437,7 @@ export default { | ... | @@ -437,6 +437,7 @@ export default { |
| 437 | cancel() { | 437 | cancel() { |
| 438 | this.open = false; | 438 | this.open = false; |
| 439 | this.findSourceFlightRules(); | 439 | this.findSourceFlightRules(); |
| 440 | + this.$refs.form.clearValidate(); | ||
| 440 | //this.reset(); | 441 | //this.reset(); |
| 441 | }, | 442 | }, |
| 442 | /** 重置按钮操作 */ | 443 | /** 重置按钮操作 */ | ... | ... |
| ... | @@ -45,7 +45,7 @@ | ... | @@ -45,7 +45,7 @@ |
| 45 | <el-form ref="addForm" :model="newPre" label-width="auto" label-position="left" size="small" :rules="rules" | 45 | <el-form ref="addForm" :model="newPre" label-width="auto" label-position="left" size="small" :rules="rules" |
| 46 | @submit.native.prevent> | 46 | @submit.native.prevent> |
| 47 | <el-form-item label="航班号" prop="addFlitNo"> | 47 | <el-form-item label="航班号" prop="addFlitNo"> |
| 48 | - <el-input type="textarea" v-model="fltNo" :rows="7" maxlength="255" show-word-limit placeholder="请输入航班号,用;分隔"> | 48 | + <el-input type="textarea" v-model="fltNo" :rows="7" maxlength="255" show-word-limit placeholder="请输入航班号"> |
| 49 | </el-input> | 49 | </el-input> |
| 50 | </el-form-item> | 50 | </el-form-item> |
| 51 | </el-form> | 51 | </el-form> | ... | ... |
-
Please register or login to post a comment