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
d272ef4b
Commit
d272ef4b
authored
Nov 05, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
80007896
c1968da5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
6 deletions
+34
-6
review.vue
src/views/ecw/box/shippingSea/nodePage/review.vue
+21
-3
seaProcess.vue
src/views/ecw/box/shippingSea/seaProcess.vue
+13
-3
No files found.
src/views/ecw/box/shippingSea/nodePage/review.vue
View file @
d272ef4b
...
@@ -33,7 +33,11 @@ export default {
...
@@ -33,7 +33,11 @@ export default {
},
},
created
()
{
created
()
{
const
{
currNode
,
shipmentObj
}
=
this
.
$attrs
;
const
{
currNode
,
shipmentObj
}
=
this
.
$attrs
;
const
{
preInstallBackInfo
,
cabinetUnloadBackApprovalInfo
}
=
shipmentObj
;
const
{
preInstallBackInfo
,
cabinetBackInfo
,
cabinetUnloadBackApprovalInfo
,
}
=
shipmentObj
;
if
(
currNode
.
type
===
"
preinstall
"
)
{
if
(
currNode
.
type
===
"
preinstall
"
)
{
this
.
isReview
=
preInstallBackInfo
?
true
:
false
;
this
.
isReview
=
preInstallBackInfo
?
true
:
false
;
if
(
preInstallBackInfo
&&
preInstallBackInfo
.
approvalStatus
!==
1
)
{
if
(
preInstallBackInfo
&&
preInstallBackInfo
.
approvalStatus
!==
1
)
{
...
@@ -41,9 +45,19 @@ export default {
...
@@ -41,9 +45,19 @@ export default {
}
}
this
.
bpmProcessId
=
preInstallBackInfo
?.
bpmProcessId
;
this
.
bpmProcessId
=
preInstallBackInfo
?.
bpmProcessId
;
}
}
if
(
currNode
.
type
===
"
cabinet
"
)
{
this
.
isReview
=
cabinetBackInfo
?
true
:
false
;
if
(
cabinetBackInfo
&&
cabinetBackInfo
.
approvalStatus
!==
1
)
{
this
.
isReview
=
false
;
}
this
.
bpmProcessId
=
cabinetBackInfo
?.
bpmProcessId
;
}
if
(
currNode
.
type
===
"
unloading
"
)
{
if
(
currNode
.
type
===
"
unloading
"
)
{
this
.
isReview
=
cabinetUnloadBackApprovalInfo
?
true
:
false
;
this
.
isReview
=
cabinetUnloadBackApprovalInfo
?
true
:
false
;
if
(
cabinetUnloadBackApprovalInfo
&&
cabinetUnloadBackApprovalInfo
.
approvalStatus
!==
1
)
{
if
(
cabinetUnloadBackApprovalInfo
&&
cabinetUnloadBackApprovalInfo
.
approvalStatus
!==
1
)
{
this
.
isReview
=
false
;
this
.
isReview
=
false
;
}
}
this
.
bpmProcessId
=
cabinetUnloadBackApprovalInfo
?.
bpmProcessId
;
this
.
bpmProcessId
=
cabinetUnloadBackApprovalInfo
?.
bpmProcessId
;
...
@@ -59,11 +73,15 @@ export default {
...
@@ -59,11 +73,15 @@ export default {
this
.
$refs
[
"
reviewForm
"
].
validate
((
valid
)
=>
{
this
.
$refs
[
"
reviewForm
"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
const
{
currNode
,
shipmentObj
}
=
this
.
$attrs
;
const
{
currNode
,
shipmentObj
}
=
this
.
$attrs
;
let
approvalType
=
4
;
// 预装反审
if
(
currNode
.
type
===
"
cabinet
"
)
approvalType
=
9
;
// 装柜反审
if
(
currNode
.
type
===
"
unloading
"
)
approvalType
=
7
;
// 卸柜反审核
approvalCreate
({
approvalCreate
({
shipmentId
:
shipmentObj
.
id
,
shipmentId
:
shipmentObj
.
id
,
...
this
.
reviewObj
,
...
this
.
reviewObj
,
approvalStatus
:
0
,
approvalStatus
:
0
,
approvalType
:
currNode
.
type
===
"
preinstall
"
?
4
:
7
,
// 4预装反审 7卸柜反审核
approvalType
,
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
cancel
(
"
submit
"
);
this
.
cancel
(
"
submit
"
);
...
...
src/views/ecw/box/shippingSea/seaProcess.vue
View file @
d272ef4b
...
@@ -80,12 +80,12 @@ export default {
...
@@ -80,12 +80,12 @@ export default {
seaBaseData
:
Array
,
seaBaseData
:
Array
,
width
:
{
width
:
{
type
:
String
,
type
:
String
,
default
:
'
76px
'
default
:
"
76px
"
,
},
},
height
:
{
height
:
{
type
:
String
,
type
:
String
,
default
:
'
76px
'
default
:
"
76px
"
,
}
}
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -169,6 +169,16 @@ export default {
...
@@ -169,6 +169,16 @@ export default {
this
.
$set
(
this
.
dialogConfig
,
"
fullscreen
"
,
true
);
this
.
$set
(
this
.
dialogConfig
,
"
fullscreen
"
,
true
);
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
出货安排(预装)
"
));
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
出货安排(预装)
"
));
}
}
// 装柜
case
"
cabinet
"
:
// 装柜反审
const
cabStatus
=
this
.
shipmentObj
[
node
.
keyName
];
if
([
47
].
includes
(
cabStatus
))
{
this
.
currentComponent
=
`reviewWidget`
;
this
.
$set
(
this
.
dialogConfig
,
"
width
"
,
"
700px
"
);
this
.
$set
(
this
.
dialogConfig
,
"
title
"
,
this
.
$t
(
"
装柜反审
"
));
}
break
;
// 卸柜
// 卸柜
case
"
unloading
"
:
case
"
unloading
"
:
// 卸柜反审
// 卸柜反审
...
...
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