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
85afff27
Commit
85afff27
authored
Oct 07, 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
177a5490
da9c9ef6
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
248 additions
and
105 deletions
+248
-105
order.js
src/api/ecw/order.js
+18
-0
detail.vue
src/views/bpm/processInstance/detail.vue
+13
-1
ApprovalDetail.vue
src/views/ecw/order/components/ApprovalDetail.vue
+0
-1
UpdateDetail.vue
src/views/ecw/order/components/UpdateDetail.vue
+89
-0
detail.vue
src/views/ecw/order/detail.vue
+57
-54
edit.vue
src/views/ecw/order/edit.vue
+70
-48
index.vue
src/views/ecw/order/index.vue
+1
-1
No files found.
src/api/ecw/order.js
View file @
85afff27
...
...
@@ -439,4 +439,22 @@ export function orderSpecialNeedGet(params){
url
:
'
/ecw/order/update/info/
'
+
id
,
method
:
'
get
'
})
}
// 根据审批ID获得订单修改申请详情
export
function
getUpdateInfoByApproveId
(
approveId
){
return
request
({
url
:
'
/ecw/order/update/info
'
,
method
:
'
get
'
,
params
:
{
approveId
}
})
}
// (新修改订单)订单修改审批申请
export
function
updateApply
(
data
){
return
request
({
url
:
'
/ecw/order/update/apply
'
,
method
:
'
put
'
,
data
})
}
\ No newline at end of file
src/views/bpm/processInstance/detail.vue
View file @
85afff27
...
...
@@ -304,7 +304,19 @@ export default {
component
:
()
=>
import
(
'
@/views/ecw/order/components/LandingBillDetail
'
),
id
:
this
.
processInstance
.
businessKey
,
path
:
this
.
processInstance
.
processDefinition
?.
formCustomViewPath
}
},
// 订单审核详情
order_approval
:{
component
:
()
=>
import
(
'
@/views/ecw/order/components/ApprovalDetail
'
),
id
:
this
.
processInstance
.
businessKey
,
path
:
this
.
processInstance
.
processDefinition
?.
formCustomViewPath
},
// 订单修改审批
order_update
:{
component
:
()
=>
import
(
'
@/views/ecw/order/components/UpdateDetail
'
),
id
:
this
.
processInstance
.
businessKey
,
path
:
this
.
processInstance
.
processDefinition
?.
formCustomViewPath
},
}
return
map
[
this
.
processInstance
.
processDefinition
.
formCustomViewPath
.
trim
()]
}
...
...
src/views/ecw/order/components/ApprovalDetail.vue
View file @
85afff27
...
...
@@ -86,7 +86,6 @@ export default {
created
(){
if
(
this
.
id
){
this
.
getData
()
getBillService
({
id
:
this
.
id
})
}
},
methods
:{
...
...
src/views/ecw/order/components/UpdateDetail.vue
0 → 100644
View file @
85afff27
<!--订单修改审核的申请信息部分-->
<
template
>
<div
v-if=
"order"
>
<el-descriptions
:column=
"4"
v-if=
"order"
:colon=
"false"
>
<el-descriptions-item
:label=
"$t('订单号')"
>
{{
order
.
orderNo
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('运输方式')"
>
<dict-tag
class=
"mr-10"
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"order.transportId"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('出货方式')"
>
{{
channel
?
channel
.
nameZh
:
'
/
'
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('订单状态')"
>
{{
order
.
statusMsg
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('唛头')"
>
{{
order
.
marks
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('始发仓')"
>
{{
order
.
logisticsInfoDto
?
$l
(
order
.
logisticsInfoDto
,
'
startTitle
'
)
:
'
-
'
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('目的仓')"
:span=
"2"
>
{{
order
.
logisticsInfoDto
?
$l
(
order
.
logisticsInfoDto
,
'
destAddress
'
)
:
'
-
'
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('申请理由')"
:span=
"4"
>
<div>
<div
v-for=
"(item, index) in order.applyInfoList"
:key=
"index"
>
{{
index
+
1
}}
、
{{
item
.
name
}}
{{
$t
(
'
从旧的【{orgValue
}
】改成新的【{newValue
}
】
'
,
{
orgValue
:
item
.
orgValue
,
newValue
:
item
.
newValue
}
)
}}
<
/div
>
<
/div
>
<
/el-descriptions-item
>
<
/el-descriptions
>
<
/div
>
<
/template
>
<
script
>
import
{
getOrder
,
getUpdateInfoByApproveId
}
from
'
@/api/ecw/order
'
import
{
getChannel
}
from
'
@/api/ecw/channel
'
import
{
getBillOfLandingInProcessing
,
getBillService
}
from
'
@/api/ecw/box
'
export
default
{
name
:
'
OrderApprovalDetail
'
,
props
:{
id
:
[
String
,
Number
],
path
:
String
}
,
components
:{
PrintLandingBill
:
()
=>
import
(
'
./PrintLadingBill.vue
'
)
}
,
data
(){
return
{
order
:
null
,
channel
:
null
}
}
,
watch
:{
id
(){
this
.
getData
()
}
,
order
(){
if
(
this
.
order
.
channelId
){
this
.
getChannel
()
}
}
}
,
created
(){
if
(
this
.
id
){
this
.
getData
()
}
}
,
methods
:{
getData
(){
getUpdateInfoByApproveId
(
this
.
id
).
then
(
res
=>
{
this
.
order
=
res
.
data
}
)
}
,
getChannel
(){
getChannel
(
this
.
order
.
channelId
).
then
(
res
=>
{
this
.
channel
=
res
.
data
}
)
}
}
}
<
/script
>
<
style
scoped
lang
=
"
scss
"
>
.
title
{
padding
:
10
px
0
;
span
{
font
-
size
:
14
px
;
font
-
weight
:
bold
;
}
}
<
/style>
\ No newline at end of file
src/views/ecw/order/detail.vue
View file @
85afff27
...
...
@@ -42,58 +42,61 @@
</el-row>
</el-card>
<el-card
class=
"card"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-descriptions
class=
"margin-top"
border
:title=
"$t('物流信息')"
:column=
"2"
>
<el-descriptions-item
:label=
"$t('始发仓')"
>
{{order.logisticsInfoDto.startTitleZh}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('目的仓')"
>
{{order.logisticsInfoDto.destTitleZh}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('地址')"
:span=
"2"
>
{{order.logisticsInfoDto.startAddressZh}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('运输方式')"
:span=
"2"
>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"order.transportId"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('出货渠道')"
:span=
"2"
>
{{channelName}}
</el-descriptions-item>
</el-descriptions>
</el-col>
<el-col
:span=
"12"
>
<el-descriptions
class=
"margin-top"
border
:title=
"$t('基础信息')"
:column=
"2"
>
<el-descriptions-item
:label=
"$t('唛头')"
>
{{order.marks}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('送货时间')"
>
{{order.deliveryDate}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('是否控货')"
>
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"order.isCargoControl"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('填单信息')"
>
{{order.costVO.totalNum}}{{$t('箱')}}
{{order.costVO.totalWeight}}Kg
{{order.costVO.totalVolume}}m³
{{order.costVO.totalQuantity}}{{$t('个')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('仓库实测')"
>
{{order.sumNum}}{{$t('箱')}}
{{order.sumWeight}}Kg
{{order.sumVolume}}m³
{{order.sumQuantity}}{{$t('个')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('收款数据')"
>
{{order.sumNum}}{{$t('箱')}}
{{order.vweight}}Kg
{{order.wvolume}}m³
{{order.sumQuantity}}{{$t('个')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('入仓类型')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
:value=
"order.warehouseType"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('单证报关')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
:value=
"order.customsType"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('出单方式')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_SUING_METHOD"
:value=
"order.issuingMethod"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('代收货款')"
>
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"order.isCollection"
/>
</el-descriptions-item>
</el-descriptions>
</el-col>
</el-row>
<el-descriptions
border
:title=
"$t('物流信息')"
:column=
"2"
>
<el-descriptions-item
:label=
"$t('始发仓')"
>
{{order.logisticsInfoDto.startTitleZh}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('目的仓')"
>
{{order.logisticsInfoDto.destTitleZh}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('地址')"
:span=
"2"
>
{{order.logisticsInfoDto.startAddressZh}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('运输方式')"
:span=
"2"
>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"order.transportId"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('出货渠道')"
:span=
"2"
>
{{channelName}}
</el-descriptions-item>
</el-descriptions>
</el-card>
<el-card
class=
"card"
>
<el-descriptions
class=
"mr-10"
border
:title=
"$t('基础信息')"
:column=
"2"
>
<el-descriptions-item
:label=
"$t('唛头')"
>
{{order.marks}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('送货时间')"
>
{{order.deliveryDate}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('是否控货')"
>
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"order.isCargoControl"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('填单信息')"
>
{{order.costVO.totalNum}}{{$t('箱')}}
{{order.costVO.totalWeight}}Kg
{{order.costVO.totalVolume}}m³
{{order.costVO.totalQuantity}}{{$t('个')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('仓库实测')"
>
{{order.sumNum}}{{$t('箱')}}
{{order.sumWeight}}Kg
{{order.sumVolume}}m³
{{order.sumQuantity}}{{$t('个')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('收款数据')"
>
{{order.sumNum}}{{$t('箱')}}
{{order.vweight}}Kg
{{order.wvolume}}m³
{{order.sumQuantity}}{{$t('个')}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('入仓类型')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_WAREHOUSING_TYPE"
:value=
"order.warehouseType"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('单证报关')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_CUSTOMS_TYPE"
:value=
"order.customsType"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('出单方式')"
>
<dict-tag
:type=
"DICT_TYPE.ECW_SUING_METHOD"
:value=
"order.issuingMethod"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('代收货款')"
>
<dict-tag
:type=
"DICT_TYPE.INFRA_BOOLEAN_STRING"
:value=
"order.isCollection"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('集运仓库')"
>
{{isExternalWarehouse ? '自有仓' : '外部仓'}}
<div
v-for=
"(item, index) in order.externalWarehouseDtoList"
:key=
"index"
>
装柜时间: {{item.estLoadingTime}} 装柜地址:{{item.loadingAddress}}
</div>
</el-descriptions-item>
</el-descriptions>
</el-card>
<el-card
class=
"card"
>
<el-tabs
v-model=
"activeName"
>
...
...
@@ -129,12 +132,12 @@
</el-table-column>
<el-table-column
prop=
"volume"
:label=
"$t('体积') + '(m³)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
order
.
inWarehouseState
>
1
?
row
.
warehouseInInfoVO
.
volume
:
row
.
volume
}}
{{
order
.
inWarehouseState
>
1
&&
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
volume
:
row
.
volume
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"weight"
:label=
"$t('重量') + '(kg)'"
width=
"90px"
>
<
template
slot-scope=
"{row}"
>
{{
order
.
inWarehouseState
>
1
?
row
.
warehouseInInfoVO
.
weight
:
row
.
weight
}}
{{
order
.
inWarehouseState
>
1
&&
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
row
.
weight
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"quantity"
:label=
"$t('数量') + '(个)'"
width=
"90px"
/>
...
...
src/views/ecw/order/edit.vue
View file @
85afff27
This diff is collapsed.
Click to expand it.
src/views/ecw/order/index.vue
View file @
85afff27
...
...
@@ -177,7 +177,7 @@
exclude(scope.row.abnormalState, [1 ,99 ,2 ,3 ,4 ,9 ,10 ,11 ,12 ,14]) &&
exclude(scope.row.status, [20,21]) &&
exclude(scope.row.shipmentState, [320,322,323]) &&
(exclude(scope.row.inWarehouseState, [ 212, 218, 213, 214, 215]) && exclude(scope.row.status, [5,8])
)
exclude(scope.row.inWarehouseState, [ 212, 218, 213, 214, 215]
)
"
>
<el-dropdown-item
@
click.native=
"handleUpdate(scope.row)"
v-hasPermi=
"['ecw:order:update']"
>
{{
$t
(
'
编辑
'
)
}}
</el-dropdown-item>
</
template
>
...
...
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