Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-commodity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fd046764
authored
May 29, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
b8055691
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
src/views/commodity/index.vue
src/views/commodity/index.vue
View file @
fd04676
...
@@ -13,11 +13,13 @@
...
@@ -13,11 +13,13 @@
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"commofityRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<GLTable
ref=
"commofityRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"merchantName"
slot-scope=
"scope"
>
<div
slot=
"merchantName"
slot-scope=
"scope"
>
<span
v-if=
"scope.scope.merchantList.length == 1"
>
{{
scope
.
scope
.
merchantList
[
0
].
merchantName
}}
</span>
<el-tooltip
v-if=
"scope.scope.merchantList.length > 0"
placement=
"top"
effect=
"light"
>
<el-tooltip
v-else-if=
"scope.scope.merchantList.length > 1"
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
>
<div
slot=
"content"
>
<div
class=
"text-3 font-12 weight-6"
style=
"line-height:24px"
>
上家门店
</div>
<div
class=
"text-3 font-12 weight-6"
style=
"line-height:24px"
>
上家门店
</div>
<div
class=
"text-6 font-12"
style=
"line-height:24px"
v-for=
"item in scope.scope.merchantList"
:key=
"item"
>
{{
item
.
merchantName
}}
</div>
<div
class=
"merchant-wrap"
>
<div
class=
"text-6 font-12"
style=
"line-height:24px"
v-for=
"item in scope.scope.merchantList"
:key=
"item"
>
{{
item
.
merchantName
}}
</div>
</div>
</div>
</div>
<div
class=
"use-store"
>
<div
class=
"use-store"
>
<img
src=
"@/assets/store.png"
/>
<img
src=
"@/assets/store.png"
/>
...
@@ -276,6 +278,9 @@ export default {
...
@@ -276,6 +278,9 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.container
{
padding
:
20px
;
}
.use-store
{
.use-store
{
display
:
flex
;
display
:
flex
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -299,4 +304,8 @@ export default {
...
@@ -299,4 +304,8 @@ export default {
color
:
#333
;
color
:
#333
;
}
}
}
}
.merchant-wrap
{
max-height
:
200px
;
overflow
:
scroll
;
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment