Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-activity-center
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 0d1a3246
authored
Dec 14, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.2.1' into v3.3.0
2 parents
2445ad21
5a9aabb8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
4 deletions
src/views/orderManage/index.vue
src/views/seckillActivity/dataBoard.vue
src/views/seckillActivity/editCrowdFund.vue
src/views/orderManage/index.vue
View file @
0d1a324
...
@@ -406,6 +406,15 @@ export default {
...
@@ -406,6 +406,15 @@ export default {
optionsName
:
'testSheetTypeList'
optionsName
:
'testSheetTypeList'
},
},
{
{
label
:
'线下订单'
,
name
:
'isOffline'
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'isOffSheetTypeList'
},
{
label
:
'业务场景'
,
label
:
'业务场景'
,
name
:
'businessType'
,
name
:
'businessType'
,
type
:
'select'
,
type
:
'select'
,
...
@@ -523,7 +532,7 @@ export default {
...
@@ -523,7 +532,7 @@ export default {
fn
:
'退款'
fn
:
'退款'
},
},
condition
:
row
=>
{
condition
:
row
=>
{
return
row
.
orderSource
==
4
&&
[
2
,
6
,
21
].
includes
(
+
row
.
orderStatus
)
return
row
.
orderSource
==
4
&&
[
2
,
6
,
21
].
includes
(
+
row
.
orderStatus
)
&&
row
.
isOffline
!=
0
},
},
listeners
:
{
listeners
:
{
click
:
row
=>
{
click
:
row
=>
{
...
@@ -706,6 +715,14 @@ export default {
...
@@ -706,6 +715,14 @@ export default {
}
}
},
},
{
{
label
:
'线下订单'
,
prop
:
'isOffline'
,
width
:
120
,
formatter
:
cellValue
=>
{
return
cellValue
.
isOffline
==
1
?
'否'
:
cellValue
.
isOffline
==
0
?
'是'
:
'-'
}
},
{
label
:
'商品名称'
,
label
:
'商品名称'
,
prop
:
''
,
prop
:
''
,
width
:
'120'
,
width
:
'120'
,
...
@@ -806,6 +823,10 @@ export default {
...
@@ -806,6 +823,10 @@ export default {
{
confId
:
'0'
,
confName
:
'否'
},
{
confId
:
'0'
,
confName
:
'否'
},
{
confId
:
'1'
,
confName
:
'是'
}
{
confId
:
'1'
,
confName
:
'是'
}
],
],
isOffSheetTypeList
:
[
{
confId
:
'0'
,
confName
:
'是'
},
{
confId
:
'1'
,
confName
:
'否'
}
],
businessTypeList
:
utils
.
deepClone
(
businessType
)
businessTypeList
:
utils
.
deepClone
(
businessType
)
}
}
}
}
...
...
src/views/seckillActivity/dataBoard.vue
View file @
0d1a324
...
@@ -436,7 +436,7 @@ export default {
...
@@ -436,7 +436,7 @@ export default {
if
(
name
==
'liveData'
)
{
if
(
name
==
'liveData'
)
{
this
.
$apis
.
seckillActivity
.
liveroomDetailexport
({
activityId
:
this
.
activityId
,
currentPage
:
1
,
pageSize
:
100000
}).
then
(
result
=>
{
this
.
$apis
.
seckillActivity
.
liveroomDetailexport
({
activityId
:
this
.
activityId
,
currentPage
:
1
,
pageSize
:
100000
}).
then
(
result
=>
{
console
.
log
(
result
)
console
.
log
(
result
)
//
downLoadFile(result)
downLoadFile
(
result
)
})
})
}
}
},
},
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
0d1a324
...
@@ -944,7 +944,7 @@ export default {
...
@@ -944,7 +944,7 @@ export default {
validator
:
(
rule
,
value
,
callback
)
=>
{
validator
:
(
rule
,
value
,
callback
)
=>
{
if
(
!
this
.
editForm
.
crowdFundingPrice
)
return
callback
(
new
Error
(
'请先填写众筹价'
))
if
(
!
this
.
editForm
.
crowdFundingPrice
)
return
callback
(
new
Error
(
'请先填写众筹价'
))
if
(
value
>
Number
(
this
.
editForm
.
crowdFundingPrice
))
return
callback
(
new
Error
(
'定金不能大于众筹价格'
))
if
(
value
>
Number
(
this
.
editForm
.
crowdFundingPrice
))
return
callback
(
new
Error
(
'定金不能大于众筹价格'
))
return
value
>
+
(
this
.
selectedProInfo
.
retailPrice
/
100
).
toFixed
(
2
)
?
callback
(
new
Error
(
'
秒杀价必须小
于零售价'
))
:
callback
()
return
value
>
+
(
this
.
selectedProInfo
.
retailPrice
/
100
).
toFixed
(
2
)
?
callback
(
new
Error
(
'
定金必须小于等
于零售价'
))
:
callback
()
},
},
trigger
:
'change'
trigger
:
'change'
}
}
...
@@ -956,7 +956,7 @@ export default {
...
@@ -956,7 +956,7 @@ export default {
if
(
value
<
+
this
.
editForm
.
activityPrice
)
{
if
(
value
<
+
this
.
editForm
.
activityPrice
)
{
return
callback
(
new
Error
(
'众筹价需要大于定金'
))
return
callback
(
new
Error
(
'众筹价需要大于定金'
))
}
}
return
value
>
=
+
(
this
.
selectedProInfo
.
retailPrice
/
100
).
toFixed
(
2
)
?
callback
(
new
Error
(
'秒杀价必须小
于零售价'
))
:
callback
()
return
value
>
+
(
this
.
selectedProInfo
.
retailPrice
/
100
).
toFixed
(
2
)
?
callback
(
new
Error
(
'众筹价必须小于等
于零售价'
))
:
callback
()
},
},
trigger
:
'change'
trigger
:
'change'
}
}
...
...
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