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
da202dea
Commit
da202dea
authored
Nov 08, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户详情页面的订单列表补充订单统计数值
parent
39166873
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
2 deletions
+36
-2
customer.js
src/api/ecw/customer.js
+9
-1
query.vue
src/views/ecw/customer/query.vue
+27
-1
No files found.
src/api/ecw/customer.js
View file @
da202dea
...
@@ -291,6 +291,14 @@ export function infoListOrderPage(params){
...
@@ -291,6 +291,14 @@ export function infoListOrderPage(params){
params
params
})
})
}
}
//客户详情订单统计
export
function
infoListStatisticsOrder
(
params
){
return
request
({
url
:
'
/ecw/order/customer-statistics-order
'
,
method
:
'
get
'
,
params
})
}
//客户详情 --- 报价
//客户详情 --- 报价
export
function
infoListOfferPage
(
params
){
export
function
infoListOfferPage
(
params
){
return
request
({
return
request
({
...
@@ -557,4 +565,4 @@ export function customerMergeCus(params){
...
@@ -557,4 +565,4 @@ export function customerMergeCus(params){
method
:
'
get
'
,
method
:
'
get
'
,
params
params
})
})
}
}
\ No newline at end of file
src/views/ecw/customer/query.vue
View file @
da202dea
...
@@ -134,6 +134,12 @@
...
@@ -134,6 +134,12 @@
<
el
-
button
type
=
"
primary
"
@
click
=
"
handleOrderReset
"
>
{{
$t
(
"
重置
"
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
handleOrderReset
"
>
{{
$t
(
"
重置
"
)
}}
<
/el-button
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-form
>
<
/el-form
>
<
el
-
row
:
gutter
=
"
10
"
class
=
"
mb8
"
>
<
el
-
col
:
span
=
"
15
"
v
-
if
=
"
statisticsOrder
"
>
<!--
订单列表显示搜索条件对应箱数、仓库实测、收款方数、重量
-->
{{
$t
(
"
合计:{totalNum
}
箱,{totalVolume
}
m³(测) {totalChargeVolume
}
m³(重) {totalWeight
}
KG(测), {totalChargeWeight
}
kg(收费)
"
,
statisticsOrder
)
}}
<
/el-col
>
<
/el-row
>
<
/div
>
<
/div
>
<
el
-
descriptions
:
column
=
"
2
"
>
<
el
-
descriptions
:
column
=
"
2
"
>
<
el
-
descriptions
-
item
:
label
=
"
$t('海空联运/海运拼柜/海运整柜/专线空运')
"
>
{{
orderStatisticsObj
.
hklyTotal
||
0
}}
/
{{
orderStatisticsObj
.
hypgTotal
||
0
}}
/
{{
orderStatisticsObj
.
hyzgTotal
||
0
}}
/
{{
orderStatisticsObj
.
zxkyTotal
||
0
}}
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('海空联运/海运拼柜/海运整柜/专线空运')
"
>
{{
orderStatisticsObj
.
hklyTotal
||
0
}}
/
{{
orderStatisticsObj
.
hypgTotal
||
0
}}
/
{{
orderStatisticsObj
.
hyzgTotal
||
0
}}
/
{{
orderStatisticsObj
.
zxkyTotal
||
0
}}
<
/el-descriptions-item
>
...
@@ -657,7 +663,21 @@
...
@@ -657,7 +663,21 @@
<
/template
>
<
/template
>
<
script
>
<
script
>
import
{
getCustomer
,
getCustomerSelect
,
getBrankByCustomer
,
levelLogPage
,
customerCreditLogPage
,
infoListOrderPage
,
orderStatistics
,
creditLogCreate
,
creditScoreStatistic
,
infoListReceiptPage
,
memberUserList
,
deleteCustomer
}
from
"
@/api/ecw/customer
"
import
{
getCustomer
,
getCustomerSelect
,
getBrankByCustomer
,
levelLogPage
,
customerCreditLogPage
,
infoListOrderPage
,
orderStatistics
,
creditLogCreate
,
creditScoreStatistic
,
infoListReceiptPage
,
memberUserList
,
deleteCustomer
,
infoListStatisticsOrder
}
from
"
@/api/ecw/customer
"
import
{
getOfferPage
as
infoListOfferPage
}
from
"
@/api/ecw/offer
"
import
{
getOfferPage
as
infoListOfferPage
}
from
"
@/api/ecw/offer
"
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas2
}
from
"
@/utils/dict
"
import
{
DICT_TYPE
,
getDictDataLabel
,
getDictDatas2
}
from
"
@/utils/dict
"
import
{
getProductTypeList
}
from
"
@/api/ecw/productType
"
import
{
getProductTypeList
}
from
"
@/api/ecw/productType
"
...
@@ -932,6 +952,7 @@ export default {
...
@@ -932,6 +952,7 @@ export default {
importances
:
[]
importances
:
[]
}
,
}
,
orderList
:
[],
orderList
:
[],
statisticsOrder
:
{
}
,
orderTotal
:
0
,
orderTotal
:
0
,
infoListOfferFrom
:
{
infoListOfferFrom
:
{
pageNo
:
1
,
pageNo
:
1
,
...
@@ -1105,6 +1126,11 @@ export default {
...
@@ -1105,6 +1126,11 @@ export default {
if
(
this
.
destWarehouseId
!=
null
&&
this
.
destWarehouseId
!=
""
)
{
if
(
this
.
destWarehouseId
!=
null
&&
this
.
destWarehouseId
!=
""
)
{
queryParams
.
destWarehouseIds
=
this
.
destWarehouseId
queryParams
.
destWarehouseIds
=
this
.
destWarehouseId
}
}
infoListStatisticsOrder
({
customerDetailId
:
this
.
id
,
...
this
.
queryParams
,
...
queryParams
}
).
then
((
r
)
=>
{
if
(
r
.
code
===
0
)
{
this
.
statisticsOrder
=
r
.
data
}
}
)
infoListOrderPage
({
customerDetailId
:
this
.
id
,
...
this
.
queryParams
,
...
queryParams
}
).
then
((
r
)
=>
{
infoListOrderPage
({
customerDetailId
:
this
.
id
,
...
this
.
queryParams
,
...
queryParams
}
).
then
((
r
)
=>
{
if
(
r
.
code
===
0
)
{
if
(
r
.
code
===
0
)
{
this
.
orderList
=
r
.
data
.
list
this
.
orderList
=
r
.
data
.
list
...
...
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