Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biz-trina5-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
贺双
biz-trina5-app
Commits
7885e008
Commit
7885e008
authored
Jun 20, 2025
by
贺世双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
ac6110ef
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
60 additions
and
6 deletions
+60
-6
orderItem.vue
components/orderItem/orderItem.vue
+3
-2
orderPodItem.vue
components/orderPodItem/orderPodItem.vue
+2
-1
shipmentItem.vue
components/shipmentItem/shipmentItem.vue
+2
-1
bookingConfirm.vue
subpkg/bookingConfirm/bookingConfirm.vue
+25
-1
changeShippingDate.vue
subpkg/changeShippingDate/changeShippingDate.vue
+26
-0
onWayUpload.vue
subpkg/onWayUpload/onWayUpload.vue
+2
-1
No files found.
components/orderItem/orderItem.vue
View file @
7885e008
...
...
@@ -40,7 +40,7 @@
<button
class=
"flex_cen flex_center"
@
click=
"onBookingConfirm()"
>
订舱确认
</button>
<button
class=
"flex_cen flex_center"
@
click=
"onLadingUpload()"
>
提单上传
</button>
<button
class=
"flex_cen flex_center"
style=
"margin-top: 24rpx;"
@
click=
"onChangeShippingDate()"
>
修改船期
</button>
<button
class=
"flex_cen flex_center"
@
click=
"onAbnormalEvent()"
>
异常上报
</button>
<button
class=
"flex_cen flex_center"
style=
"margin-top: 24rpx;"
@
click=
"onAbnormalEvent()"
>
异常上报
</button>
</view>
</view>
...
...
@@ -122,13 +122,14 @@
}
.shipment-state
{
font-size
:
24
rpx
;
font-size
:
30
rpx
;
color
:
#F7A64A
;
line-height
:
33rpx
;
padding
:
6rpx
24rpx
;
border-radius
:
8rpx
;
background
:
rgba
(
247
,
166
,
74
,
.1
);
text-shadow
:
1rpx
3rpx
12rpx
rgba
(
0
,
0
,
0
,
0
.04
);
font-weight
:
600
;
}
.shipmenting
{
...
...
components/orderPodItem/orderPodItem.vue
View file @
7885e008
...
...
@@ -96,13 +96,14 @@
}
.shipment-state
{
font-size
:
24
rpx
;
font-size
:
30
rpx
;
color
:
#F7A64A
;
line-height
:
33rpx
;
padding
:
6rpx
24rpx
;
border-radius
:
8rpx
;
background
:
rgba
(
247
,
166
,
74
,
.1
);
text-shadow
:
1rpx
3rpx
12rpx
rgba
(
0
,
0
,
0
,
0
.04
);
font-weight
:
600
;
}
.shipmenting
{
...
...
components/shipmentItem/shipmentItem.vue
View file @
7885e008
...
...
@@ -112,13 +112,14 @@
.shipment-state
{
font-size
:
24
rpx
;
font-size
:
30
rpx
;
color
:
#F7A64A
;
line-height
:
33rpx
;
padding
:
6rpx
24rpx
;
border-radius
:
8rpx
;
background
:
rgba
(
247
,
166
,
74
,
.1
);
text-shadow
:
1rpx
3rpx
12rpx
rgba
(
0
,
0
,
0
,
0
.04
);
font-weight
:
600
;
}
.shipmenting
{
...
...
subpkg/bookingConfirm/bookingConfirm.vue
View file @
7885e008
...
...
@@ -304,7 +304,15 @@
const
rows
=
getApp
().
globalData
.
bookingConfirm
;
this
.
formData
.
rows
=
rows
;
this
.
formData
.
bl_event_code
=
"booking_confirmed"
;
this
.
formData
.
event_date
=
this
.
formatDate
(
this
.
formData
.
event_date
)
this
.
formData
.
etd
=
this
.
formatDate
(
this
.
formData
.
etd
)
this
.
formData
.
estimated_pack_time
=
this
.
formatDate
(
this
.
formData
.
estimated_pack_time
)
this
.
formData
.
eta
=
this
.
formatDate
(
this
.
formData
.
eta
)
this
.
formData
.
epo
=
this
.
formatDate
(
this
.
formData
.
epo
)
this
.
formData
.
epc
=
this
.
formatDate
(
this
.
formData
.
epc
)
this
.
formData
.
f_etd
=
this
.
formatDate
(
this
.
formData
.
f_etd
)
this
.
formData
.
f_eta
=
this
.
formatDate
(
this
.
formData
.
f_eta
)
var
baseData
=
{
"aux"
:
{
"rows"
:
rows
,
...
...
@@ -350,6 +358,22 @@
return
`
${
year
}
-
${
month
}
-
${
date
}
`
},
//时间戳转换
formatDate
(
timestamp
)
{
if
(
!
timestamp
)
return
const
nowDate
=
new
Date
(
timestamp
);
var
year
=
nowDate
.
getFullYear
();
var
month
=
nowDate
.
getMonth
()
<
10
?
'0'
+
(
nowDate
.
getMonth
()
+
1
)
:
nowDate
.
getMonth
()
+
1
;
var
date
=
nowDate
.
getDate
()
<
10
?
'0'
+
nowDate
.
getDate
()
:
nowDate
.
getDate
();
const
hour
=
nowDate
.
getHours
()
<
10
?
'0'
+
nowDate
.
getHours
()
:
nowDate
.
getHours
()
;
const
minute
=
nowDate
.
getMinutes
()
<
10
?
'0'
+
nowDate
.
getMinutes
()
:
nowDate
.
getMinutes
()
;
var
seconds
=
nowDate
.
getSeconds
()
<
10
?
'0'
+
nowDate
.
getSeconds
()
:
nowDate
.
getSeconds
();
if
(
this
.
dateType
===
'date'
)
{
return
`
${
year
}
-
${
month
}
-
${
date
}
`
}
else
{
return
`
${
year
}
-
${
month
}
-
${
date
}
00:00:00`
}
},
//设置formData
setFormData
(
value
)
{
const
key
=
this
.
visibleKey
...
...
subpkg/changeShippingDate/changeShippingDate.vue
View file @
7885e008
...
...
@@ -305,6 +305,16 @@
onSubmitForm
()
{
const
rows
=
getApp
().
globalData
.
changeShippingDate
;
this
.
formData
.
rows
=
rows
;
this
.
formData
.
early_pickup_date
=
this
.
formatDate
(
this
.
formData
.
early_pickup_date
)
this
.
formData
.
etd
=
this
.
formatDate
(
this
.
formData
.
etd
)
this
.
formData
.
estimated_pack_time
=
this
.
formatDate
(
this
.
formData
.
estimated_pack_time
)
this
.
formData
.
eta
=
this
.
formatDate
(
this
.
formData
.
eta
)
this
.
formData
.
epo
=
this
.
formatDate
(
this
.
formData
.
epo
)
this
.
formData
.
epc
=
this
.
formatDate
(
this
.
formData
.
epc
)
this
.
formData
.
actual_sail_time
=
this
.
formatDate
(
this
.
formData
.
actual_sail_time
)
this
.
formData
.
f_etd
=
this
.
formatDate
(
this
.
formData
.
f_etd
)
this
.
formData
.
f_eta
=
this
.
formatDate
(
this
.
formData
.
f_eta
)
this
.
formData
.
f_atd
=
this
.
formatDate
(
this
.
formData
.
f_atd
)
var
baseData
=
{
"aux"
:
{
"rows"
:
rows
,
...
...
@@ -350,6 +360,22 @@
return
`
${
year
}
-
${
month
}
-
${
date
}
`
},
//时间戳转换
formatDate
(
timestamp
)
{
if
(
!
timestamp
)
return
const
nowDate
=
new
Date
(
timestamp
);
var
year
=
nowDate
.
getFullYear
();
var
month
=
nowDate
.
getMonth
()
<
10
?
'0'
+
(
nowDate
.
getMonth
()
+
1
)
:
nowDate
.
getMonth
()
+
1
;
var
date
=
nowDate
.
getDate
()
<
10
?
'0'
+
nowDate
.
getDate
()
:
nowDate
.
getDate
();
const
hour
=
nowDate
.
getHours
()
<
10
?
'0'
+
nowDate
.
getHours
()
:
nowDate
.
getHours
()
;
const
minute
=
nowDate
.
getMinutes
()
<
10
?
'0'
+
nowDate
.
getMinutes
()
:
nowDate
.
getMinutes
()
;
var
seconds
=
nowDate
.
getSeconds
()
<
10
?
'0'
+
nowDate
.
getSeconds
()
:
nowDate
.
getSeconds
();
if
(
this
.
dateType
===
'date'
)
{
return
`
${
year
}
-
${
month
}
-
${
date
}
`
}
else
{
return
`
${
year
}
-
${
month
}
-
${
date
}
00:00:00`
}
},
//设置formData
setFormData
(
value
)
{
const
key
=
this
.
visibleKey
...
...
subpkg/onWayUpload/onWayUpload.vue
View file @
7885e008
...
...
@@ -388,13 +388,14 @@
}
.shipment-state
{
font-size
:
24
rpx
;
font-size
:
30
rpx
;
color
:
#F7A64A
;
line-height
:
33rpx
;
padding
:
6rpx
40rpx
;
border-radius
:
8rpx
;
background
:
rgba
(
247
,
166
,
74
,
.1
);
text-shadow
:
1rpx
3rpx
12rpx
rgba
(
0
,
0
,
0
,
0
.04
);
font-weight
:
600
;
}
.shipmenting
{
...
...
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