Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -44,8 +44,8 @@ | ... | @@ -44,8 +44,8 @@ |
| 44 | :show-close="false" :append-to-body="true" @close="close"> | 44 | :show-close="false" :append-to-body="true" @close="close"> |
| 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="fltNo"> | 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="newPre.addFlitNo" :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> |
| ... | @@ -89,7 +89,7 @@ export default { | ... | @@ -89,7 +89,7 @@ export default { |
| 89 | addFlitNo: '', | 89 | addFlitNo: '', |
| 90 | },//新增航班 | 90 | },//新增航班 |
| 91 | rules: { | 91 | rules: { |
| 92 | - fltNo: [ | 92 | + addFlitNo: [ |
| 93 | { | 93 | { |
| 94 | required: true, | 94 | required: true, |
| 95 | message: "航班号不能为空", | 95 | message: "航班号不能为空", | ... | ... |
-
Please register or login to post a comment