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
42dab25f
Commit
42dab25f
authored
Feb 24, 2024
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海运支持分批更新卸柜,跟空运一样,批量输入订单号,更新订单状态会已卸柜和卸柜时间
parent
d566547c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
startUnloading.vue
...ecw/box/shippingSea/nodePage/unloading/startUnloading.vue
+16
-3
No files found.
src/views/ecw/box/shippingSea/nodePage/unloading/startUnloading.vue
View file @
42dab25f
<
template
>
<
template
>
<div
class=
"app-startUnloading"
>
<div
class=
"app-startUnloading"
>
<el-row
class=
"number-area"
>
<p
class=
"label-font"
><span
style=
"color:red"
>
*
</span>
{{
$t
(
'
卸柜时间
'
)
}}
:
</p>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"ulWarehouseTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-row>
<!-- 自编号 -->
<!-- 自编号 -->
<el-row
class=
"number-area"
>
<el-row
class=
"number-area"
>
<p
class=
"label-font"
>
{{
$t
(
'
自编号
'
)
}}
:
</p>
<p
class=
"label-font"
>
{{
$t
(
'
自编号
'
)
}}
:
</p>
...
@@ -61,7 +64,7 @@
...
@@ -61,7 +64,7 @@
<el-table-column
:label=
"$t('重量')"
align=
"center"
prop=
"weight"
/>
<el-table-column
:label=
"$t('重量')"
align=
"center"
prop=
"weight"
/>
<el-table-column
:label=
"$t('订单状态')"
align=
"center"
prop=
""
>
<el-table-column
:label=
"$t('订单状态')"
align=
"center"
prop=
""
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
getOrderError
(
scope
.
row
,
'
orderStatus
'
)
}}
{{
scope
.
row
.
statusMsg
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('异常状态')"
align=
"center"
prop=
""
>
<el-table-column
:label=
"$t('异常状态')"
align=
"center"
prop=
""
>
...
@@ -172,6 +175,7 @@ export default {
...
@@ -172,6 +175,7 @@ export default {
totalStatistics
:
{},
totalStatistics
:
{},
},
},
selectedUsers
:
[],
selectedUsers
:
[],
ulWarehouseTime
:
null
};
};
},
},
created
()
{
created
()
{
...
@@ -223,9 +227,14 @@ export default {
...
@@ -223,9 +227,14 @@ export default {
this
.
$message
.
error
(
this
.
$t
(
"
请输入订单号
"
));
this
.
$message
.
error
(
this
.
$t
(
"
请输入订单号
"
));
return
;
return
;
}
}
if
(
!
this
.
ulWarehouseTime
)
{
this
.
$message
.
error
(
this
.
$t
(
"
请选择卸柜时间
"
));
return
;
}
batchUnload
({
batchUnload
({
orderNo
:
this
.
labelNo
,
orderNo
:
this
.
labelNo
,
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
,
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
,
unloadTime
:
this
.
ulWarehouseTime
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
((
res
)
=>
{
this
.
labelNo
=
""
;
this
.
labelNo
=
""
;
...
@@ -235,11 +244,15 @@ export default {
...
@@ -235,11 +244,15 @@ export default {
},
},
/* 一键卸柜 */
/* 一键卸柜 */
modifyAllUnload
()
{
modifyAllUnload
()
{
if
(
!
this
.
ulWarehouseTime
)
{
this
.
$message
.
error
(
this
.
$t
(
"
请选择卸柜时间
"
));
return
;
}
this
.
$confirm
(
this
.
$t
(
"
确认卸柜?
"
),
this
.
$t
(
"
提示
"
),
{
this
.
$confirm
(
this
.
$t
(
"
确认卸柜?
"
),
this
.
$t
(
"
提示
"
),
{
type
:
"
warning
"
,
type
:
"
warning
"
,
})
})
.
then
((
_
)
=>
{
.
then
((
_
)
=>
{
allUnload
({
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
}).
then
((
res
)
=>
{
allUnload
({
shipmentId
:
this
.
$attrs
.
shipmentObj
.
id
,
unloadTime
:
this
.
ulWarehouseTime
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
((
res
)
=>
{
this
.
getLoadGoodsList
();
this
.
getLoadGoodsList
();
});
});
...
...
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