Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cauchy-ui
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
ui
cauchy-ui
Commits
c9644af5
Commit
c9644af5
authored
Jul 16, 2021
by
FE-安焕焕
👣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付问题
parent
ce87018a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
18 deletions
+3
-18
PayCard.vue
src/views/pay/components/PayCard.vue
+2
-16
PayGroupCard.vue
src/views/pay/components/PayGroupCard.vue
+1
-2
No files found.
src/views/pay/components/PayCard.vue
View file @
c9644af5
...
@@ -59,22 +59,8 @@ export default {
...
@@ -59,22 +59,8 @@ export default {
payList
:
this
?.
value
?.
payList
||
{}
payList
:
this
?.
value
?.
payList
||
{}
};
};
},
},
mounted
()
{
mounted
()
{},
console
.
log
(
this
.
value
,
'
value
'
);
methods
:
{}
},
methods
:
{
changePayType
(
payType
)
{
// 需要初始化全部的选中状态
for
(
let
item
in
this
.
payList
)
{
if
(
this
.
payList
[
item
].
payType
===
payType
)
{
this
.
payList
[
item
].
isCheck
=
true
;
continue
;
}
this
.
payList
[
item
].
isCheck
=
false
;
}
this
.
$emit
(
'
changePayType
'
,
payType
);
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
...
...
src/views/pay/components/PayGroupCard.vue
View file @
c9644af5
...
@@ -89,11 +89,10 @@ export default {
...
@@ -89,11 +89,10 @@ export default {
},
},
methods
:
{
methods
:
{
changePayType
({
payType
,
mergePayPretreatmentInfo
})
{
changePayType
({
payType
,
mergePayPretreatmentInfo
})
{
console
.
log
(
mergePayPretreatmentInfo
,
'
mergePayPretreatmentInfo
'
);
if
(
this
.
disabled
||
this
.
creditPayInfo
.
disabled
)
{
if
(
this
.
disabled
||
this
.
creditPayInfo
.
disabled
)
{
return
;
return
;
}
}
this
.
pay
Card
.
changePayType
(
payType
,
mergePayPretreatmentInfo
);
this
.
pay
.
changePayType
(
payType
,
mergePayPretreatmentInfo
);
},
},
openCouponModal
()
{
openCouponModal
()
{
if
(
this
.
couponDisabled
)
return
;
if
(
this
.
couponDisabled
)
return
;
...
...
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