Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2022-07-11 15:15:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
075c57a8581fd1d3a88ba36c9ef03e74a265a620
075c57a8
1 parent
1e3b2826
删除配舱设置预审设置
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
075c57a
...
...
@@ -13,12 +13,6 @@
:disabled="nameDisabled"></el-input>
</el-form-item>
</el-col>
<!-- <el-col :span="12">
<el-form-item label="航班预审" prop="isNeedRequired">
<el-switch v-model="isNeedRequired" :active-value="1" :inactive-value="0">
</el-switch>
</el-form-item>
</el-col> -->
</el-row>
<el-form-item>
<el-row :gutter="20">
...
...
@@ -196,7 +190,6 @@ export default {
handlingCode: [],
subCategory: [],
isLocation: "1",
isNeedRequired: 0,
disable: false,
nameDisabled: false,
btnLoading: false,
...
...
@@ -229,7 +222,6 @@ export default {
this.form = JSON.parse(
sessionStorage.getItem("flightInfo" + this.$route.params.id)
);
this.isNeedRequired = this.form.isNeedRequired;
if (this.form.notLocation != null || this.form.notLocation == "") {
this.isLocation = "2";
} else {
...
...
@@ -266,7 +258,6 @@ export default {
} else {
this.isLocation = "1";
}
this.isNeedRequired = info.isNeedRequired;
}
this.loading = false;
}).catch(() => {
...
...
@@ -301,9 +292,6 @@ export default {
} else {
this.isLocation = "1";
}
let isNeedRequired = response.data.isNeedRequired;
this.form.isNeedRequired = isNeedRequired;
this.isNeedRequired = isNeedRequired;
}
this.loading = false;
}).catch(() => {
...
...
@@ -317,7 +305,6 @@ export default {
if (this.$route.name == "FlightAllocConfigAdd") {
if (sessionStorage.getItem("flightAdd")) {
this.form = JSON.parse(sessionStorage.getItem("flightAdd"));
this.isNeedRequired = this.form.isNeedRequired;
if (this.form.notLocation != null || this.form.notLocation == "") {
this.isLocation = "2";
} else {
...
...
@@ -361,7 +348,6 @@ export default {
this.formServiceCode = this.form.serviceCode;
this.formHandlingCode = this.form.handlingCode;
this.formSubCategory = this.form.subCategory;
this.form.isNeedRequired = this.isNeedRequired;
if (this.form.purposeOfFlightNo) {
this.form.purposeOfFlightNo = this.form.purposeOfFlightNo.toUpperCase();
}
...
...
@@ -512,7 +498,6 @@ export default {
if (sessionStorage.getItem("flightAdd") == "remove") {
sessionStorage.removeItem("flightAdd");
} else {
this.form.isNeedRequired = this.isNeedRequired;
sessionStorage.setItem("flightAdd", JSON.stringify(this.form));
}
} else {
...
...
@@ -520,7 +505,6 @@ export default {
sessionStorage.removeItem("flightInfo" + this.dataId);
} else {
if (this.handleName != "detail" && this.handleName != "DMdetail") {
this.form.isNeedRequired = this.isNeedRequired;
sessionStorage.setItem(
"flightInfo" + this.dataId,
JSON.stringify(this.form)
...
...
Please
register
or
login
to post a comment