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 a7f8ebef
authored
Mar 22, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改选项bug,处理报错
1 parent
33126dc9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
src/views/couponManage/editCashCoupon.vue
src/views/productGroup/editProduct.vue
src/views/couponManage/editCashCoupon.vue
View file @
a7f8ebe
...
@@ -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/productGroup/editProduct.vue
View file @
a7f8ebe
...
@@ -1025,7 +1025,7 @@ export default {
...
@@ -1025,7 +1025,7 @@ 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
.
dialogTableVisible
=
false
;
this
.
dialogTableVisible
=
false
;
...
...
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