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
4bdd474c
Commit
4bdd474c
authored
Aug 28, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/goods' into 'master'
fix: 顾问支付问题 See merge request
!115
parents
1c9ccf33
9d1333bc
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
2 deletions
+18
-2
index.vue
src/views/Consultant/index.vue
+1
-1
AIDetail.vue
src/views/Goods/Detail/AIDetail.vue
+2
-0
CIIDetail.vue
src/views/Goods/Detail/CIIDetail.vue
+6
-0
MIDetail.vue
src/views/Goods/Detail/MIDetail.vue
+3
-0
index.vue
src/views/Goods/Detail/index.vue
+1
-1
yarn.lock
yarn.lock
+5
-0
No files found.
src/views/Consultant/index.vue
View file @
4bdd474c
...
...
@@ -68,7 +68,7 @@ export default {
const
res
=
await
getCulOrder
();
if
(
res
)
{
this
.
orderInfo
=
res
;
if
(
checkPayState
&&
res
.
state
<
3
)
{
if
(
checkPayState
&&
res
[
0
]
&&
res
[
0
]
.
state
<
3
)
{
this
.
getPayState
();
}
else
{
this
.
setIsPayWait
(
false
);
...
...
src/views/Goods/Detail/AIDetail.vue
View file @
4bdd474c
...
...
@@ -153,11 +153,13 @@ export default {
deep
:
true
,
immediate
:
true
,
handler
(
val
)
{
const
{
amountInsured
}
=
this
.
formData
;
const
{
price
}
=
val
;
const
_price
=
JSON
.
parse
(
JSON
.
stringify
(
price
));
_price
[
1
]
=
"
元/年起
"
;
this
.
goodActionInfo
=
{
title
:
_price
};
this
.
goodBuyModalInfo
=
[{
title
:
`每年保费`
,
value
:
`
${
price
[
0
]}
元`
}];
this
.
noticeCellInfo
[
amountInsured
][
2
].
value
=
`
${
price
[
0
]
+
price
[
1
]}
`
;
}
},
formDataCpu
:
{
...
...
src/views/Goods/Detail/CIIDetail.vue
View file @
4bdd474c
...
...
@@ -152,6 +152,7 @@ export default {
immediate
:
true
,
handler
(
val
)
{
const
{
price
,
subPrice
}
=
val
;
const
{
amountInsured
}
=
this
.
formData
;
this
.
goodActionInfo
=
{
title
:
price
,
sub
:
subPrice
...
...
@@ -160,6 +161,11 @@ export default {
{
title
:
`
${
price
[
2
]}
保费`
,
value
:
`
${
price
[
0
]}${
price
[
1
]}
`
},
{
title
:
`
${
subPrice
[
2
]}
保费`
,
value
:
`
${
subPrice
[
0
]}${
subPrice
[
1
]}${
subPrice
[
3
]}
`
}
];
this
.
noticeCellInfo
[
amountInsured
][
3
].
value
.
tpl
=
`保费与保额、被保人年龄有关<br />
${
price
[
2
]
+
price
[
0
]
+
price
[
1
]}
,
${
subPrice
[
0
]
?
subPrice
[
2
]
+
subPrice
[
0
]
+
subPrice
[
1
]
:
""
}
`
;
}
},
formDataCpu
:
{
...
...
src/views/Goods/Detail/MIDetail.vue
View file @
4bdd474c
...
...
@@ -163,6 +163,9 @@ export default {
value
:
`
${
subPrice
[
0
]}${
subPrice
[
1
]}${
subPrice
[
3
]}
`
}
];
this
.
noticeCellInfo
[
3
].
value
.
tpl
=
`保费与被保人年龄、有无社保有关<br />
${
price
[
2
]
+
price
[
0
]
+
price
[
1
]}
,
${
subPrice
[
0
]
?
subPrice
[
2
]
+
subPrice
[
0
]
+
subPrice
[
1
]
:
""
}
`
;
}
},
formDataCpu
:
{
...
...
src/views/Goods/Detail/index.vue
View file @
4bdd474c
...
...
@@ -38,7 +38,7 @@ export default {
};
},
beforeRouteLeave
(
to
,
from
,
next
)
{
const
blackList
=
[
"
Goods
"
,
"
Home
"
,
"
Detail
"
,
"
ConsultantPlan
"
];
const
blackList
=
[
"
Goods
"
,
"
Home
"
,
"
Detail
"
,
"
ConsultantPlan
"
,
"
User
"
];
if
(
isXyqb
&&
this
.
showAuthXyqb
==
2
)
{
next
(
false
);
return
;
...
...
yarn.lock
View file @
4bdd474c
...
...
@@ -5334,6 +5334,11 @@ locate-path@^5.0.0:
dependencies:
p-locate "^4.1.0"
lodash-es@^4.17.15:
version "4.17.15"
resolved "http://npmprivate.quantgroups.com/lodash-es/-/lodash-es-4.17.15.tgz#21bd96839354412f23d7a10340e5eac6ee455d78"
integrity sha512-rlrc3yU3+JNOpZ9zj5pQtxnx2THmvRykwL4Xlxoa8I9lHBlVbbyPhgyPMioxVZ4NqyxaVVtaJnzsyOidQIhyyQ==
lodash.defaultsdeep@^4.6.1:
version "4.6.1"
resolved "http://npmprivate.quantgroups.com/lodash.defaultsdeep/-/lodash.defaultsdeep-4.6.1.tgz#512e9bd721d272d94e3d3a63653fa17516741ca6"
...
...
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