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-10-24 16:40:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d8e2a58b7e565809ed8ab0af18fcabdce3da4f83
d8e2a58b
1 parent
0020b10c
修复数据处理异常
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
src/router/index.js
src/views/allocationConfig/flightAllocConfig/info.vue
src/views/allocationConfig/flightRandConfig/index.vue
src/router/index.js
View file @
d8e2a58
...
...
@@ -74,7 +74,7 @@ export const constantRoutes = [
redirect
:
'noredirect'
,
children
:
[
{
path
:
'/info/:handle/:id
~:routeStatus~:fltNo~:route~
:fltDate'
,
path
:
'/info/:handle/:id
|:routeStatus|:fltNo|:route|
:fltDate'
,
component
:
(
resolve
)
=>
require
([
'@/views/allocationConfig/flightAllocConfig/info'
],
resolve
),
name
:
'FlightAllocConfigInfo'
,
meta
:
{
title
:
'航班配舱'
,
icon
:
'user'
}
...
...
src/views/allocationConfig/flightAllocConfig/info.vue
View file @
d8e2a58
...
...
@@ -22,7 +22,7 @@
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="6" v-if="infoForm.route != null && infoForm.route != ' ' && infoForm.route
!=
''">
<el-col :span="6" v-if="infoForm.route != null && infoForm.route != ' ' && infoForm.route
!=
''">
<el-form-item label="航线">
<el-input v-model.tirm="infoForm.route" @change="getRoutes" disabled>
</el-input>
...
...
@@ -876,7 +876,7 @@ export default {
data.routeSpecifyDateSeq = routeArr.join(';')
data.ruleDate = this.infoForm.fltDate
this.infoForm.list[val].routePriority = this.routeList[val].routePriority
if (this.infoForm.route != null && this.infoForm.route != '') {
if (this.infoForm.route != null && this.infoForm.route != ''
&& this.infoForm.route != ' '
) {
this.routeList.forEach(item => {
if (item.route == this.infoForm.route) {
data.routePriority = item.routePriority
...
...
@@ -1053,12 +1053,12 @@ export default {
val.maxWeight == null ? val.maxWeight = undefined : val.maxWeight = val.maxWeight//最大重量
val.minNumOfPieces == null ? val.minNumOfPieces = undefined : val.minNumOfPieces = val.minNumOfPieces//最小件数
val.minWeight == null ? val.minWeight = undefined : val.minWeight = val.minWeight//最小件数
val.typeOfGoods != null ? val.typeOfGoods = val.typeOfGoods.split(';') : val.typeOfGoods = []//申报类型
val.declarationCategory != null ? val.declarationCategory = val.declarationCategory.split(';') : val.declarationCategory = []//货物类型
val.puporpuxCode != null ? val.puporpuxCode = val.puporpuxCode.split(';') : val.puporpuxCode = []//取件扫描码
val.serviceCode != null ? val.serviceCode = val.serviceCode.split(';') : val.serviceCode = []//serviceCode
val.handlingCode != null ? val.handlingCode = val.handlingCode.split(';') : val.handlingCode = []//handlingCode
val.subCategory != null ? val.subCategory = val.subCategory.split(';') : val.subCategory = []//subCategory
val.typeOfGoods != null
&& val.typeOfGoods != ''
? val.typeOfGoods = val.typeOfGoods.split(';') : val.typeOfGoods = []//申报类型
val.declarationCategory != null
&& val.declarationCategory != ''
? val.declarationCategory = val.declarationCategory.split(';') : val.declarationCategory = []//货物类型
val.puporpuxCode != null
&& val.puporpuxCode != ''
? val.puporpuxCode = val.puporpuxCode.split(';') : val.puporpuxCode = []//取件扫描码
val.serviceCode != null
&& val.serviceCode != ''
? val.serviceCode = val.serviceCode.split(';') : val.serviceCode = []//serviceCode
val.handlingCode != null
&& val.handlingCode != ''
? val.handlingCode = val.handlingCode.split(';') : val.handlingCode = []//handlingCode
val.subCategory != null
&& val.subCategory != ''
? val.subCategory = val.subCategory.split(';') : val.subCategory = []//subCategory
return val
},
//提交数据处理
...
...
src/views/allocationConfig/flightRandConfig/index.vue
View file @
d8e2a58
...
...
@@ -271,6 +271,7 @@ export default {
handleClick(fltNo, handle, fltDate, route) {
this.openFlightDate = false;
let obj = {
id: ' ',
handle: handle,
fltNo: fltNo,
fltDate: fltDate != null ? fltDate : ' ',
...
...
Please
register
or
login
to post a comment