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
shanyunduo.cheng
2021-12-06 16:17:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9d6c7741b427e85eee56214d6df839c262625ee0
9d6c7741
1 parent
55493aea
样式
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
src/views/allocationConfig/flightAllocConfig/index.vue
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/allocationConfig/flightAllocConfig/index.vue
View file @
9d6c774
...
...
@@ -14,7 +14,7 @@
></el-input>
</el-form-item>
<el-form-item label="状态">
<el-select v-model="queryParams.status" placeholder="状态"
clearable
>
<el-select v-model="queryParams.status" placeholder="状态">
<el-option label="有效" value="1"></el-option>
<el-option label="停用" value="3"></el-option>
</el-select>
...
...
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
9d6c774
...
...
@@ -12,17 +12,18 @@
<el-input
v-model.trim="form.purposeOfFlightNo"
style="width: 30%"
:disabled="nameDisabled"
></el-input>
</el-form-item>
<el-form-item
style="width: 40%"
>
<el-form-item >
<el-alert
title="提示:站点之间用回车符分隔"
type="warning"
show-icon
size="small"
:closable="false"
style="height: 30px"
style="height: 30px
;width:fit-content
"
>
</el-alert>
</el-form-item>
...
...
@@ -32,7 +33,7 @@
<!-- <el-alert title="提示:站点之间用回车符分隔" type="info" show-icon size="small" :closable="false" style="height:30px; margin-buttom"> </el-alert> -->
<el-input
type="textarea"
v-model
.trim
="form.location"
v-model="form.location"
:rows="6"
resize="none"
></el-input>
...
...
@@ -42,7 +43,7 @@
<el-form-item label="站点不包含">
<el-input
type="textarea"
v-model
.trim
="form.notLocation"
v-model="form.notLocation"
:rows="6"
resize="none"
></el-input>
...
...
@@ -50,14 +51,14 @@
</el-col>
</el-row>
<el-form-item
style="width: 40%"
>
<el-form-item >
<el-alert
title="提示:URSA之间用分号分隔,例:F2;F3;P_"
type="warning"
show-icon
size="small"
:closable="false"
style="height: 30px"
style="height: 30px
;width:fit-content
"
>
</el-alert>
</el-form-item>
...
...
@@ -247,6 +248,7 @@ export default {
serviceCode: [],
subCategory: [],
disable: false,
nameDisabled:false,
btnLoading: false,
loading: true,
};
...
...
@@ -322,7 +324,9 @@ export default {
let dict = response.data;
this.cargoType = dict.cargoType;
this.cargoStatus = dict.cargoStatus;
this.serviceCode = dict.serviceCode.sort((a, b) => a.englishName.localeCompare(b.englishName));
this.serviceCode = dict.serviceCode.sort((a, b) =>
a.englishName.localeCompare(b.englishName)
);
this.subCategory = dict.subCategory;
});
if (handle === "detail") {
...
...
@@ -330,6 +334,7 @@ export default {
}
if (handle != "add") {
this.nameDisabled = true;
let id = this.$route.params.id;
if (isNaN(Number(id))) {
...
...
@@ -340,8 +345,7 @@ export default {
message: response.msg,
type: "error",
});
reuturn;
}
} else {
let info = response.data;
info.typeOfGoods = info.typeOfGoods
? info.typeOfGoods.split(";")
...
...
@@ -356,6 +360,7 @@ export default {
? info.subCategory.split(";")
: [];
this.form = info;
}
this.loading = false;
});
} else {
...
...
@@ -367,8 +372,7 @@ export default {
message: response.msg,
type: "error",
});
reuturn;
}
} else {
let info = response.data.list;
info.typeOfGoods = info.typeOfGoods
? info.typeOfGoods.split(";")
...
...
@@ -383,6 +387,7 @@ export default {
? info.subCategory.split(";")
: [];
this.form = info;
}
this.loading = false;
});
}
...
...
Please
register
or
login
to post a comment