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
85ef9c6d
Commit
85ef9c6d
authored
Aug 19, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 试算goodAction,“起”是无用的,次月加个没有时不显示
parent
5fd8de46
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
21 deletions
+30
-21
CIIDetail.vue
src/views/Goods/Detail/CIIDetail.vue
+6
-2
LIDetail.vue
src/views/Goods/Detail/LIDetail.vue
+1
-0
index.vue
src/views/Goods/Inform/index.vue
+21
-18
index.vue
src/views/Goods/index.vue
+1
-1
index.vue
src/views/Policy/Add/index.vue
+1
-0
No files found.
src/views/Goods/Detail/CIIDetail.vue
View file @
85ef9c6d
...
@@ -319,14 +319,18 @@ export default {
...
@@ -319,14 +319,18 @@ export default {
const
res
=
await
trail
(
_param
);
const
res
=
await
trail
(
_param
);
if
(
res
)
{
if
(
res
)
{
price
[
0
]
=
res
.
downPayPrice
;
price
[
0
]
=
res
.
downPayPrice
;
subPrice
[
1
]
=
"
元/月
"
;
subPrice
[
0
]
=
res
.
regularPrice
;
subPrice
[
0
]
=
res
.
regularPrice
;
this
.
goodActionInfo
=
{
this
.
goodActionInfo
=
{
title
:
price
,
title
:
price
,
sub
:
subPrice
sub
:
subPrice
[
0
]
?
subPrice
:
""
};
};
this
.
goodBuyModalInfo
=
[
this
.
goodBuyModalInfo
=
[
{
title
:
`
${
price
[
2
]}
保费`
,
value
:
`
${
price
[
0
]}${
price
[
1
]}
`
},
{
title
:
`
${
price
[
2
]}
保费`
,
value
:
`
${
price
[
0
]}${
price
[
1
]}
`
},
{
title
:
`
${
subPrice
[
2
]}
保费`
,
value
:
`
${
subPrice
[
0
]}${
subPrice
[
1
]}${
subPrice
[
3
]}
`
}
{
title
:
`
${
subPrice
[
2
]}
保费`
,
value
:
subPrice
[
0
]
?
`
${
subPrice
[
0
]}${
subPrice
[
1
]}${
subPrice
[
3
]}
`
:
""
}
];
];
}
}
}
}
...
...
src/views/Goods/Detail/LIDetail.vue
View file @
85ef9c6d
...
@@ -271,6 +271,7 @@ export default {
...
@@ -271,6 +271,7 @@ export default {
};
};
const
res
=
await
trail
(
_param
);
const
res
=
await
trail
(
_param
);
if
(
res
)
{
if
(
res
)
{
price
[
1
]
=
"
元/年
"
;
price
[
0
]
=
res
.
regularPrice
;
price
[
0
]
=
res
.
regularPrice
;
this
.
goodActionInfo
=
{
title
:
price
};
this
.
goodActionInfo
=
{
title
:
price
};
}
}
...
...
src/views/Goods/Inform/index.vue
View file @
85ef9c6d
...
@@ -39,47 +39,50 @@ export default {
...
@@ -39,47 +39,50 @@ export default {
},
},
methods
:
{
methods
:
{
conform
()
{
conform
()
{
this
.
$router
.
push
(
`/policy/detail/123`
);
//
this.$router.push(`/policy/detail/123`);
//
this.generateFormData();
this
.
generateFormData
();
//
this.generateOrder();
this
.
generateOrder
();
},
},
generateFormData
()
{
generateFormData
()
{
const
subFromData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
formData
));
const
{
const
{
productNo
,
userInfoSecId
,
userInfoSecId
,
name
,
name
,
idNo
,
idNo
,
relation
,
relation
,
//
socialSecurity,
socialSecurity
,
//
selfSocialSecurity,
selfSocialSecurity
,
selfName
,
selfName
,
selfIdNo
,
selfIdNo
,
selfPhone
,
selfPhone
,
selfSecId
,
selfSecId
,
payType
,
payType
,
autoRenewPolicy
autoRenewPolicy
}
=
this
.
for
mData
;
}
=
subFro
mData
;
this
.
subFromData
=
{
this
.
subFromData
=
{
insuredUserInfo
:
{
productNo
:
this
.
goodId
,
userInfoSecId
:
userInfoSecId
??
null
,
name
,
idNo
,
relation
// socialSecurity: socialSecurity ? !!Number(socialSecurity) : null
},
productNo
,
holderUserInfo
:
{
holderUserInfo
:
{
phoneNo
:
selfPhone
,
phoneNo
:
selfPhone
,
userInfoSecId
:
selfSecId
,
userInfoSecId
:
selfSecId
?
selfSecId
:
null
,
name
:
selfName
,
name
:
selfName
,
idNo
:
selfIdNo
idNo
:
selfIdNo
// socialSecurity: selfSocialSecurity ? !!Number(selfSocialSecurity) : null
},
},
productItem
:
{
productItem
:
{
payType
:
payType
?
payType
:
null
payType
},
},
autoRenewPolicy
:
autoRenewPolicy
autoRenewPolicy
:
autoRenewPolicy
};
};
if
(
relation
===
"
1
"
)
{
this
.
subFromData
.
holderUserInfo
.
socialSecurity
=
!!
Number
(
selfSocialSecurity
);
}
else
{
this
.
subFromData
.
insuredUserInfo
=
{
userInfoSecId
:
userInfoSecId
?
userInfoSecId
:
undefined
,
name
,
idNo
,
relation
,
socialSecurity
:
!!
Number
(
socialSecurity
)
};
}
}
}
}
}
};
};
...
...
src/views/Goods/index.vue
View file @
85ef9c6d
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<cr-tabbar-item>
少儿
</cr-tabbar-item>
<cr-tabbar-item>
少儿
</cr-tabbar-item>
</cr-tabbar>
</cr-tabbar>
</cr-sticky>
</cr-sticky>
<good-list
:list=
"list"
/>
<good-list
:list=
"list"
:style=
"
{ opacity: goodsList.length > 0 ? 1 : 0 }"
/>
<ai-test-tip
@
click.native=
"showLayer = true"
/>
<ai-test-tip
@
click.native=
"showLayer = true"
/>
<copyright
:logo=
"true"
/>
<copyright
:logo=
"true"
/>
<tabbar></tabbar>
<tabbar></tabbar>
...
...
src/views/Policy/Add/index.vue
View file @
85ef9c6d
...
@@ -721,6 +721,7 @@ export default {
...
@@ -721,6 +721,7 @@ export default {
};
};
const
res
=
await
trail
(
_param
);
const
res
=
await
trail
(
_param
);
if
(
res
)
{
if
(
res
)
{
price
[
1
]
=
"
元/年
"
;
price
[
0
]
=
res
.
downPayPrice
;
price
[
0
]
=
res
.
downPayPrice
;
this
.
goodActionInfo
=
{
this
.
goodActionInfo
=
{
title
:
price
title
:
price
...
...
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