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
d2c85aa9
Commit
d2c85aa9
authored
Aug 24, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
0ff630fc
2ab02011
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
32 deletions
+43
-32
singleApply.vue
src/views/ecw/order/singleApply.vue
+16
-11
splitApply.vue
src/views/ecw/order/splitApply.vue
+27
-21
No files found.
src/views/ecw/order/singleApply.vue
View file @
d2c85aa9
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<el-card
class=
"card"
>
<el-card
class=
"card"
>
<!-- 列表 -->
<!-- 列表 -->
<div
slot=
"header"
class=
"card-title"
>
已合单订单
</div>
<div
slot=
"header"
class=
"card-title"
>
已合单订单
</div>
<el-table
v-loading=
"loading"
border
:data=
"
list.
mergedList"
style=
"width: 200px;"
>
<el-table
v-loading=
"loading"
border
:data=
"mergedList"
style=
"width: 200px;"
>
<el-table-column
label=
"序号"
align=
"center"
prop=
"id"
type=
"index"
>
<el-table-column
label=
"序号"
align=
"center"
prop=
"id"
type=
"index"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
$index
+
1
}}
</span>
<span>
{{
scope
.
$index
+
1
}}
</span>
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"始发地"
align=
"center"
>
<el-table-column
label=
"始发地"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
importCityName
(
scope
.
row
.
scope
.
row
.
orderDepartureVO
.
departureId
)
}}
</span>
<span>
{{
importCityName
(
scope
.
row
.
orderDepartureVO
.
departure
.
titleZh
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"入仓货物属性"
align=
"center"
>
<el-table-column
label=
"入仓货物属性"
align=
"center"
>
...
@@ -129,7 +129,6 @@
...
@@ -129,7 +129,6 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"状态"
align=
"center"
>
<el-table-column
label=
"状态"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<!--
<dict-tag
:type=
"DICT_TYPE.ORDER_STATUS"
:value=
"scope.row.status"
/>
-->
{{
scope
.
row
.
status
==
99
?
'
异常
'
:
'
正常
'
}}
{{
scope
.
row
.
status
==
99
?
'
异常
'
:
'
正常
'
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -170,11 +169,12 @@ export default {
...
@@ -170,11 +169,12 @@ export default {
orderData
:{},
orderData
:{},
// 订单异常列表
// 订单异常列表
list
:
[],
list
:
[],
mergedList
:[],
singleData
:[],
singleData
:[],
tradeCityList
:[],
tradeCityList
:[],
loading
:
false
,
loading
:
false
,
queryParams
:{
queryParams
:{
mergedOrderNo
:
'
UG22000
12S
'
,
mergedOrderNo
:
'
UG22000
33D
'
,
page
:
1
,
page
:
1
,
rosw
:
10
rosw
:
10
},
},
...
@@ -188,7 +188,6 @@ export default {
...
@@ -188,7 +188,6 @@ export default {
this
.
queryParams
.
mergedOrderNo
=
this
.
$route
.
query
.
orderNo
this
.
queryParams
.
mergedOrderNo
=
this
.
$route
.
query
.
orderNo
}
}
this
.
getList
()
this
.
getList
()
getTradeCityList
().
then
(
res
=>
this
.
tradeCityList
=
res
.
data
)
getTradeCityList
().
then
(
res
=>
this
.
tradeCityList
=
res
.
data
)
},
},
methods
:
{
methods
:
{
...
@@ -197,11 +196,17 @@ export default {
...
@@ -197,11 +196,17 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
// 执行查询
// 执行查询
getMergeListByOrderNo
(
this
.
queryParams
).
then
(
response
=>
{
getMergeListByOrderNo
(
this
.
queryParams
).
then
(
response
=>
{
this
.
list
=
response
.
data
;
this
.
total
=
response
.
data
.
unMergeList
.
total
;
this
.
orderData
=
response
.
data
.
orderInfo
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
singleData
=
response
.
data
.
unMergeList
.
list
;
if
(
response
.
data
.
mergedList
){
this
.
mergedList
=
response
.
data
;
}
if
(
response
.
data
.
unMergeList
){
this
.
total
=
response
.
data
.
unMergeList
.
total
;
this
.
singleData
=
response
.
data
.
unMergeList
.
list
;
}
if
(
response
.
data
.
orderInfo
){
this
.
orderData
=
response
.
data
.
orderInfo
}
});
});
},
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
...
@@ -233,7 +238,7 @@ export default {
...
@@ -233,7 +238,7 @@ export default {
}
}
cancelMerge
(
params
).
then
(
res
=>
{
cancelMerge
(
params
).
then
(
res
=>
{
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$message
.
success
(
"
取消成功
"
);
that
.
getList
()
that
.
$router
.
back
()
})
})
},
},
submitForm
(){
submitForm
(){
...
@@ -250,7 +255,7 @@ export default {
...
@@ -250,7 +255,7 @@ export default {
}
}
createMerge
(
params
).
then
(
res
=>
{
createMerge
(
params
).
then
(
res
=>
{
that
.
$message
.
success
(
"
修改成功
"
);
that
.
$message
.
success
(
"
修改成功
"
);
that
.
getList
()
that
.
$router
.
back
()
})
})
}
}
}
}
...
...
src/views/ecw/order/splitApply.vue
View file @
d2c85aa9
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
{{
orderData
.
consignorVO
?
orderData
.
consignorVO
.
company
||
'
无
'
:
'
无
'
}}
{{
orderData
.
consignorVO
?
orderData
.
consignorVO
.
company
||
'
无
'
:
'
无
'
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"发货电话"
>
<el-descriptions-item
label=
"发货电话"
>
{{
orderData
.
consignorVO
?(
orderData
.
consignorVO
.
phone
?(
orderData
.
consignorVO
.
countryCode
+
orderData
.
consignorVO
.
phone
):
'
无
'
):
'
无
'
}}
{{
!
orderData
.
consignorVO
?
"
无
"
:
!
orderData
.
consignorVO
.
phone
?
'
无
'
:(
orderData
.
consignorVO
.
countryCode
+
orderData
.
consignorVO
.
phone
)
}}
</el-descriptions-item>
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
<el-descriptions
:column=
"4"
>
<el-descriptions
:column=
"4"
>
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
{{
orderData
.
consigneeVO
?
orderData
.
consigneeVO
.
company
||
'
无
'
:
'
无
'
}}
{{
orderData
.
consigneeVO
?
orderData
.
consigneeVO
.
company
||
'
无
'
:
'
无
'
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
label=
"收货电话"
>
<el-descriptions-item
label=
"收货电话"
>
{{
orderData
.
consigneeVO
?(
orderData
.
consigneeVO
.
phone
?(
orderData
.
consigneeVo
.
countryCode
+
orderData
.
consigneeVO
.
phone
):
'
无
'
):
'
无
'
}}
{{
!
orderData
.
consigneeVO
?
"
无
"
:
!
orderData
.
consigneeVO
.
phone
?
'
无
'
:(
orderData
.
consigneeVO
.
countryCode
+
orderData
.
consigneeVO
.
phone
)
}}
</el-descriptions-item>
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
...
@@ -102,9 +102,9 @@
...
@@ -102,9 +102,9 @@
<span>
品牌:
<span>
品牌:
<dict-tag
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"scope.row.brandType"
/>
<dict-tag
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"scope.row.brandType"
/>
</span>
</span>
<span
style=
"margin-left: 10px;"
>
箱数:
{{
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
}}
</span>
<span
style=
"margin-left: 10px;"
>
箱数:
{{
!
scope
.
row
.
warehouseInInfoVO
?
0
:
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
}}
</span>
<span
style=
"margin-left: 10px;"
>
体积:
{{
scope
.
row
.
warehouseInInfoVO
.
volume
}}
m³
</span>
<span
style=
"margin-left: 10px;"
>
体积:
{{
!
scope
.
row
.
warehouseInInfoVO
?
0
:
scope
.
row
.
warehouseInInfoVO
.
volume
}}
m³
</span>
<span
style=
"margin-left: 10px;"
>
重量:
{{
scope
.
row
.
warehouseInInfoVO
.
weight
}}
kg
</span>
<span
style=
"margin-left: 10px;"
>
重量:
{{
!
scope
.
row
.
warehouseInInfoVO
?
0
:
scope
.
row
.
warehouseInInfoVO
.
weight
}}
kg
</span>
</el-row>
</el-row>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -115,7 +115,8 @@
...
@@ -115,7 +115,8 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"状态"
align=
"center"
>
<el-table-column
label=
"状态"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.ORDER_STATUS"
:value=
"scope.row.status"
/>
{{
orderData
.
status
==
99
?
'
异常
'
:
'
正常
'
}}
<!--
<dict-tag
:type=
"DICT_TYPE.ORDER_STATUS"
:value=
"scope.row.status"
/>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -250,7 +251,7 @@
...
@@ -250,7 +251,7 @@
<
script
>
<
script
>
import
{
getDictData
,
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
getDictData
,
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
getSplitList
,
splitApply
,
createSplit
,
cancelApply
,
createSplitItem
,
deleteSplitItem
,
deleteSplit
}
from
"
@/api/ecw/orderHandle
"
import
{
getSplitList
,
splitApply
,
createSplit
,
cancelApply
,
createSplitItem
,
deleteSplitItem
,
deleteSplit
}
from
"
@/api/ecw/orderHandle
"
import
{
get
TradeCityList
}
from
'
@/api/ecw/region
'
import
{
get
WarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
...
@@ -291,7 +292,7 @@ export default {
...
@@ -291,7 +292,7 @@ export default {
prodTitleEn
:
[{
required
:
true
,
message
:
"
请选择英文品名
"
,
trigger
:
"
change
"
}],
prodTitleEn
:
[{
required
:
true
,
message
:
"
请选择英文品名
"
,
trigger
:
"
change
"
}],
},
},
queryParams
:{
queryParams
:{
orderId
:
9
6
,
orderId
:
17
6
,
lang
:
0
lang
:
0
},
},
query
:{
query
:{
...
@@ -303,15 +304,12 @@ export default {
...
@@ -303,15 +304,12 @@ export default {
},
},
created
()
{
created
()
{
this
.
getChannel
()
this
.
getChannel
()
get
TradeCity
List
().
then
(
res
=>
this
.
tradeCityList
=
res
.
data
)
get
Warehouse
List
().
then
(
res
=>
this
.
tradeCityList
=
res
.
data
)
if
(
this
.
$route
.
query
.
orderId
)
{
if
(
this
.
$route
.
query
.
orderId
)
{
this
.
queryParams
.
orderId
=
this
.
$route
.
query
.
orderId
this
.
queryParams
.
orderId
=
this
.
$route
.
query
.
orderId
this
.
getList
()
this
.
getOrder
()
}
else
{
this
.
getList
()
this
.
getOrder
()
}
}
this
.
getList
()
this
.
getOrder
()
},
},
watch
:
{
watch
:
{
//监听table这个对象
//监听table这个对象
...
@@ -349,7 +347,7 @@ export default {
...
@@ -349,7 +347,7 @@ export default {
getOrder
(){
getOrder
(){
this
.
loading
=
true
;
this
.
loading
=
true
;
getOrder
(
this
.
queryParams
.
orderId
).
then
(
response
=>
{
getOrder
(
this
.
queryParams
.
orderId
).
then
(
response
=>
{
this
.
orderData
=
response
.
data
;
this
.
orderData
=
response
.
data
this
.
query
.
destWarehouseId
=
response
.
data
.
logisticsInfoDto
.
startWarehouseId
this
.
query
.
destWarehouseId
=
response
.
data
.
logisticsInfoDto
.
startWarehouseId
this
.
loading
=
false
this
.
loading
=
false
...
@@ -397,9 +395,9 @@ export default {
...
@@ -397,9 +395,9 @@ export default {
orderSum
+=
column
.
num
orderSum
+=
column
.
num
orderV
+=
column
.
volume
orderV
+=
column
.
volume
orderW
+=
column
.
weight
orderW
+=
column
.
weight
leviteSum
+=
column
.
warehouseInInfoVO
.
cartonsNum
leviteSum
+=
column
.
warehouseInInfoVO
?
column
.
warehouseInInfoVO
.
cartonsNum
:
0
leviteV
+=
column
.
warehouseInInfoVO
.
volume
leviteV
+=
column
.
warehouseInInfoVO
?
column
.
warehouseInInfoVO
.
volume
:
0
leviteW
+=
column
.
warehouseInInfoVO
.
weight
leviteW
+=
column
.
warehouseInInfoVO
?
column
.
warehouseInInfoVO
.
weight
:
0
});
});
sums
[
1
]
=
'
下单统计:
'
+
orderSum
+
'
箱
'
+
orderV
+
'
m³
'
+
orderW
+
'
kg
'
+
'
入仓统计:
'
+
leviteSum
+
'
箱
'
+
leviteV
+
'
m³
'
+
leviteW
+
'
kg
'
sums
[
1
]
=
'
下单统计:
'
+
orderSum
+
'
箱
'
+
orderV
+
'
m³
'
+
orderW
+
'
kg
'
+
'
入仓统计:
'
+
leviteSum
+
'
箱
'
+
leviteV
+
'
m³
'
+
leviteW
+
'
kg
'
...
@@ -411,13 +409,21 @@ export default {
...
@@ -411,13 +409,21 @@ export default {
return
arr
.
length
>
0
?
arr
[
0
].
titleZh
:
'
无
'
return
arr
.
length
>
0
?
arr
[
0
].
titleZh
:
'
无
'
},
},
submitForm
(){
submitForm
(){
if
(
this
.
splitData
.
length
==
0
){
this
.
$modal
.
msgError
(
"
请先新建拆单
"
)
return
}
// if(this.selectedUsers.length==0){
// this.$modal.msgError("请选择抄送人")
// return
// }
var
params
=
{
var
params
=
{
orderId
:
this
.
queryParams
.
orderId
,
orderId
:
this
.
queryParams
.
orderId
,
copyUserId
:
this
.
selectedUsers
copyUserId
:
this
.
selectedUsers
}
}
splitApply
(
params
).
then
(
res
=>
{
splitApply
(
params
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
"
申请成功
"
);
this
.
$modal
.
msgSuccess
(
"
申请成功
"
);
th
at
.
getList
()
th
is
.
$router
.
back
()
})
})
},
},
addShop
(
index
){
addShop
(
index
){
...
@@ -479,7 +485,7 @@ export default {
...
@@ -479,7 +485,7 @@ export default {
remarks
:
this
.
shopForm
.
remarks
remarks
:
this
.
shopForm
.
remarks
}
}
createSplitItem
(
params
).
then
(
res
=>
{
createSplitItem
(
params
).
then
(
res
=>
{
th
at
.
$message
.
success
(
"
放入成功
"
);
th
is
.
$message
.
success
(
"
放入成功
"
);
this
.
getList
()
this
.
getList
()
this
.
shopForm
=
{}
this
.
shopForm
=
{}
})
})
...
@@ -499,7 +505,7 @@ export default {
...
@@ -499,7 +505,7 @@ export default {
that
.
$confirm
(
'
是否取消审核吗?
'
).
then
(
function
()
{
that
.
$confirm
(
'
是否取消审核吗?
'
).
then
(
function
()
{
cancelApply
({
orderId
:
that
.
queryParams
.
orderId
}).
then
(
res
=>
{
cancelApply
({
orderId
:
that
.
queryParams
.
orderId
}).
then
(
res
=>
{
that
.
$message
.
success
(
"
取消成功
"
);
that
.
$message
.
success
(
"
取消成功
"
);
that
.
getList
()
that
.
$router
.
back
()
})
})
})
})
...
...
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