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
a98e369f
Commit
a98e369f
authored
Dec 01, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多个出货渠道未用分隔符隔开显示 bug修复
parent
ea345a9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
index.vue
src/views/ecw/customer/index.vue
+9
-1
No files found.
src/views/ecw/customer/index.vue
View file @
a98e369f
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('出货渠道')"
>
<el-table-column
:label=
"$t('出货渠道')"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
v-if=
"row.transportType"
v-for=
"item in row.transportType.split(',')"
:type=
"DICT_TYPE.ECW_CUSTOMER_TRANSPORT_TYPE"
:value=
"item"
></dict-tag>
{{
channel
(
row
.
transportType
)
}}
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('国家')"
align=
"center"
prop=
"country"
:formatter=
"countryFormatter"
></el-table-column>
<el-table-column
:label=
"$t('国家')"
align=
"center"
prop=
"country"
:formatter=
"countryFormatter"
></el-table-column>
...
@@ -517,6 +517,13 @@ import transferCustomer from "@/views/ecw/customer/transferCustomer";
...
@@ -517,6 +517,13 @@ import transferCustomer from "@/views/ecw/customer/transferCustomer";
export
default
{
export
default
{
name
:
"
Customer
"
,
name
:
"
Customer
"
,
computed
:{
channel
(){
return
(
val
)
=>
{
return
!!
val
?
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ECW_CUSTOMER_TRANSPORT_TYPE
).
filter
(
i
=>
(
val
.
split
(
'
,
'
)
||
[]).
includes
(
i
.
value
)).
map
(
i
=>
i
.
label
).
join
(
'
,
'
)
:
''
}
}
},
components
:
{
components
:
{
upload
,
upload
,
CustomerFollowList
,
CustomerFollowList
,
...
@@ -618,6 +625,7 @@ export default {
...
@@ -618,6 +625,7 @@ export default {
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
'
createTime
'
);
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
'
createTime
'
);
// 执行查询
// 执行查询
getCustomerPage
(
params
).
then
(
response
=>
{
getCustomerPage
(
params
).
then
(
response
=>
{
console
.
log
(
response
,
'
response
'
)
this
.
list
=
response
.
data
.
list
;
this
.
list
=
response
.
data
.
list
;
this
.
total
=
response
.
data
.
total
;
this
.
total
=
response
.
data
.
total
;
this
.
loading
=
false
;
this
.
loading
=
false
;
...
...
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