Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 51c479ec
authored
Jul 02, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
驻店管理列表服务门店和品牌展示异常,编辑页面样式修复
1 parent
fcc81b63
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
src/views/systemConfig/inStoreManage/editStaff.vue
src/views/systemConfig/inStoreManage/index.vue
src/views/systemConfig/inStoreManage/editStaff.vue
View file @
51c479e
...
@@ -608,8 +608,7 @@ export default {
...
@@ -608,8 +608,7 @@ export default {
color
:
#1d1d1d
;
color
:
#1d1d1d
;
display
:
inline-block
;
display
:
inline-block
;
//
cursor
:
pointer
;
//
cursor
:
pointer
;
min-width
:
250px
;
width
:
250px
;
max-width
:
350px
;
overflow
:
hidden
;
overflow
:
hidden
;
/* 防止文本换行 */
/* 防止文本换行 */
white-space
:
nowrap
;
white-space
:
nowrap
;
...
...
src/views/systemConfig/inStoreManage/index.vue
View file @
51c479e
...
@@ -243,7 +243,7 @@ export default {
...
@@ -243,7 +243,7 @@ export default {
prop
:
"shopMerchantList"
,
prop
:
"shopMerchantList"
,
html
:
true
,
html
:
true
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
if
(
cellValue
.
shopMerchantList
)
{
if
(
cellValue
.
shopMerchantList
&&
cellValue
.
shopMerchantList
.
length
>
0
)
{
return
cellValue
.
shopMerchantList
.
reduce
(
return
cellValue
.
shopMerchantList
.
reduce
(
(
merchString
,
item
)
=>
{
(
merchString
,
item
)
=>
{
merchString
=
merchString
=
...
@@ -251,7 +251,7 @@ export default {
...
@@ -251,7 +251,7 @@ export default {
`<p>
${
item
.
merchantName
}
${
item
.
merchantId
}
</p>`
`<p>
${
item
.
merchantName
}
${
item
.
merchantId
}
</p>`
return
merchString
return
merchString
},
},
"
-
"
""
)
)
}
else
{
}
else
{
return
"-"
return
"-"
...
@@ -283,7 +283,7 @@ export default {
...
@@ -283,7 +283,7 @@ export default {
prop
:
"carBrandList"
,
prop
:
"carBrandList"
,
html
:
true
,
html
:
true
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
if
(
cellValue
.
shopMerchantList
)
{
if
(
cellValue
.
shopMerchantList
&&
cellValue
.
shopMerchantList
.
length
>
0
)
{
return
cellValue
.
shopMerchantList
.
reduce
(
return
cellValue
.
shopMerchantList
.
reduce
(
(
carBrandString
,
item
)
=>
{
(
carBrandString
,
item
)
=>
{
if
(
item
.
carBrandList
)
{
if
(
item
.
carBrandList
)
{
...
@@ -300,10 +300,10 @@ export default {
...
@@ -300,10 +300,10 @@ export default {
}
}
return
carBrandString
return
carBrandString
},
},
"
-
"
""
)
)
}
else
{
}
else
{
return
""
return
"
-
"
}
}
}
}
},
},
...
@@ -323,7 +323,7 @@ export default {
...
@@ -323,7 +323,7 @@ export default {
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
orderTime
return
cellValue
.
orderTime
?
Util
.
dateFormate
(
cellValue
.
orderTime
,
"YYYY-MM-DD"
)
?
Util
.
dateFormate
(
cellValue
.
orderTime
,
"YYYY-MM-DD"
)
:
""
:
"
-
"
}
}
}
}
]
]
...
...
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