Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-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
mongo-ui
Commits
f5e9c3a0
Commit
f5e9c3a0
authored
Aug 25, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/goods' into 'master'
fix: 移除阻断 See merge request
!77
parents
0dc0676d
e5f78cba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
LIDetail.vue
src/views/Goods/Detail/LIDetail.vue
+7
-7
detailPay.mixin.js
src/views/Goods/Detail/modules/detailPay.mixin.js
+1
-1
No files found.
src/views/Goods/Detail/LIDetail.vue
View file @
f5e9c3a0
...
...
@@ -228,13 +228,13 @@ export default {
this
.
popupShow
=
true
;
},
onSubmit
()
{
const
{
payPeriod
,
payType
,
policyPeriod
,
birth
}
=
this
.
formData
;
if
(
!
payPeriod
||
!
payType
||
!
policyPeriod
||
!
birth
)
{
this
.
$notify
({
type
:
"
warning
"
,
message
:
"
请选择保费方案
"
});
this
.
popupShow
=
true
;
this
.
currentPupopIndex
=
6
;
return
;
}
//
const { payPeriod, payType, policyPeriod, birth } = this.formData;
//
if (!payPeriod || !payType || !policyPeriod || !birth) {
//
this.$notify({ type: "warning", message: "请选择保费方案" });
//
this.popupShow = true;
//
this.currentPupopIndex = 6;
//
return;
//
}
this
.
showLoginPopup
();
this
.
popupShow
=
false
;
},
...
...
src/views/Goods/Detail/modules/detailPay.mixin.js
View file @
f5e9c3a0
...
...
@@ -81,7 +81,7 @@ export default {
},
getPayResult
()
{
const
{
payOrderNo
,
orderNo
}
=
this
.
orderInfo
;
placeOrder
.
polling
({
payOrderNo
,
payOrderType
:
1
}).
then
(
payRes
=>
{
placeOrder
.
polling
({
payOrderNo
,
payOrderType
:
1
}).
then
(
payRes
=>
{
if
(
!
payRes
.
result
&&
payRes
.
payState
===
2
)
{
this
.
payTimer
=
setTimeout
(()
=>
{
this
.
getPayResult
();
...
...
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