Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
2a75db02
Commit
2a75db02
authored
Jan 04, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
ddb44095
235d5aad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
edit.vue
src/views/ecw/coupon/edit.vue
+13
-5
No files found.
src/views/ecw/coupon/edit.vue
View file @
2a75db02
...
@@ -513,7 +513,7 @@ export default {
...
@@ -513,7 +513,7 @@ export default {
// 满减活动如果选择的满多少金额减,则在选择满货币后需要同步减的货币,且禁用减的货币修改
// 满减活动如果选择的满多少金额减,则在选择满货币后需要同步减的货币,且禁用减的货币修改
checkReduceCurrency
(
item
){
checkReduceCurrency
(
item
){
// 金额满减
// 金额满减
if
(
this
.
form
.
type
==
2
){
if
(
[
2
,
4
,
5
,
7
].
indexOf
(
this
.
form
.
type
)
>
-
1
){
// 只要不是按产品单位满减
// 只要不是按产品单位满减
if
(
!
item
.
combUnit
||
item
.
combUnit
.
split
(
'
_
'
)[
0
]
!=
'
prodUnit
'
){
if
(
!
item
.
combUnit
||
item
.
combUnit
.
split
(
'
_
'
)[
0
]
!=
'
prodUnit
'
){
this
.
$set
(
item
,
'
reduceCurrencyDisabled
'
,
true
)
this
.
$set
(
item
,
'
reduceCurrencyDisabled
'
,
true
)
...
@@ -524,21 +524,29 @@ export default {
...
@@ -524,21 +524,29 @@ export default {
if
(
!
currencyId
){
if
(
!
currencyId
){
currencyId
=
this
.
currencyList
[
0
].
id
currencyId
=
this
.
currencyList
[
0
].
id
}
}
this
.
$set
(
item
,
'
reduceCurrencyId
'
,
currencyId
)
// 满减
if
(
this
.
form
.
type
==
2
){
this
.
$set
(
item
,
'
reduceCurrencyId
'
,
currencyId
)
}
// 优惠5,区间价7
if
(
this
.
form
.
type
==
5
||
this
.
form
.
type
==
7
){
this
.
$set
(
item
,
'
netReceiptsCurrencyId
'
,
currencyId
)
}
}
else
this
.
$set
(
item
,
'
reduceCurrencyDisabled
'
,
false
)
}
else
this
.
$set
(
item
,
'
reduceCurrencyDisabled
'
,
false
)
return
return
}
}
// 优惠
// 优惠
if
(
this
.
form
.
type
==
5
){
/*
if(this.form.type == 5){
if(!item.fullCurrencyId){
if(!item.fullCurrencyId){
this.$set(item, 'fullCurrencyId', this.currencyList[0].id)
this.$set(item, 'fullCurrencyId', this.currencyList[0].id)
}
}
this
.
$set
(
item
,
'
reduceCurrencyDisabled
'
,
true
)
//
this.$set(item, 'reduceCurrencyDisabled', true)
this.$set(item, 'netReceiptsCurrencyId', +item.fullCurrencyId)
this.$set(item, 'netReceiptsCurrencyId', +item.fullCurrencyId)
return
return
}
}
*/
// 区间价
// 区间价
if
(
this
.
form
.
type
==
7
){
if
(
this
.
form
.
type
==
7
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment