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
12e6c35f
Commit
12e6c35f
authored
Sep 03, 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
3738d6b5
7cd544a2
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
311 additions
and
227 deletions
+311
-227
order.js
src/api/ecw/order.js
+8
-1
detail.vue
src/views/bpm/processInstance/detail.vue
+5
-0
query.vue
src/views/ecw/customer/query.vue
+28
-0
index.vue
src/views/ecw/customerCommissionInfo/index.vue
+209
-211
associatedOrder.vue
src/views/ecw/order/associatedOrder.vue
+9
-3
warehouseDetails.vue
src/views/ecw/order/components/warehouseDetails.vue
+19
-1
mutexOrder.vue
src/views/ecw/order/mutexOrder.vue
+9
-2
transferWarehousing.vue
src/views/ecw/order/transferWarehousing.vue
+24
-9
No files found.
src/api/ecw/order.js
View file @
12e6c35f
...
...
@@ -163,7 +163,7 @@ export function orderWarehouseIn(data){
})
}
// 入仓
// 入仓
修改
export
function
orderWarehouseInUpdateApply
(
data
){
return
request
({
url
:
'
/order/order-warehouse-in/update-apply
'
,
...
...
@@ -171,6 +171,13 @@ export function orderWarehouseInUpdateApply(data){
data
})
}
// 获取入仓修改审批单详情-审批使用
export
function
getWarehouseUpdateApprovalInfo
(
id
)
{
return
request
({
url
:
'
/order/order-warehouse-in/get-update-approval-info?formId=
'
+
id
,
method
:
'
get
'
})
}
// 入仓完成
export
function
orderWarehouseInFinish
(
data
){
...
...
src/views/bpm/processInstance/detail.vue
View file @
12e6c35f
...
...
@@ -177,6 +177,11 @@ export default {
processId
:
this
.
processInstance
.
businessKey
,
type
:
1
},
warehouse_update
:
{
component
:
"
warehouseDetails
"
,
processId
:
this
.
processInstance
.
businessKey
,
type
:
4
},
container_modify
:
{
component
:
"
shippingDetail
"
,
processId
:
this
.
processInstance
.
businessKey
,
...
...
src/views/ecw/customer/query.vue
View file @
12e6c35f
...
...
@@ -168,6 +168,34 @@
<
dict
-
tag
:
type
=
"
DICT_TYPE.BRAND_REG_TYPE
"
:
value
=
"
row.filing
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
授权开始
"
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
parseTime
(
row
.
startTime
)
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
授权结束
"
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
parseTime
(
row
.
endTime
)
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
授权证明
"
>
<
template
v
-
slot
=
"
{row
}
"
>
<
div
v
-
if
=
"
!!row.fileUrl && row.fileUrl.length > 0
"
>
<
span
v
-
for
=
"
(item, index) in row.fileUrl.split(',')
"
>
<
a
:
href
=
"
item
"
target
=
"
_blank
"
>
附件
{{
index
+
1
}}
<
/a>
,
<
/span
>
<
/div
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"
feeScale
"
:
formatter
=
"
(row) => getDictDataLabel(DICT_TYPE.BRAND_CUSTOMER_CHARGING_MODEL, row.feeScale)
"
label
=
"
收费标准
"
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"
createUsername
"
label
=
"
添加人
"
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
创建时间
"
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
parseTime
(
row
.
createTime
)
}}
...
...
src/views/ecw/customerCommissionInfo/index.vue
View file @
12e6c35f
This diff is collapsed.
Click to expand it.
src/views/ecw/order/associatedOrder.vue
View file @
12e6c35f
...
...
@@ -57,7 +57,11 @@
<dict-tag
:value=
"scope.row.orderBackVO.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作人"
prop=
"creator"
>
<
template
v-slot=
"{row}"
>
{{
userList
.
find
(
i
=>
row
.
creator
==
i
.
id
).
nickname
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作时间"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
...
...
@@ -85,6 +89,7 @@ import {
}
from
"
@/api/ecw/associatedOrder
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
Template
from
"
@/views/cms/template
"
;
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
;
export
default
{
name
:
"
associatedOrder
"
,
props
:{
...
...
@@ -114,7 +119,8 @@ export default {
list
:[],
DICT_TYPE
,
getDictDatas
,
multipleSelection
:[]
multipleSelection
:[],
userList
:[]
}
},
created
()
{
...
...
@@ -125,13 +131,13 @@ export default {
this
.
orderDetails
=
r
.
data
;
}
})
listSimpleUsers
().
then
(
r
=>
this
.
userList
=
r
.
data
)
},
methods
:{
getList
(){
guanlianList
(
this
.
params
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
list
=
r
.
data
console
.
log
(
this
.
list
[
0
])
}
})
},
...
...
src/views/ecw/order/components/warehouseDetails.vue
View file @
12e6c35f
...
...
@@ -124,6 +124,12 @@
{{ FeeDetails.details
&&
FeeDetails.details.reason ? FeeDetails.details.reason :''}}
</div>
</div>
<div
v-if=
"type === 4"
>
<p>
申请理由
</p>
<div>
{{ FeeDetails.details || '' }}
</div>
</div>
</div>
</template>
...
...
@@ -133,7 +139,13 @@ import {
warehouseApprovalGetById
,
warehouseAreaPositionList
}
from
"
@/api/ecw/batchSingleApplication
"
;
import
{
applicationGetOrderByProcessId
,
feeApplicationGet
,
getOrder
,
getOrderPage
,}
from
"
@/api/ecw/order
"
;
import
{
applicationGetOrderByProcessId
,
feeApplicationGet
,
getOrder
,
getOrderPage
,
getWarehouseUpdateApprovalInfo
}
from
'
@/api/ecw/order
'
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
;
import
Template
from
"
@/views/cms/template
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
...
...
@@ -221,6 +233,12 @@ export default {
})
});
break
;
case
4
:
// 入仓修改
getWarehouseUpdateApprovalInfo
(
this
.
processInstanceID
).
then
(
r
=>
{
this
.
FeeDetails
.
details
=
r
.
data
.
details
})
break
}
}
...
...
src/views/ecw/order/mutexOrder.vue
View file @
12e6c35f
...
...
@@ -57,7 +57,11 @@
<dict-tag
:value=
"scope.row.orderBackVO.status"
:type=
"DICT_TYPE.ORDER_STATUS"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
label=
"操作人"
></el-table-column>
<el-table-column
label=
"操作人"
>
<
template
v-slot=
"{row}"
>
{{
userList
.
find
(
i
=>
row
.
creator
==
i
.
id
).
nickname
}}
</
template
>
</el-table-column>
<el-table-column
label=
"操作时间"
prop=
"createTime"
>
<
template
v-slot=
"{row}"
>
{{
parseTime
(
row
.
orderBackVO
.
createTime
)
...
...
@@ -85,6 +89,7 @@ import {
}
from
"
@/api/ecw/mutexOrder
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
Template
from
"
@/views/cms/template
"
;
import
{
listSimpleUsers
}
from
"
@/api/system/user
"
;
export
default
{
name
:
"
mutexOrder
"
,
props
:{
...
...
@@ -104,7 +109,8 @@ export default {
list
:[],
DICT_TYPE
,
getDictDatas
,
multipleSelection
:[]
multipleSelection
:[],
userList
:[]
}
},
created
()
{
...
...
@@ -115,6 +121,7 @@ export default {
this
.
orderDetails
=
r
.
data
;
}
})
listSimpleUsers
().
then
(
r
=>
this
.
userList
=
r
.
data
)
},
methods
:{
getList
(){
...
...
src/views/ecw/order/transferWarehousing.vue
View file @
12e6c35f
...
...
@@ -8,8 +8,8 @@
<el-divider
content-position=
"left"
>
货物信息
</el-divider>
<el-table
:data=
" orderDetails.orderItemVOList && orderDetails.orderItemVOList.length > 0 ? orderDetails.orderItemVOList : [] "
>
<el-table-column
type=
"index"
label=
"序号"
></el-table-column>
<el-table
:
show-summary=
"true"
:summary-method=
"totalFn"
:
data=
" orderDetails.orderItemVOList && orderDetails.orderItemVOList.length > 0 ? orderDetails.orderItemVOList : [] "
>
<el-table-column
width=
"80"
type=
"index"
label=
"序号"
></el-table-column>
<el-table-column
label=
"品名"
>
<template
v-slot=
"
{row}">
<div>
{{
row
.
prodTitleZh
}}
</div>
...
...
@@ -18,22 +18,21 @@
</el-table-column>
<el-table-column
label=
"填单货物属性"
>
<
template
v-slot=
"{row}"
>
<el-descriptions
size=
"mini"
:column=
"
1
"
>
<el-descriptions
size=
"mini"
:column=
"
2
"
>
<el-descriptions-item
label=
"品牌"
>
{{
row
.
brand
}}
</el-descriptions-item>
<el-descriptions-item
label=
"箱数"
>
{{
row
.
num
}}
</el-descriptions-item>
<el-descriptions-item
label=
"体积"
>
{{
row
.
volume
}}
</el-descriptions-item>
<el-descriptions-item
label=
"重量"
>
</el-descriptions-item>
<el-descriptions-item
label=
"体积"
>
{{
row
.
volume
}}
m³
</el-descriptions-item>
<el-descriptions-item
label=
"重量"
>
{{
row
.
weight
}}
Kg
</el-descriptions-item>
</el-descriptions>
</
template
>
</el-table-column>
<el-table-column
label=
"入库货物属性"
>
<
template
v-slot=
"{row}"
>
<el-descriptions
size=
"mini"
:column=
"
4
"
>
<el-descriptions
size=
"mini"
:column=
"
2
"
>
<el-descriptions-item
label=
"品牌"
>
{{
row
.
brand
}}
</el-descriptions-item>
<el-descriptions-item
label=
"箱数"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
cartonsNum
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"体积"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
volume
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"重量"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
''
}}
</el-descriptions-item>
<el-descriptions-item
label=
"体积"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
volume
:
''
}}
m³
</el-descriptions-item>
<el-descriptions-item
label=
"重量"
>
{{
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
''
}}
Kg
</el-descriptions-item>
</el-descriptions>
</
template
>
</el-table-column>
...
...
@@ -238,6 +237,22 @@ export default {
this
.
$router
.
back
();
}
})
},
totalFn
({
columns
,
data
}){
// 体积,数量,重量 W:入仓
let
volume
=
0
,
num
=
0
,
weight
=
0
;
let
Wvolume
=
0
,
Wnum
=
0
,
Wweight
=
0
;
data
.
forEach
(
i
=>
{
volume
+=
Number
(
i
.
volume
)
num
+=
Number
(
i
.
num
)
weight
+=
Number
(
i
.
weight
)
Wvolume
+=
Number
(
i
.
warehouseInInfoVO
?
i
.
warehouseInInfoVO
.
volume
:
0
);
Wnum
+=
Number
(
i
.
warehouseInInfoVO
?
i
.
warehouseInInfoVO
.
num
:
0
)
Wweight
+=
Number
(
i
.
warehouseInInfoVO
?
i
.
warehouseInInfoVO
.
weight
:
0
)
})
let
text
=
`下单统计:
${
num
}
箱
${
volume
}
m³
${
weight
}
Kg`
let
text2
=
` 入仓统计:
${
Wnum
}
箱
${
Wvolume
}
m³
${
Wweight
}
Kg`
return
[
'
合计:
'
,
text
,
text2
]
}
},
}
...
...
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