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
0e7d117a
Commit
0e7d117a
authored
Nov 26, 2022
by
huhaiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改海运缺陷单
parent
af7a6288
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
26 deletions
+42
-26
index.vue
src/views/ecw/box/ladingBill/index.vue
+1
-1
review.vue
src/views/ecw/box/shippingSea/nodePage/review.vue
+41
-25
No files found.
src/views/ecw/box/ladingBill/index.vue
View file @
0e7d117a
...
...
@@ -16,7 +16,7 @@
<div
v-for=
"(item, index) in scope.row.orderItemList"
:key=
"index"
class=
"goodList-div"
>
<p>
{{
$t
(
'
品名
'
)
}}
:
{{
item
.
prodTitleZh
}}
</p>
<p>
{{
$t
(
'
品牌
'
)
}}
:【
<dict-tag
:type=
"DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
:value=
"item.
productRecord
"
/>
<dict-tag
:type=
"DICT_TYPE.PRODUCT_RECORD_ATTRIBUTE"
:value=
"item.
feeType
"
/>
】
</p>
<p>
{{
$t
(
'
其他
'
)
}}
:
{{
getTotlContent
(
item
)
}}
</p>
...
...
src/views/ecw/box/shippingSea/nodePage/review.vue
View file @
0e7d117a
...
...
@@ -8,13 +8,14 @@
<el-row
class=
"operate-button"
>
<el-button
type=
"success"
@
click=
"onSubmit"
v-show=
"!isReview"
>
{{
$t
(
'
发起申请
'
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"jumpReviewDetail"
v-show=
"isReview"
>
{{
$t
(
'
审核中
'
)
}}
</el-button>
<el-button
plain
type=
"primary"
@
click=
"canclAudit"
v-show=
"isReview"
>
{{
$t
(
'
取消审核
'
)
}}
</el-button>
<el-button
@
click=
"cancel"
>
{{
$t
(
'
关闭
'
)
}}
</el-button>
</el-row>
</div>
</
template
>
<
script
>
import
{
approvalCreate
}
from
"
@/api/ecw/boxSea
"
;
import
{
approvalCreate
,
approvalCancel
}
from
"
@/api/ecw/boxSea
"
;
import
{
serviceMsg
,
toReviewDetail
}
from
"
../utils
"
;
/**
...
...
@@ -29,41 +30,56 @@ export default {
reviewObj
:
{},
isReview
:
false
,
bpmProcessId
:
""
,
voKey
:
""
,
};
},
created
()
{
const
{
currNode
,
shipmentObj
}
=
this
.
$attrs
;
const
{
preInstallBackInfo
,
cabinetBackInfo
,
cabinetUnloadBackApprovalInfo
,
}
=
shipmentObj
;
if
(
currNode
.
type
===
"
preinstall
"
)
{
this
.
isReview
=
preInstallBackInfo
?
true
:
false
;
if
(
preInstallBackInfo
&&
preInstallBackInfo
.
approvalStatus
!==
1
)
{
this
.
isReview
=
false
;
}
this
.
bpmProcessId
=
preInstallBackInfo
?.
bpmProcessId
;
let
voKey
=
""
;
switch
(
currNode
.
type
)
{
case
"
preinstall
"
:
voKey
=
"
preInstallBackInfo
"
;
break
;
case
"
cabinet
"
:
voKey
=
"
cabinetBackInfo
"
;
break
;
case
"
unloading
"
:
voKey
=
"
cabinetUnloadBackApprovalInfo
"
;
break
;
}
if
(
currNode
.
type
===
"
cabinet
"
)
{
this
.
isReview
=
cabinetBackInfo
?
true
:
false
;
if
(
cabinetBackInfo
&&
cabinetBackInfo
.
approvalStatus
!==
1
)
{
if
(
voKey
)
{
this
.
isReview
=
shipmentObj
[
voKey
]
?
true
:
false
;
if
(
shipmentObj
[
voKey
]
&&
shipmentObj
[
voKey
].
approvalStatus
!==
1
)
{
this
.
isReview
=
false
;
}
this
.
bpmProcessId
=
cabinetBackInfo
?.
bpmProcessId
;
}
if
(
currNode
.
type
===
"
unloading
"
)
{
this
.
isReview
=
cabinetUnloadBackApprovalInfo
?
true
:
false
;
if
(
cabinetUnloadBackApprovalInfo
&&
cabinetUnloadBackApprovalInfo
.
approvalStatus
!==
1
)
{
this
.
isReview
=
false
;
this
.
bpmProcessId
=
shipmentObj
[
voKey
].
bpmProcessId
;
if
(
this
.
isReview
)
{
this
.
$set
(
this
.
reviewObj
,
"
applyReason
"
,
shipmentObj
[
voKey
].
applyReason
);
}
this
.
bpmProcessId
=
cabinetUnloadBackApprovalInfo
?.
bpmProcessId
;
}
this
.
voKey
=
voKey
;
},
methods
:
{
/* 取消审核 */
canclAudit
()
{
const
{
shipmentObj
}
=
this
.
$attrs
;
approvalCancel
({
applyReason
:
this
.
$t
(
"
取消反审核
"
),
id
:
shipmentObj
[
this
.
voKey
].
id
,
shipmentId
:
shipmentObj
.
id
,
}).
then
((
res
)
=>
{
serviceMsg
(
res
,
this
).
then
(()
=>
{
this
.
$emit
(
"
closeDialog
"
,
"
submit
"
);
});
});
},
jumpReviewDetail
()
{
toReviewDetail
.
apply
(
this
,
[
this
.
bpmProcessId
]);
this
.
$emit
(
"
closeDialog
"
);
...
...
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