Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 e5c9b1f5
authored
Dec 14, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
2 parents
20607d42
8d5ffa18
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
8 deletions
src/views/couponManage/editCashCoupon.vue
src/views/homeSet/index.vue
src/views/orderManage/index.vue
src/views/seckillActivity/editActivity.vue
src/views/couponManage/editCashCoupon.vue
View file @
e5c9b1f
...
@@ -133,6 +133,7 @@ export default {
...
@@ -133,6 +133,7 @@ export default {
couponName
:
''
,
couponName
:
''
,
useChannel
:
'1'
,
useChannel
:
'1'
,
effectiveType
:
'3'
,
effectiveType
:
'3'
,
effectiveTime
:
[],
effectiveDays
:
''
,
effectiveDays
:
''
,
useBarriers
:
'1'
,
useBarriers
:
'1'
,
full
:
''
,
full
:
''
,
...
...
src/views/homeSet/index.vue
View file @
e5c9b1f
...
@@ -367,7 +367,12 @@ export default {
...
@@ -367,7 +367,12 @@ export default {
})
})
},
},
handleImgDown
(
src
)
{
handleImgDown
(
src
)
{
window
.
open
(
src
)
// window.open(src)
var
a
=
document
.
createElement
(
'a'
)
a
.
setAttribute
(
'href'
,
src
)
a
.
setAttribute
(
'target'
,
'_blank'
)
document
.
body
.
appendChild
(
a
)
a
.
click
()
},
},
// 图片删除
// 图片删除
handleImgDelete
(
attrName
,
subIndex
)
{
handleImgDelete
(
attrName
,
subIndex
)
{
...
...
src/views/orderManage/index.vue
View file @
e5c9b1f
...
@@ -648,7 +648,12 @@ export default {
...
@@ -648,7 +648,12 @@ export default {
handleExport
(
row
)
{
handleExport
(
row
)
{
var
params
=
this
.
getParams
()
var
params
=
this
.
getParams
()
this
.
$apis
.
orderManage
.
orderExportApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
orderManage
.
orderExportApi
(
params
).
then
(
res
=>
{
window
.
open
(
res
)
// window.open(res)
var
a
=
document
.
createElement
(
'a'
)
a
.
setAttribute
(
'href'
,
res
)
a
.
setAttribute
(
'target'
,
'_blank'
)
document
.
body
.
appendChild
(
a
)
a
.
click
()
})
})
},
},
...
...
src/views/seckillActivity/editActivity.vue
View file @
e5c9b1f
...
@@ -237,7 +237,7 @@ export default {
...
@@ -237,7 +237,7 @@ export default {
watch
:
{
watch
:
{
'editForm.activityPrice'
(
newValue
,
oldValue
)
{
'editForm.activityPrice'
(
newValue
,
oldValue
)
{
this
.
editForm
.
activityPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
,
0
,
this
.
selectedProInfo
.
retailPrice
/
100
)
this
.
editForm
.
activityPrice
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
,
0
,
(
this
.
selectedProInfo
.
retailPrice
/
100
).
toFixed
(
2
)
)
},
},
'editForm.goodsStock'
(
newValue
,
oldValue
)
{
'editForm.goodsStock'
(
newValue
,
oldValue
)
{
this
.
editForm
.
goodsStock
=
limitPrice
(
newValue
,
oldValue
,
5
,
0
,
0
,
this
.
selectedProInfo
.
goodsStock
)
this
.
editForm
.
goodsStock
=
limitPrice
(
newValue
,
oldValue
,
5
,
0
,
0
,
this
.
selectedProInfo
.
goodsStock
)
...
@@ -455,9 +455,8 @@ export default {
...
@@ -455,9 +455,8 @@ export default {
getCouponInfoParams
()
{
getCouponInfoParams
()
{
var
_this
=
this
var
_this
=
this
var
param
=
this
.
editForm
var
param
=
this
.
$common
.
utils
.
deepClone
(
this
.
editForm
)
// param.activityPrice = (param.activityPrice*100).toFixed(2) //存的分,需乘100
param
.
activityPrice
=
(
param
.
activityPrice
*
100
).
toFixed
(
0
)
//存的分,需乘100
param
.
activityPrice
=
param
.
activityPrice
*
100
//存的分,需乘100
if
(
this
.
routeInfo
.
id
)
{
if
(
this
.
routeInfo
.
id
)
{
param
.
id
=
this
.
routeInfo
.
id
param
.
id
=
this
.
routeInfo
.
id
}
}
...
@@ -473,8 +472,7 @@ export default {
...
@@ -473,8 +472,7 @@ export default {
param
.
specificationDetailList
=
[]
param
.
specificationDetailList
=
[]
this
.
nameToValSpecsList
.
forEach
(
function
(
item
)
{
this
.
nameToValSpecsList
.
forEach
(
function
(
item
)
{
var
obj
=
{
var
obj
=
{
// retailPrice : (item.activityPrice*100).toFixed(0), //存的分,需乘100
retailPrice
:
(
item
.
activityPrice
*
100
).
toFixed
(
0
),
//存的分,需乘100
retailPrice
:
item
.
activityPrice
*
100
,
//存的分,需乘100
stock
:
item
.
goodsStock
,
stock
:
item
.
goodsStock
,
specificationData
:
item
.
specificationData
,
specificationData
:
item
.
specificationData
,
specificationKey
:
item
.
specificationKey
specificationKey
:
item
.
specificationKey
...
...
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