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 301fb3eb
authored
Mar 23, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
拉取最新代码并解决冲突
2 parents
fa999f8b
63162b64
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
2 deletions
src/views/couponManage/editCashCoupon.vue
src/views/couponManage/editDiscountCoupon.vue
src/views/couponManage/editExchangeCoupon.vue
src/views/friendGroup/components/preview.vue
src/views/productGroup/editProduct.vue
src/views/couponManage/editCashCoupon.vue
View file @
301fb3e
...
@@ -376,11 +376,13 @@ export default {
...
@@ -376,11 +376,13 @@ export default {
let
goodHtmlIndex
=
this
.
editFormData
.
findIndex
(
item
=>
item
.
name
==
'goods'
)
let
goodHtmlIndex
=
this
.
editFormData
.
findIndex
(
item
=>
item
.
name
==
'goods'
)
let
proTableIndex
=
this
.
editFormData
.
findIndex
(
item
=>
item
.
addHtml
==
'proTable'
)
let
proTableIndex
=
this
.
editFormData
.
findIndex
(
item
=>
item
.
addHtml
==
'proTable'
)
if
(
newValue
==
1
)
{
if
(
newValue
==
1
)
{
this
.
editForm
.
directionalFlag
=
'1'
this
.
editFormData
[
goodHtmlIndex
].
isHide
=
false
this
.
editFormData
[
goodHtmlIndex
].
isHide
=
false
if
(
this
.
editForm
.
goodsRefList
.
length
)
{
if
(
this
.
editForm
.
goodsRefList
.
length
)
{
this
.
editFormData
[
proTableIndex
].
isHide
=
false
this
.
editFormData
[
proTableIndex
].
isHide
=
false
}
}
}
else
{
}
else
{
this
.
editForm
.
directionalFlag
=
'1'
this
.
editForm
.
useBarriers
=
'1'
this
.
editForm
.
useBarriers
=
'1'
this
.
editForm
.
full
=
''
this
.
editForm
.
full
=
''
this
.
editFormData
[
goodHtmlIndex
].
isHide
=
true
this
.
editFormData
[
goodHtmlIndex
].
isHide
=
true
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
301fb3e
...
@@ -663,4 +663,7 @@ export default {
...
@@ -663,4 +663,7 @@ export default {
color
:
#999
;
color
:
#999
;
margin-left
:
-10px
;
margin-left
:
-10px
;
}
}
.glsx-combi-form
.el-form-item--small.el-form-item
{
margin-top
:
0px
!important
;
}
</
style
>
</
style
>
src/views/couponManage/editExchangeCoupon.vue
View file @
301fb3e
...
@@ -537,4 +537,7 @@ export default {
...
@@ -537,4 +537,7 @@ export default {
color
:
#999
;
color
:
#999
;
margin-left
:
-10px
;
margin-left
:
-10px
;
}
}
.glsx-combi-form
.el-form-item--small.el-form-item
{
margin-top
:
0px
!important
;
}
</
style
>
</
style
>
src/views/friendGroup/components/preview.vue
View file @
301fb3e
...
@@ -189,6 +189,7 @@ export default {
...
@@ -189,6 +189,7 @@ export default {
color
:
#333
;
color
:
#333
;
background-color
:
#fff
;
background-color
:
#fff
;
border-radius
:
4px
;
border-radius
:
4px
;
word-wrap
:
break-word
;
word-break
:
break-all
;
word-break
:
break-all
;
line-height
:
20px
;
line-height
:
20px
;
/deep/
img
{
/deep/
img
{
...
@@ -198,6 +199,7 @@ export default {
...
@@ -198,6 +199,7 @@ export default {
}
}
}
}
.text
{
.text
{
width
:
100%
;
font-size
:
12px
;
font-size
:
12px
;
padding
:
0px
;
padding
:
0px
;
margin-bottom
:
6px
;
margin-bottom
:
6px
;
...
...
src/views/productGroup/editProduct.vue
View file @
301fb3e
...
@@ -811,6 +811,32 @@ export default {
...
@@ -811,6 +811,32 @@ export default {
// 运费
// 运费
'editForm.expressFee'
(
newValue
,
oldValue
)
{
'editForm.expressFee'
(
newValue
,
oldValue
)
{
this
.
editForm
.
expressFee
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
,
0
,
100000
)
this
.
editForm
.
expressFee
=
limitPrice
(
newValue
,
oldValue
,
5
,
2
,
0
,
100000
)
},
// 判断配送发货状态
'editForm.relatedCouponName'
(
newValue
,
oldValue
)
{
if
(
newValue
)
{
let
inx
=
this
.
externalFormList
[
2
].
editFormData
.
findIndex
(
val
=>
val
.
name
==
'deliveryType'
)
this
.
externalFormList
[
2
].
editFormData
[
inx
].
optionList
.
map
(
val
=>
{
if
(
val
.
confId
==
2
)
return
(
val
.
isDisabled
=
true
)
})
this
.
editForm
.
deliveryType
=
1
this
.
handleTypeChange
(
this
.
editForm
.
deliveryType
)
}
else
{
let
inx
=
this
.
externalFormList
[
2
].
editFormData
.
findIndex
(
val
=>
val
.
name
==
'deliveryType'
)
this
.
externalFormList
[
2
].
editFormData
[
inx
].
optionList
.
map
(
val
=>
{
if
(
val
.
confId
==
2
)
return
(
val
.
isDisabled
=
false
)
})
this
.
editForm
.
deliveryType
=
2
this
.
handleTypeChange
(
this
.
editForm
.
deliveryType
)
}
},
// 关联优惠券radio
'editForm.relatedCouponId'
(
newValue
,
oldValue
)
{
if
(
newValue
)
{
this
.
radio
=
newValue
}
else
{
this
.
radio
=
newValue
}
}
}
},
},
...
@@ -857,9 +883,10 @@ export default {
...
@@ -857,9 +883,10 @@ export default {
this
.
editForm
.
relatedCouponId
=
this
.
associationList
[
0
].
id
this
.
editForm
.
relatedCouponId
=
this
.
associationList
[
0
].
id
this
.
editForm
.
relatedCouponName
=
this
.
associationList
[
0
].
couponName
this
.
editForm
.
relatedCouponName
=
this
.
associationList
[
0
].
couponName
this
.
editForm
.
relatedDiscountType
=
this
.
associationBaseData
.
discountTypeList
.
find
(
item
=>
item
.
confId
==
this
.
associationList
[
0
].
discountType
).
confName
this
.
editForm
.
relatedDiscountType
=
this
.
associationBaseData
.
discountTypeList
.
find
(
item
=>
item
.
confId
==
this
.
associationList
[
0
].
discountType
).
confName
this
.
editForm
.
relatedUseChannel
=
this
.
associationBaseData
.
useChannelList
.
find
(
item
=>
item
.
confId
==
this
.
associationList
[
0
].
useChannel
).
confName
if
(
this
.
associationBaseData
.
useChannelList
.
find
(
item
=>
item
.
confId
==
this
.
associationList
[
0
].
useChannel
))
this
.
editForm
.
relatedUseChannel
=
this
.
associationBaseData
.
useChannelList
.
find
(
item
=>
item
.
confId
==
this
.
associationList
[
0
].
useChannel
).
confName
},
},
associationCancel
()
{
associationCancel
()
{
this
.
radio
=
this
.
editForm
.
relatedCouponId
this
.
dialogTableVisible
=
false
this
.
dialogTableVisible
=
false
},
},
getCurrentRow
()
{
getCurrentRow
()
{
...
@@ -868,7 +895,6 @@ export default {
...
@@ -868,7 +895,6 @@ export default {
let
inx
=
this
.
templateSelection
.
findIndex
(
value
=>
value
.
id
==
this
.
radio
)
let
inx
=
this
.
templateSelection
.
findIndex
(
value
=>
value
.
id
==
this
.
radio
)
this
.
associationList
.
pop
()
this
.
associationList
.
pop
()
this
.
associationList
.
push
(
this
.
templateSelection
[
inx
])
this
.
associationList
.
push
(
this
.
templateSelection
[
inx
])
console
.
log
(
'this.associationList'
,
this
.
associationList
)
},
},
getBaseDate
()
{
getBaseDate
()
{
return
new
Promise
(
resolve
=>
{
return
new
Promise
(
resolve
=>
{
...
...
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