Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 fc5a11b0
authored
May 19, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:适用范围修改
1 parent
83354f28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
5 deletions
src/views/memberCenter/selectGiftDialog.vue
src/views/memberCenter/selectGiftDialog.vue
View file @
fc5a11b
...
...
@@ -97,6 +97,16 @@ export default {
url
:
url
,
loading
:
true
,
selectedSum
:
0
,
scopeApplication
:
[
{
confId
:
'1'
,
confName
:
'旗下所有店通用'
},
{
confId
:
'2'
,
confName
:
'旗下品牌店通用'
}
],
orderShow
:
[
'service'
,
'cash'
,
'discount'
,
'exchange'
],
numToCoupon
:
{
2
:
'discount'
,
...
...
@@ -139,7 +149,7 @@ export default {
// return (cellValue.anticipatedCost / 100).toFixed(2)
// }
// },
{
{
label
:
'有效期'
,
prop
:
'effectiveType'
,
addHtml
:
'effectiveType'
...
...
@@ -150,9 +160,15 @@ export default {
addHtml
:
'effectiveType'
},
{
label
:
'使用限制'
,
prop
:
'useType'
,
addHtml
:
'useType'
label
:
'适用范围'
,
name
:
'scopeApplication'
,
formatter
:
cellValue
=>
{
var
scopeApplication
=
'-'
if
(
cellValue
.
scopeApplication
)
{
scopeApplication
=
this
.
scopeApplication
.
find
(
item
=>
item
.
confId
==
cellValue
.
scopeApplication
).
confName
}
return
scopeApplication
}
},
{
label
:
'剩余库存'
,
...
...
@@ -300,7 +316,7 @@ export default {
recoverySelected
()
{
// 翻页,去掉已选项
var
selectedData
=
this
.
$refs
[
this
.
activeName
+
'Ref'
].
mutiSelectArr
.
list
console
.
log
(
selectedData
,
'4444444444444444'
)
console
.
log
(
selectedData
,
'4444444444444444'
)
var
deleteList
=
[]
this
.
addSelected
()
if
(
selectedData
)
{
...
...
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