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
Elements-SY
2023-10-16 17:36:40 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
55f0878a3d59ca783cc03272520483852d0531ef
55f0878a
1 parent
2292df4f
modify
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
src/views/basicInformation/flightInformationMaintenance/index.vue
src/views/basicInformation/queryCargo/info.vue
src/views/basicInformation/flightInformationMaintenance/index.vue
View file @
55f0878
...
...
@@ -358,7 +358,7 @@
</div>
</template>
<el-select
v-
if="routeMultipl
e"
v-
show="routeMultiple == tru
e"
ref="routeSelect"
class="wid80"
v-model="form.route"
...
...
@@ -389,7 +389,7 @@
</el-option>
</el-select>
<el-select
v-
if
="routeMultiple == false"
v-
show
="routeMultiple == false"
ref="routeSelect"
class="wid80"
v-model="form.route"
...
...
@@ -1005,7 +1005,7 @@ export default {
this.form.route = "";
} else if (item.chineseName.indexOf("Purple") >= 0) {
this.routeMultiple = true;
this.
form.route = []
;
this.
$set(this.form, "route", [])
;
}
this.routeError = true;
}
...
...
src/views/basicInformation/queryCargo/info.vue
View file @
55f0878
...
...
@@ -258,11 +258,13 @@ export default {
}
findFlightRoute(obj).then(res => {
if (res.code === 200) {
res.data[0].route.indexOf(';') <= 0 ?
if(res.data.length){
res.data[0].route.indexOf(';') <= 0 ?
this.routeList = res.data :
res.data[0].route.split(';').forEach(item => {
this.routeList.push({ id: res.data[0].id, route: item })
})
}
} else {
this.msgWarning(res.msg)
}
...
...
Please
register
or
login
to post a comment