Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-discover
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 6225b677
authored
Jul 17, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
第一轮bug修复
1 parent
e8fe61e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
26 deletions
src/views/case/index.vue
src/views/store/edit.vue
src/views/case/index.vue
View file @
6225b67
...
...
@@ -213,6 +213,7 @@
this
.
$apis
.
case
.
delCaseApi
({
id
}).
then
(
res
=>
{
if
(
res
){
this
.
$message
.
success
(
'删除成功'
)
this
.
handleSearch
()
}
})
}
...
...
src/views/store/edit.vue
View file @
6225b67
...
...
@@ -29,24 +29,6 @@
<span
:class=
"['status', scope.scope.goodsStatus==1 ? 'success-status': 'error-status']"
></span>
<span>
{{
scope
.
scope
.
goodsStatus
==
1
?
'上架'
:
'下架'
}}
</span>
</div>
<div
slot=
"merchantPriceSlot"
slot-scope=
"scope"
>
<template
v-if=
"scope.scope.merchantList && scope.scope.merchantList.length > 1"
>
<span>
{{
filterData
(
scope
.
scope
).
slice
(
0
,
1
).
join
(
'、'
)
}}
</span>
<el-popover
placement=
"top"
width=
"400"
trigger=
"hover"
>
<div
v-for=
"(item,index) in filterData(scope.scope)"
:key=
"index"
>
{{
item
}}
</div>
<span
class=
"more-info"
slot=
"reference"
>
...[
{{
scope
.
scope
.
merchantList
.
length
}}
]
</span>
</el-popover>
</
template
>
<
template
v-else
>
<span
v-if=
"!scope.scope.merchantList || !scope.scope.merchantList.length"
>
--
</span>
<span
v-else
>
{{
filterData
(
scope
.
scope
).
join
(
'、'
)
}}
</span>
</
template
>
</div>
<template
slot=
"activityLink"
slot-scope=
"scope"
>
<span
class=
"relink"
>
{{
scope
.
scope
.
activityName
}}
</span>
</
template
>
...
...
@@ -148,12 +130,6 @@ export default {
filter
:
'1,2,3,4,5'
},
{
label
:
'商户名称'
,
name
:
'merchantName'
,
type
:
'input'
,
filter
:
'5'
},
{
label
:
'商品分类'
,
name
:
'goodsCategory'
,
addHtml
:
'categorySlot'
,
...
...
@@ -234,6 +210,7 @@ export default {
},
{
label
:
'商品名称'
,
width
:
200
,
prop
:
'goodsName'
,
filter
:
'5'
},
...
...
@@ -244,6 +221,7 @@ export default {
},
{
label
:
'收款方式'
,
width
:
120
,
formatter
:
cellValue
=>
{
return
cellValue
.
paymentType
==
1
?
'全款'
:
'定金+尾款'
},
...
...
@@ -251,6 +229,7 @@ export default {
},
{
label
:
'定金(元)'
,
width
:
120
,
formatter
:
cellValue
=>
{
return
cellValue
.
depositPrice
?
Number
((
Number
(
cellValue
.
depositPrice
)
/
100
).
toFixed
(
2
))
:
'--'
},
...
...
@@ -258,12 +237,16 @@ export default {
},
{
label
:
'门店活动价(元)'
,
width
:
200
,
addHtml
:
'merchantPriceSlot'
,
width
:
150
,
formatter
:
cellValue
=>
{
let
item
=
cellValue
.
merchantList
&&
cellValue
.
merchantList
[
0
]
?
cellValue
.
merchantList
[
0
]
:
{}
return
item
.
activityPrice
?
Number
((
Number
(
item
.
activityPrice
)
/
100
).
toFixed
(
2
))
:
0
},
filter
:
'5'
},
{
label
:
'分类'
,
width
:
150
,
formatter
:
cellValue
=>
{
return
`
${
cellValue
.
associationClassifyFirstName
||
''
}
-
${
cellValue
.
associationClassifySecondName
||
''
}
`
},
...
...
@@ -301,6 +284,7 @@ export default {
},
{
label
:
'操作人'
,
width
:
120
,
prop
:
'operator'
,
filter
:
'5'
},
...
...
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