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
e1c223d8
Commit
e1c223d8
authored
Sep 07, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户等级日志,信用日志
parent
4ae1078e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
122 additions
and
6 deletions
+122
-6
query.vue
src/views/ecw/customer/query.vue
+122
-6
No files found.
src/views/ecw/customer/query.vue
View file @
e1c223d8
...
...
@@ -153,10 +153,32 @@
<
customer
-
complaint
ref
=
"
customerComplaint
"
:
customer
-
id
=
"
id
"
hidden
-
search
><
/customer-complaint
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
label
=
"
账单
"
>
<
el
-
table
style
=
"
width: 100%
"
>
<
el
-
table
-
column
label
=
"
序号
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
账单
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
订单号
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
箱数
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
方数
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
重量
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
类型
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
费用类型
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
金额
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
汇率
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
实收金额
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
实收日期
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
业务员
"
><
/el-table-column
>
<
/el-table
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
label
=
"
数据
"
>
<
el
-
descriptions
:
column
=
"
2
"
>
<
el
-
descriptions
-
item
label
=
"
海空联运/海运拼柜/海运整柜/专线空运:
"
><
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
最后交易日期:
"
><
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
全部订单/控货订单
"
><
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
最后交易单号:
"
><
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
报价/下单/入仓
"
><
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
储存量
"
><
/el-descriptions-item
>
<
el
-
descriptions
-
item
label
=
"
已出货订单
"
><
/el-descriptions-item
>
<
/el-descriptions
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
label
=
"
品牌授权
"
>
<
el
-
table
border
style
=
"
width:100%
"
:
data
=
"
brandAuthorizationList
"
>
...
...
@@ -206,20 +228,82 @@
@
pagination
=
"
getBrankByCustomerList
"
/>
<
/el-tab-pane
>
<
el
-
tab
-
pane
label
=
"
信用日志
"
>
<
el
-
card
class
=
"
box-card
"
>
<
div
slot
=
"
header
"
class
=
"
clearfix
"
>
<
div
style
=
"
width:300px;height: 300px;margin: auto
"
>
<
/div
>
<
el
-
button
style
=
"
float: right;
"
type
=
"
primary
"
@
click
=
"
dialogVisible = true
"
>
添加信用日志
<
/el-button
>
<
/div
>
<
el
-
table
:
data
=
"
customerCreditLogList
"
>
<
el
-
table
-
column
label
=
"
序号
"
type
=
"
index
"
><
/el-table-column
>
<
el
-
table
-
column
prop
=
"
name
"
label
=
"
规则名称
"
><
/el-table-column
>
<
el
-
table
-
column
prop
=
"
type
"
label
=
"
规则分类
"
><
/el-table-column
>
<
el
-
table
-
column
prop
=
"
score
"
label
=
"
规则得分
"
><
/el-table-column
>
<
el
-
table
-
column
prop
=
"
remark
"
label
=
"
备注
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
添加人
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
时间
"
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
parseTime
(
row
.
createTime
)
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
><
/el-table-column
>
<
/el-table
>
<
pagination
@
pagination
=
"
creditLogPage
"
:
page
.
sync
=
"
customerCreditLogFrom.page
"
:
limit
.
sync
=
"
customerCreditLogFrom.row
"
:
total
=
"
customerCreditLogFrom.total
"
><
/pagination
>
<
/el-card
>
<
/el-tab-pane
>
<
el
-
tab
-
pane
label
=
"
等级日志
"
>
<
el
-
table
style
=
"
width: 100%
"
:
data
=
"
getCustomerGradeList
"
>
<
el
-
table
-
column
label
=
"
序号
"
type
=
"
index
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
规则名称
"
prop
=
"
name
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
规则分类
"
prop
=
"
type
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
规则得分
"
prop
=
"
score
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
备注
"
prop
=
"
remark
"
><
/el-table-column
>
<
el
-
table
-
column
label
=
"
时间
"
>
<
template
v
-
slot
=
"
{row
}
"
>
{{
parseTime
(
row
.
createTime
)
}}
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"
操作
"
><
/el-table-column
>
<
/el-table
>
<
pagination
@
pagination
=
"
getCustomerGrade
"
:
page
.
sync
=
"
getCustomerGradeFrom.page
"
:
limit
.
sync
=
"
getCustomerGradeFrom.row
"
:
total
=
"
getCustomerGradeFrom.total
"
><
/pagination
>
<
/el-tab-pane
>
<
/el-tabs
>
<
/el-col
>
<
/el-row
>
<
el
-
dialog
:
visible
.
sync
=
"
dialogVisible
"
width
=
"
30%
"
>
<
h1
slot
=
"
title
"
>
给客户【小六子】添加信用日志
<
/h1
>
<
el
-
form
label
-
width
=
"
100
"
>
<
el
-
form
-
item
label
=
"
客户编号:
"
><
/el-form-item
>
<
el
-
form
-
item
label
=
"
信用类别
"
>
<
el
-
select
><
/el-select
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
信用分
"
><
/el-form-item
>
<
el
-
form
-
item
label
=
"
备注
"
>
<
el
-
input
type
=
"
textarea
"
>
<
/el-input
>
<
/el-form-item
>
<
/el-form
>
<
span
slot
=
"
footer
"
class
=
"
dialog-footer
"
>
<
el
-
button
>
提交
<
/el-button
>
<
el
-
button
@
click
=
"
dialogVisible = false
"
>
取消
<
/el-button
>
<
/span
>
<
/el-dialog
>
<
/div
>
<
/template
>
<
script
>
import
{
getCustomer
,
getCustomerSelect
,
getBrankByCustomer
}
from
'
@/api/ecw/customer
'
import
{
getCustomer
,
getCustomerSelect
,
getBrankByCustomer
,
levelLogPage
,
customerCreditLogPage
}
from
'
@/api/ecw/customer
'
import
{
DICT_TYPE
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
{
getProductTypeList
}
from
'
@/api/ecw/productType
'
import
{
getNodeList
}
from
'
@/api/ecw/node
'
...
...
@@ -260,9 +344,12 @@ export default {
this
.
serviceUserList
=
r
.
data
}
)
this
.
getBrankByCustomerList
()
this
.
getCustomerGrade
()
this
.
creditLogPage
()
}
,
data
()
{
return
{
dialogVisible
:
false
,
DICT_TYPE
,
getDictDataLabel
,
parseTime
,
...
...
@@ -314,6 +401,18 @@ export default {
}
,
brandAuthorizationList
:[],
brandAuthorizationTotal
:
0
,
getCustomerGradeFrom
:{
page
:
1
,
rows
:
10
,
total
:
0
}
,
getCustomerGradeList
:[],
customerCreditLogFrom
:{
page
:
1
,
rows
:
10
,
total
:
0
,
}
,
customerCreditLogList
:[]
}
}
,
computed
:
{
...
...
@@ -338,6 +437,23 @@ export default {
methods
:{
getBrankByCustomerList
(){
getBrankByCustomer
({...
this
.
brandAuthorizationFrom
,
customerId
:
this
.
id
}
).
then
(
r
=>
{
this
.
brandAuthorizationList
=
r
.
data
.
list
;
this
.
brandAuthorizationTotal
=
r
.
data
.
total
}
)
}
,
getCustomerGrade
(){
levelLogPage
({...
this
.
getCustomerGradeFrom
,
customerId
:
this
.
id
}
).
then
(
r
=>
{
console
.
log
(
r
)
if
(
r
.
code
===
0
){
this
.
getCustomerGradeList
=
r
.
data
.
list
;
this
.
getCustomerGradeFrom
.
total
=
r
.
data
.
total
;
}
}
)
}
,
creditLogPage
(){
customerCreditLogPage
({...
this
.
customerCreditLogFrom
,
customerId
:
this
.
id
}
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
customerCreditLogList
=
r
.
data
.
list
;
this
.
customerCreditLogFrom
.
total
=
r
.
data
.
total
;
}
}
)
}
}
}
...
...
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