Showing
1 changed file
with
11 additions
and
2 deletions
| ... | @@ -39,13 +39,13 @@ | ... | @@ -39,13 +39,13 @@ |
| 39 | <el-row :gutter="20"> | 39 | <el-row :gutter="20"> |
| 40 | <el-col :span="10"> | 40 | <el-col :span="10"> |
| 41 | <el-form-item label="URSA包含" prop="includeUrsa"> | 41 | <el-form-item label="URSA包含" prop="includeUrsa"> |
| 42 | - <el-input type="textarea" v-model.trim="includeUrsa" :rows="6" resize="none" | 42 | + <el-input type="textarea" v-model.trim="form.includeUrsa" :rows="6" resize="none" |
| 43 | placeholder="URSA之间用分号分隔,例:F2;F3;P_"></el-input> | 43 | placeholder="URSA之间用分号分隔,例:F2;F3;P_"></el-input> |
| 44 | </el-form-item> | 44 | </el-form-item> |
| 45 | </el-col> | 45 | </el-col> |
| 46 | <el-col :span="10"> | 46 | <el-col :span="10"> |
| 47 | <el-form-item label="URSA不包含" prop="notIncludeUrsa"> | 47 | <el-form-item label="URSA不包含" prop="notIncludeUrsa"> |
| 48 | - <el-input type="textarea" v-model.trim="notIncludeUrsa" :rows="6" resize="none" | 48 | + <el-input type="textarea" v-model.trim="form.notIncludeUrsa" :rows="6" resize="none" |
| 49 | placeholder="URSA之间用分号分隔,例:F2;F3;P_"></el-input> | 49 | placeholder="URSA之间用分号分隔,例:F2;F3;P_"></el-input> |
| 50 | </el-form-item> | 50 | </el-form-item> |
| 51 | </el-col> | 51 | </el-col> |
| ... | @@ -461,6 +461,15 @@ export default { | ... | @@ -461,6 +461,15 @@ export default { |
| 461 | sub.push(item.englishName) | 461 | sub.push(item.englishName) |
| 462 | } | 462 | } |
| 463 | }) | 463 | }) |
| 464 | + | ||
| 465 | + if (this.form.includeUrsa && this.form.includeUrsa.length != 0) { | ||
| 466 | + this.form.includeUrsa = this.upCase(this.form.includeUrsa) | ||
| 467 | + } | ||
| 468 | + | ||
| 469 | + if (this.form.notIncludeUrsa && this.form.notIncludeUrsa.length != 0) { | ||
| 470 | + this.form.notIncludeUrsa = this.upCase(this.form.notIncludeUrsa) | ||
| 471 | + } | ||
| 472 | + | ||
| 464 | this.form.subCategory = sub | 473 | this.form.subCategory = sub |
| 465 | updateOrAddFlight(this.form).then((response) => { | 474 | updateOrAddFlight(this.form).then((response) => { |
| 466 | if (response.code === 200) { | 475 | if (response.code === 200) { | ... | ... |
-
Please register or login to post a comment