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 afd2b763
authored
Feb 21, 2022
by
周子尧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
e958fce5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
src/views/couponManage/editCashCoupon.vue
src/views/couponManage/editDiscountCoupon.vue
src/views/couponManage/editExchangeCoupon.vue
src/views/couponManage/editCashCoupon.vue
View file @
afd2b76
...
@@ -610,7 +610,7 @@ export default {
...
@@ -610,7 +610,7 @@ export default {
//是否定制礼包专用
//是否定制礼包专用
obj
.
directionalFlag
=
form
.
directionalFlag
obj
.
directionalFlag
=
form
.
directionalFlag
//预估成本
//预估成本
obj
.
anticipatedCost
=
form
.
anticipatedCost
*
100
//
obj.anticipatedCost = form.anticipatedCost * 100
//面值
//面值
obj
.
denomination
=
form
.
denomination
obj
.
denomination
=
form
.
denomination
//库存
//库存
...
@@ -634,6 +634,8 @@ export default {
...
@@ -634,6 +634,8 @@ export default {
}
}
//使用描述
//使用描述
obj
.
useDescription
=
form
.
useDescription
obj
.
useDescription
=
form
.
useDescription
//预估成本
obj
.
anticipatedCost
=
form
.
anticipatedCost
*
100
return
obj
return
obj
},
},
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
afd2b76
...
@@ -299,8 +299,6 @@ export default {
...
@@ -299,8 +299,6 @@ export default {
//优惠券类型 1:满减券,2:折扣券,3:代金券,4:实物券 5:购车代金券 6:商品折扣券,7:会员服务
//优惠券类型 1:满减券,2:折扣券,3:代金券,4:实物券 5:购车代金券 6:商品折扣券,7:会员服务
obj
.
discountType
=
'2'
obj
.
discountType
=
'2'
obj
.
directionalFlag
=
'1'
obj
.
directionalFlag
=
'1'
//预估成本
obj
.
anticipatedCost
=
form
.
anticipatedCost
*
100
//有效期
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:无有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:无有效期
obj
.
effectiveType
=
form
.
effectiveType
obj
.
effectiveType
=
form
.
effectiveType
...
@@ -325,6 +323,8 @@ export default {
...
@@ -325,6 +323,8 @@ export default {
}
}
//使用描述
//使用描述
obj
.
useDescription
=
form
.
useDescription
obj
.
useDescription
=
form
.
useDescription
//预估成本
obj
.
anticipatedCost
=
form
.
anticipatedCost
*
100
return
obj
return
obj
},
},
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
afd2b76
...
@@ -277,8 +277,6 @@ export default {
...
@@ -277,8 +277,6 @@ export default {
//优惠券类型 1:满减券,2:折扣券,3:代金券,4:实物券 5:购车代金券 6:商品折扣券,7:会员服务
//优惠券类型 1:满减券,2:折扣券,3:代金券,4:实物券 5:购车代金券 6:商品折扣券,7:会员服务
obj
.
discountType
=
'4'
obj
.
discountType
=
'4'
obj
.
directionalFlag
=
'1'
obj
.
directionalFlag
=
'1'
//预估成本
obj
.
anticipatedCost
=
form
.
anticipatedCost
*
100
//有效期
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:无有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:无有效期
obj
.
effectiveType
=
form
.
effectiveType
obj
.
effectiveType
=
form
.
effectiveType
...
@@ -303,6 +301,8 @@ export default {
...
@@ -303,6 +301,8 @@ export default {
}
}
//使用描述
//使用描述
obj
.
useDescription
=
form
.
useDescription
obj
.
useDescription
=
form
.
useDescription
//预估成本
obj
.
anticipatedCost
=
form
.
anticipatedCost
*
100
return
obj
return
obj
},
},
...
...
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