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
3b6dc69f
Commit
3b6dc69f
authored
Jun 28, 2022
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加渠道列表展示仓库名称标签
parent
3328fb00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletion
+33
-1
index.vue
src/views/ecw/channel/index.vue
+33
-1
No files found.
src/views/ecw/channel/index.vue
View file @
3b6dc69f
...
...
@@ -77,7 +77,16 @@
<el-table-column
label=
"类型编码"
align=
"center"
prop=
"typeNumber"
/>
<!--
<el-table-column
label=
"仓库id字符串"
align=
"center"
prop=
"warehouseIds"
/>
-->
<el-table-column
label=
"仓库名"
align=
"center"
prop=
"warehouseNameList"
width=
"180"
>
<span
v-for=
" warehouseName in props.row.warehouseNameList"
:key=
"warehouseName.index"
>
{{
warehouseName
}}
,
</span>
<template
slot-scope=
"scope"
>
<el-scrollbar
style=
"margin-right: 6px;"
>
<div
class=
"left"
>
<el-tag
v-for=
"warehouseName in scope.row.warehouseNameList"
:key=
"warehouseName.index"
>
<span>
{{
warehouseName
}}
</span>
</el-tag>
</div>
</el-scrollbar>
</
template
>
</el-table-column>
<el-table-column
label=
"排序"
align=
"center"
prop=
"sort"
/>
<el-table-column
label=
"快递公司"
align=
"center"
prop=
"companyName"
/>
...
...
@@ -265,3 +274,26 @@ export default {
}
};
</
script
>
<
style
lang=
"scss"
>
.left
{
.el-tag
{
background-color
:
#e6f6fd
;
border
:
1px
solid
#ccecfb
;
display
:
inline-block
;
height
:auto
;
padding
:
0
10px
;
line-height
:
30px
;
font-size
:
12px
;
color
:
#02a1e9
;
border-radius
:
4px
;
box-sizing
:
border-box
;
white-space
:
nowrap
;
}
}
</
style
>
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