Showing
1 changed file
with
0 additions
and
16 deletions
| ... | @@ -13,12 +13,6 @@ | ... | @@ -13,12 +13,6 @@ |
| 13 | :disabled="nameDisabled"></el-input> | 13 | :disabled="nameDisabled"></el-input> |
| 14 | </el-form-item> | 14 | </el-form-item> |
| 15 | </el-col> | 15 | </el-col> |
| 16 | - <!-- <el-col :span="12"> | ||
| 17 | - <el-form-item label="航班预审" prop="isNeedRequired"> | ||
| 18 | - <el-switch v-model="isNeedRequired" :active-value="1" :inactive-value="0"> | ||
| 19 | - </el-switch> | ||
| 20 | - </el-form-item> | ||
| 21 | - </el-col> --> | ||
| 22 | </el-row> | 16 | </el-row> |
| 23 | <el-form-item> | 17 | <el-form-item> |
| 24 | <el-row :gutter="20"> | 18 | <el-row :gutter="20"> |
| ... | @@ -196,7 +190,6 @@ export default { | ... | @@ -196,7 +190,6 @@ export default { |
| 196 | handlingCode: [], | 190 | handlingCode: [], |
| 197 | subCategory: [], | 191 | subCategory: [], |
| 198 | isLocation: "1", | 192 | isLocation: "1", |
| 199 | - isNeedRequired: 0, | ||
| 200 | disable: false, | 193 | disable: false, |
| 201 | nameDisabled: false, | 194 | nameDisabled: false, |
| 202 | btnLoading: false, | 195 | btnLoading: false, |
| ... | @@ -229,7 +222,6 @@ export default { | ... | @@ -229,7 +222,6 @@ export default { |
| 229 | this.form = JSON.parse( | 222 | this.form = JSON.parse( |
| 230 | sessionStorage.getItem("flightInfo" + this.$route.params.id) | 223 | sessionStorage.getItem("flightInfo" + this.$route.params.id) |
| 231 | ); | 224 | ); |
| 232 | - this.isNeedRequired = this.form.isNeedRequired; | ||
| 233 | if (this.form.notLocation != null || this.form.notLocation == "") { | 225 | if (this.form.notLocation != null || this.form.notLocation == "") { |
| 234 | this.isLocation = "2"; | 226 | this.isLocation = "2"; |
| 235 | } else { | 227 | } else { |
| ... | @@ -266,7 +258,6 @@ export default { | ... | @@ -266,7 +258,6 @@ export default { |
| 266 | } else { | 258 | } else { |
| 267 | this.isLocation = "1"; | 259 | this.isLocation = "1"; |
| 268 | } | 260 | } |
| 269 | - this.isNeedRequired = info.isNeedRequired; | ||
| 270 | } | 261 | } |
| 271 | this.loading = false; | 262 | this.loading = false; |
| 272 | }).catch(() => { | 263 | }).catch(() => { |
| ... | @@ -301,9 +292,6 @@ export default { | ... | @@ -301,9 +292,6 @@ export default { |
| 301 | } else { | 292 | } else { |
| 302 | this.isLocation = "1"; | 293 | this.isLocation = "1"; |
| 303 | } | 294 | } |
| 304 | - let isNeedRequired = response.data.isNeedRequired; | ||
| 305 | - this.form.isNeedRequired = isNeedRequired; | ||
| 306 | - this.isNeedRequired = isNeedRequired; | ||
| 307 | } | 295 | } |
| 308 | this.loading = false; | 296 | this.loading = false; |
| 309 | }).catch(() => { | 297 | }).catch(() => { |
| ... | @@ -317,7 +305,6 @@ export default { | ... | @@ -317,7 +305,6 @@ export default { |
| 317 | if (this.$route.name == "FlightAllocConfigAdd") { | 305 | if (this.$route.name == "FlightAllocConfigAdd") { |
| 318 | if (sessionStorage.getItem("flightAdd")) { | 306 | if (sessionStorage.getItem("flightAdd")) { |
| 319 | this.form = JSON.parse(sessionStorage.getItem("flightAdd")); | 307 | this.form = JSON.parse(sessionStorage.getItem("flightAdd")); |
| 320 | - this.isNeedRequired = this.form.isNeedRequired; | ||
| 321 | if (this.form.notLocation != null || this.form.notLocation == "") { | 308 | if (this.form.notLocation != null || this.form.notLocation == "") { |
| 322 | this.isLocation = "2"; | 309 | this.isLocation = "2"; |
| 323 | } else { | 310 | } else { |
| ... | @@ -361,7 +348,6 @@ export default { | ... | @@ -361,7 +348,6 @@ export default { |
| 361 | this.formServiceCode = this.form.serviceCode; | 348 | this.formServiceCode = this.form.serviceCode; |
| 362 | this.formHandlingCode = this.form.handlingCode; | 349 | this.formHandlingCode = this.form.handlingCode; |
| 363 | this.formSubCategory = this.form.subCategory; | 350 | this.formSubCategory = this.form.subCategory; |
| 364 | - this.form.isNeedRequired = this.isNeedRequired; | ||
| 365 | if (this.form.purposeOfFlightNo) { | 351 | if (this.form.purposeOfFlightNo) { |
| 366 | this.form.purposeOfFlightNo = this.form.purposeOfFlightNo.toUpperCase(); | 352 | this.form.purposeOfFlightNo = this.form.purposeOfFlightNo.toUpperCase(); |
| 367 | } | 353 | } |
| ... | @@ -512,7 +498,6 @@ export default { | ... | @@ -512,7 +498,6 @@ export default { |
| 512 | if (sessionStorage.getItem("flightAdd") == "remove") { | 498 | if (sessionStorage.getItem("flightAdd") == "remove") { |
| 513 | sessionStorage.removeItem("flightAdd"); | 499 | sessionStorage.removeItem("flightAdd"); |
| 514 | } else { | 500 | } else { |
| 515 | - this.form.isNeedRequired = this.isNeedRequired; | ||
| 516 | sessionStorage.setItem("flightAdd", JSON.stringify(this.form)); | 501 | sessionStorage.setItem("flightAdd", JSON.stringify(this.form)); |
| 517 | } | 502 | } |
| 518 | } else { | 503 | } else { |
| ... | @@ -520,7 +505,6 @@ export default { | ... | @@ -520,7 +505,6 @@ export default { |
| 520 | sessionStorage.removeItem("flightInfo" + this.dataId); | 505 | sessionStorage.removeItem("flightInfo" + this.dataId); |
| 521 | } else { | 506 | } else { |
| 522 | if (this.handleName != "detail" && this.handleName != "DMdetail") { | 507 | if (this.handleName != "detail" && this.handleName != "DMdetail") { |
| 523 | - this.form.isNeedRequired = this.isNeedRequired; | ||
| 524 | sessionStorage.setItem( | 508 | sessionStorage.setItem( |
| 525 | "flightInfo" + this.dataId, | 509 | "flightInfo" + this.dataId, |
| 526 | JSON.stringify(this.form) | 510 | JSON.stringify(this.form) | ... | ... |
-
Please register or login to post a comment