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-11-21 13:29:52 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a46f6e550956c22c24a0091ee641a3891882c14f
a46f6e55
1 parent
5bcb1108
删除无用代码,航班迁转报错提示增加
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
3 deletions
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/basicInformation/queryCargo/index.vue
src/views/basicInformation/queryCargo/info.vue
src/views/preMdeConfig/upDateResult.vue
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
a46f6e5
...
...
@@ -614,7 +614,6 @@ export default {
this.infoForm.fltDate = res.data.list.ruleDate
this.infoForm.route = res.data.list.flightRoute
this.infoForm.list.push(this.dataHandle(res.data.list))
console.log(this.infoForm)
} else {
this.isEmpty = true
}
...
...
src/views/basicInformation/queryCargo/index.vue
View file @
a46f6e5
...
...
@@ -522,7 +522,6 @@ export default {
.catch(() => {
this.tableLoading = false;
});
console.log(this.$refs.newTables)
this.$refs.newTables.clearTable();
this.cargoTotal();
},
...
...
src/views/basicInformation/queryCargo/info.vue
View file @
a46f6e5
...
...
@@ -159,6 +159,18 @@ export default {
this.msgSuccess(res.msg)
} else {
this.msgWarning(res.msg)
if (res.data != null && res.data.length > 0) {
let arr = []
res.data.forEach(item => {
let obj = {
waybillNo: item.split(':')[0],
errorMessage: item.split(':')[1]
}
arr.push(obj)
})
this.$router.push({ name: 'UpDateResult', params: { data: arr, from: 'queryCargo' } })
this.dialogBeforeClose()
}
}
});
this.cleaerForm();
...
...
@@ -176,6 +188,18 @@ export default {
} else {
this.loading = false;
this.msgWarning(res.msg)
if (res.data != null && res.data.length > 0) {
let arr = []
res.data.forEach(item => {
let obj = {
waybillNo: item.split(':')[0],
errorMessage: item.split(':')[1]
}
arr.push(obj)
})
this.$router.push({ name: 'UpDateResult', params: { data: arr, from: 'queryCargo' } })
this.dialogBeforeClose()
}
}
}).catch(() => {
this.loading = false;
...
...
src/views/preMdeConfig/upDateResult.vue
View file @
a46f6e5
...
...
@@ -4,9 +4,11 @@
<!-- <el-table-column label="行号" prop="line" width="50" align="center">
</el-table-column> -->
<el-table-column label="序号" type="index" width="70" align="center" />
<el-table-column label="运单号" prop="waybillNo" width="150" v-if="fromRoute == 'queryCargo'" />
<el-table-column label="错误信息" prop="errorMessage">
<template slot-scope="scope">
{{scope.row}}
<span v-if="fromRoute == 'queryCargo'">{{ scope.row.errorMessage }}</span>
<span v-else> {{ scope.row }}</span>
<!-- <div v-for="(m, key) in scope.row.errorMessage" :key="key">
{{ m }}
</div> -->
...
...
Please
register
or
login
to post a comment