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
3cc57d1b
Commit
3cc57d1b
authored
Mar 18, 2025
by
Smile
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求 136后台-集运-包裹列表-操作-撤出包裹
parent
3fd21875
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
129 additions
and
16 deletions
+129
-16
detail.vue
src/views/bpm/processInstance/detail.vue
+6
-0
consExitApproval.vue
src/views/ecw/cons/consExitApproval.vue
+93
-0
consWithdrawalExit.vue
src/views/ecw/cons/consWithdrawalExit.vue
+23
-15
withdrawal.vue
src/views/ecw/order/withdrawal.vue
+7
-1
No files found.
src/views/bpm/processInstance/detail.vue
View file @
3cc57d1b
...
@@ -130,6 +130,7 @@ import CargoControlDetail from "@/views/ecw/order/components/CargoControlDetail"
...
@@ -130,6 +130,7 @@ import CargoControlDetail from "@/views/ecw/order/components/CargoControlDetail"
import
BoxSplitDetail
from
"
@/views/ecw/order/components/BoxSplitDetail
"
import
BoxSplitDetail
from
"
@/views/ecw/order/components/BoxSplitDetail
"
import
UpdateFeeApproval
from
"
@/views/ecw/cons/components/UpdateFeeApproval
"
import
UpdateFeeApproval
from
"
@/views/ecw/cons/components/UpdateFeeApproval
"
import
retiredWarehouseApproval
from
"
@/views/ecw/cons/retiredWarehouseApproval
"
import
retiredWarehouseApproval
from
"
@/views/ecw/cons/retiredWarehouseApproval
"
import
consExitApproval
from
"
@/views/ecw/cons/consExitApproval
"
// 流程实例的详情页,可用于审批
// 流程实例的详情页,可用于审批
export
default
{
export
default
{
...
@@ -144,6 +145,7 @@ export default {
...
@@ -144,6 +145,7 @@ export default {
CargoControlDetail
,
CargoControlDetail
,
UpdateFeeApproval
,
UpdateFeeApproval
,
retiredWarehouseApproval
,
retiredWarehouseApproval
,
consExitApproval
,
BoxSplitDetail
BoxSplitDetail
},
},
computed
:
{
computed
:
{
...
@@ -501,6 +503,10 @@ export default {
...
@@ -501,6 +503,10 @@ export default {
component
:
"
retiredWarehouseApproval
"
,
component
:
"
retiredWarehouseApproval
"
,
id
:
this
.
processInstance
.
id
id
:
this
.
processInstance
.
id
},
},
ecw_cons_exit_warehouse
:
{
component
:
"
consExitApproval
"
,
id
:
this
.
processInstance
.
id
},
}
}
console
.
log
(
"
formCustomViewPath
"
,
this
.
processInstance
.
processDefinition
.
formCustomViewPath
.
trim
())
console
.
log
(
"
formCustomViewPath
"
,
this
.
processInstance
.
processDefinition
.
formCustomViewPath
.
trim
())
return
map
[
this
.
processInstance
.
processDefinition
.
formCustomViewPath
.
trim
()]
return
map
[
this
.
processInstance
.
processDefinition
.
formCustomViewPath
.
trim
()]
...
...
src/views/ecw/cons/consExitApproval.vue
0 → 100644
View file @
3cc57d1b
<
template
xmlns=
"http://www.w3.org/1999/html"
>
<div>
<div
class=
"title-font"
>
<label>
{{
$t
(
"
申请信息
"
)
}}
【
{{
form
.
expressNo
}}
】
</label>
</div>
<el-descriptions
:column=
"6"
:colon=
"false"
:border=
"true"
:contentStyle=
"
{'color': '#000000'}" :labelStyle="{'color': '#000000'}">
<el-descriptions-item
:label=
"$t('包裹号')+':'"
>
{{
form
.
consNum
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('包裹状态')+':'"
>
<dict-tag
:type=
"DICT_TYPE.CONS_STATUS"
:value=
"form.status"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('客户')+':'"
>
{{
form
.
customerName
}}
(
{{
form
.
customerNumber
}}
)
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('订单编号')+':'"
>
{{
form
.
orderNo
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('运输方式')+':'"
>
<dict-tag
class=
"mr-10"
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"form.transportId"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('订单状态')+':'"
>
<dict-tag
class=
"mr-10"
:type=
"DICT_TYPE.ORDER_STATUS"
:value=
"form.orderStatus"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('始发仓')+':'"
>
{{
warehouseList
.
filter
(
a
=>
a
.
id
==
form
.
wareId
)[
0
]
!=
undefined
?
warehouseList
.
filter
(
a
=>
a
.
id
==
form
.
wareId
)[
0
].
titleZh
:
''
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('目的仓')+':'"
>
{{
warehouseList
.
filter
(
a
=>
a
.
id
==
form
.
consigneeWarehouseId
)[
0
]
!=
undefined
?
warehouseList
.
filter
(
a
=>
a
.
id
==
form
.
consigneeWarehouseId
)[
0
].
titleZh
:
''
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('快递单号')+':'"
>
{{
form
.
expressNo
}}
</el-descriptions-item>
</el-descriptions>
<div
class=
"title-font"
>
<label>
【
{{
$t
(
"
申请理由
"
)
}}
】
</label>
<span>
{{
$t
(
"
退仓原因
"
)
}}
:
{{
$t
(
"
包裹编号
"
)
}}{{
form
.
consNum
}}{{
$t
(
"
要从集运订单
"
)
}}{{
form
.
orderNo
}}{{
$t
(
"
中撤出
"
)
}}
</span>
</div>
</div>
</
template
>
<
script
>
import
{
getConsApprovalList
}
from
"
@/api/ecw/consApproval
"
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
import
{
getCons
}
from
"
@/api/ecw/cons
"
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
ImageAndVideoUpload
from
"
@/components/ImageAndVideoUpload/index.vue
"
;
export
default
{
name
:
"
consExitApproval
"
,
components
:
{
ImageAndVideoUpload
,
Template
},
props
:
{
id
:
[
String
]
},
data
()
{
return
{
approvalDetail
:
[],
currencyList
:
[],
form
:
{
consigneeWarehouseId
:
null
,
wareId
:
null
},
warehouseList
:[],
}
},
created
()
{
getWarehouseList
().
then
((
r
)
=>
{
this
.
warehouseList
=
r
.
data
;
});
getCurrencyList
().
then
((
res
)
=>
(
this
.
currencyList
=
res
.
data
))
if
(
this
.
id
)
{
getConsApprovalList
({
formId
:
this
.
id
}).
then
((
res
)
=>
{
if
(
res
.
data
.
length
!=
0
)
{
this
.
approvalDetail
=
JSON
.
parse
(
res
.
data
[
0
].
approvalDetail
)
getCons
(
res
.
data
[
0
].
consId
).
then
(
res
=>
{
this
.
form
=
res
.
data
})
}
})
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.title
{
padding
:
10px
0
;
span
{
font-size
:
14px
;
font-weight
:
bold
;
}
}
.bold
{
font-weight
:
bold
;
}
.title-font
{
font-size
:
16px
;
font-weight
:
600
;
margin-top
:
10px
;
margin-bottom
:
10px
;
}
</
style
>
src/views/ecw/cons/consWithdrawalExit.vue
View file @
3cc57d1b
...
@@ -8,19 +8,27 @@
...
@@ -8,19 +8,27 @@
width="80%">
width="80%">
<div
style=
"padding: 0 20px"
>
<div
style=
"padding: 0 20px"
>
<h1>
{{
consDetails
.
expressNo
}}
-
{{
$t
(
'
撤销包裹订单申请
'
)
}}
</h1>
<h1>
{{
consDetails
.
expressNo
}}
-
{{
$t
(
'
撤销包裹订单申请
'
)
}}
</h1>
<h3>
{{
$t
(
'
包裹编号
'
)
}}
-
{{
consDetails
.
consNum
}}
</h3>
<h3>
{{
$t
(
'
包裹编号
'
)
}}
-
<h3>
{{
$t
(
'
订单编号
'
)
}}
-
{{
consDetails
.
orderNo
}}
</h3>
<router-link
:to=
"
{path: '/cons/detail',query: {consId: this.consDetails.id}}" class="link-type">
<span>
{{
consDetails
.
consNum
}}
</span>
</router-link>
</h3>
<h3>
{{
$t
(
'
订单编号
'
)
}}
-
<router-link
:to=
"
{path: '/order/detail',query: {orderId: this.consDetails.orderId}}" class="link-type">
<span>
{{
consDetails
.
orderNo
}}
</span>
</router-link>
</h3>
<h3>
{{
$t
(
'
订单状态
'
)
}}
-
<dict-tag
:type=
"DICT_TYPE.ORDER_STATUS"
:value=
"consDetails.orderStatus"
/></h3>
<h3>
{{
$t
(
'
订单状态
'
)
}}
-
<dict-tag
:type=
"DICT_TYPE.ORDER_STATUS"
:value=
"consDetails.orderStatus"
/></h3>
<el-divider></el-divider>
<el-divider></el-divider>
<h2>
{{
$t
(
'
审批流程
'
)
}}
</h2>
<h2>
{{
$t
(
'
审批流程
'
)
}}
</h2>
<div
style=
"padding: 20px"
>
<div
style=
"padding: 20px"
>
<work-flow
xmlkey=
"ecw_cons_
retired
_warehouse"
v-model=
"params.copyUserId"
/>
<work-flow
xmlkey=
"ecw_cons_
exit
_warehouse"
v-model=
"params.copyUserId"
/>
</div>
</div>
<div>
<div>
<el-button
v-if=
"isExamine"
@
click=
"submit"
type=
"primary"
style=
"margin-right: 20px;"
>
{{
$t
(
'
确定退仓
'
)
}}
</el-button>
<el-button
v-if=
"isExamine"
@
click=
"submit"
type=
"primary"
style=
"margin-right: 20px;"
>
{{
$t
(
'
提交订单撤销申请
'
)
}}
</el-button>
<el-button
v-if=
"!isExamine"
@
click=
"goBpm"
type=
"primary"
style=
"margin-right: 20px;"
>
{{
$t
(
'
审核中
'
)
}}
</el-button>
<el-button
v-if=
"!isExamine"
@
click=
"goBpm"
type=
"primary"
style=
"margin-right: 20px;"
>
{{
$t
(
'
包裹撤销订单
审核中
'
)
}}
</el-button>
<el-button
v-if=
"!isExamine"
type=
"primary"
style=
"margin-right: 20px;"
@
click=
"cancellationOfCons"
>
{{
$t
(
'
取消审核
'
)
}}
</el-button>
<el-button
v-if=
"!isExamine"
type=
"primary"
style=
"margin-right: 20px;"
@
click=
"cancellationOfCons"
>
{{
$t
(
'
取消审核
'
)
}}
</el-button>
<el-button
@
click=
"$parent.showExit = false;"
>
{{
$t
(
'
不,再考虑考虑
'
)
}}
</el-button>
<el-button
@
click=
"$parent.showExit = false;"
>
{{
$t
(
'
返回
'
)
}}
</el-button>
</div>
</div>
</div>
</div>
</el-dialog>
</el-dialog>
...
@@ -29,7 +37,12 @@
...
@@ -29,7 +37,12 @@
<
script
>
<
script
>
import
workFlow
from
"
@/components/WorkFlow
"
;
import
workFlow
from
"
@/components/WorkFlow
"
;
import
ImageAndVideoUpload
from
"
@/components/ImageAndVideoUpload/index.vue
"
;
import
ImageAndVideoUpload
from
"
@/components/ImageAndVideoUpload/index.vue
"
;
import
{
cancelApplyAndUpdate
,
createConsRetiredWarehouseApplication
,
getCons
}
from
"
@/api/ecw/cons
"
;
import
{
cancelApplyAndUpdate
,
createConsExitApplication
,
createConsRetiredWarehouseApplication
,
getCons
}
from
"
@/api/ecw/cons
"
;
import
{
getConsApprovalList
}
from
"
@/api/ecw/consApproval
"
;
import
{
getConsApprovalList
}
from
"
@/api/ecw/consApproval
"
;
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
...
@@ -72,16 +85,11 @@ export default {
...
@@ -72,16 +85,11 @@ export default {
getCons
(
this
.
consId
).
then
(
r
=>
{
getCons
(
this
.
consId
).
then
(
r
=>
{
this
.
consDetails
=
r
.
data
this
.
consDetails
=
r
.
data
});
});
getConsApprovalList
({
consId
:
this
.
consId
,
approvalType
:
0
,
status
:
1
}).
then
(
r
=>
{
getConsApprovalList
({
consId
:
this
.
consId
,
approvalType
:
4
,
status
:
1
}).
then
(
r
=>
{
if
(
r
.
data
.
length
!=
0
){
if
(
r
.
data
.
length
!=
0
){
this
.
details
=
r
.
data
[
0
];
this
.
details
=
r
.
data
[
0
];
this
.
isExamine
=
false
;
this
.
isExamine
=
false
;
this
.
approvalDetail
=
JSON
.
parse
(
r
.
data
[
0
].
approvalDetail
)
this
.
approvalDetail
=
JSON
.
parse
(
r
.
data
[
0
].
approvalDetail
)
this
.
params
.
reason
=
this
.
approvalDetail
.
reason
this
.
params
.
imgUrl
=
this
.
approvalDetail
.
imgUrl
this
.
params
.
name
=
this
.
approvalDetail
.
name
this
.
params
.
phone
=
this
.
approvalDetail
.
phone
this
.
params
.
address
=
this
.
approvalDetail
.
address
}
}
})
})
...
@@ -95,9 +103,9 @@ export default {
...
@@ -95,9 +103,9 @@ export default {
this
.
params
.
consId
=
this
.
consDetails
.
id
;
this
.
params
.
consId
=
this
.
consDetails
.
id
;
this
.
params
.
imgUrl
=
this
.
params
.
imgUrl
.
join
(
'
,
'
)
this
.
params
.
imgUrl
=
this
.
params
.
imgUrl
.
join
(
'
,
'
)
this
.
params
.
consNum
=
this
.
consDetails
.
consNum
this
.
params
.
consNum
=
this
.
consDetails
.
consNum
createCons
RetiredWarehouse
Application
(
this
.
params
).
then
(
r
=>
{
createCons
Exit
Application
(
this
.
params
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
$message
.
success
(
this
.
$t
(
'
退仓
成功
'
));
this
.
$message
.
success
(
this
.
$t
(
'
撤出
成功
'
));
this
.
params
=
{}
this
.
params
=
{}
this
.
$parent
.
showExit
=
false
this
.
$parent
.
showExit
=
false
}
}
...
...
src/views/ecw/order/withdrawal.vue
View file @
3cc57d1b
...
@@ -7,7 +7,13 @@
...
@@ -7,7 +7,13 @@
}"
}"
width="80%">
width="80%">
<div
style=
"padding: 0 20px"
>
<div
style=
"padding: 0 20px"
>
<h1>
{{
$t
(
'
申请退仓
'
)
}}
-
{{
orderDetails
.
orderNo
}}
</h1>
<h1>
{{
$t
(
'
申请退仓
'
)
}}
-
<template
slot-scope=
"scope"
>
<router-link
:to=
"
{path: '/order/detail',query: {orderId: this.orderDetails.orderId}}" class="link-type">
<span>
{{
orderDetails
.
orderNo
}}
</span>
</router-link>
</
template
>
</h1>
<el-divider></el-divider>
<el-divider></el-divider>
<el-form
label-width=
"150px"
>
<el-form
label-width=
"150px"
>
<el-form-item
:label=
"$t('退仓原因')"
>
<el-form-item
:label=
"$t('退仓原因')"
>
...
...
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