Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
26abdfb7
Commit
26abdfb7
authored
Jul 02, 2023
by
wanglianghe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
起飞,到港调试
parent
e44ec836
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
twoWayTakeoff.vue
src/views/ecw/box/shippingAir/nodePage/twoWayTakeoff.vue
+5
-4
utils.js
src/views/ecw/box/shippingAir/utils.js
+5
-5
No files found.
src/views/ecw/box/shippingAir/nodePage/twoWayTakeoff.vue
View file @
26abdfb7
...
...
@@ -7,8 +7,8 @@
<el-form-item
:label=
"$t('实际起飞时间')"
prop=
"dtRealFlyTime"
>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"twoWayTakeoffObj.dtRealFlyTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
<el-form-item
:label=
"$t('实际头程时间')"
prop=
"
realHeadTravel
Time"
>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"twoWayTakeoffObj.
realHeadTravel
Time"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-form-item
:label=
"$t('实际头程时间')"
prop=
"
dtRealHead
Time"
>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"twoWayTakeoffObj.
dtRealHead
Time"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form>
...
...
@@ -30,6 +30,7 @@
import
regError
from
"
../../regError
"
;
import
{
takeoffCreate
}
from
"
@/api/ecw/boxAir
"
;
import
{
formatDateStr
,
serviceMsg
}
from
"
../utils
"
;
import
dayjs
from
"
dayjs
"
;
/**
* 起飞
...
...
@@ -47,7 +48,7 @@ export default {
// 校验
rules
:
{
dtRealFlyTime
:
[{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
blur
"
}],
realHeadTravel
Time
:
[{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
blur
"
}],
dtRealHead
Time
:
[{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
blur
"
}],
},
// 弹窗配置
dialogVisible
:
false
,
...
...
@@ -59,7 +60,7 @@ export default {
const
voName
=
this
.
$attrs
.
currNode
.
voName
;
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
oldData
=
formatDateStr
(
oldData
,
[
"
dtRealFlyTime
"
],
"
YYYY-MM-DD HH:mm:ss
"
);
oldData
=
formatDateStr
(
oldData
,
[
"
realHeadTravel
Time
"
],
"
YYYY-MM-DD HH:mm:ss
"
);
oldData
=
formatDateStr
(
oldData
,
[
"
dtRealHead
Time
"
],
"
YYYY-MM-DD HH:mm:ss
"
);
this
.
twoWayTakeoffObj
=
oldData
;
},
watch
:
{
...
...
src/views/ecw/box/shippingAir/utils.js
View file @
26abdfb7
...
...
@@ -246,14 +246,14 @@ function airBaseData() {
type
:
"
arrival
"
,
dataKey
:
"
12
"
,
// 字典数据键值
/**
* 到港状态:1
21、未到港;11
2、已到港
* 到港状态:1
51、未到港;15
2、已到港
*/
voName
:
"
arrivalInfo
"
,
keyName
:
"
apStatus
"
,
voName
:
"
a
irA
rrivalInfo
"
,
keyName
:
"
s
apStatus
"
,
status
:
{
start
:
[
1
2
1
],
start
:
[
1
5
1
],
wait
:
[],
end
:
[
1
2
2
],
end
:
[
1
5
2
],
},
},
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment