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
a2e76c80
Commit
a2e76c80
authored
Aug 18, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 字段调整
parent
f5352547
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
index.vue
src/views/Policy/Add/index.vue
+6
-6
No files found.
src/views/Policy/Add/index.vue
View file @
a2e76c80
...
@@ -261,13 +261,13 @@
...
@@ -261,13 +261,13 @@
</cr-cell-group>
</cr-cell-group>
<cr-cell-group
title=
"保障方案"
>
<cr-cell-group
title=
"保障方案"
>
<cr-field
<cr-field
v-model=
"formData.productItem.
insuredAmount
"
v-model=
"formData.productItem.
amountInsured
"
name=
"productItem_insuredAmount"
name=
"productItem_insuredAmount"
label=
"投保限额"
label=
"投保限额"
:rules=
"[{ required: true, message: '请选择投保限额' }]"
:rules=
"[{ required: true, message: '请选择投保限额' }]"
>
>
<
template
#input
>
<
template
#input
>
<stepper
v-model=
"formData.productItem.
insuredAmount
"
:option=
"insuredAmountOptions"
/>
<stepper
v-model=
"formData.productItem.
amountInsured
"
:option=
"insuredAmountOptions"
/>
</
template
>
</
template
>
</cr-field>
</cr-field>
<cr-field
<cr-field
...
@@ -408,7 +408,7 @@ export default {
...
@@ -408,7 +408,7 @@ export default {
longTerm
:
"
1
"
longTerm
:
"
1
"
},
},
productItem
:
{
productItem
:
{
insuredAmount
:
"
500000
"
amountInsured
:
"
500000
"
},
},
payPeriod
:
"
1
"
payPeriod
:
"
1
"
},
},
...
@@ -573,7 +573,7 @@ export default {
...
@@ -573,7 +573,7 @@ export default {
},
},
getParamFromSession
()
{
getParamFromSession
()
{
const
{
const
{
amountInsured
:
insuredAmount
,
amountInsured
,
policyPeriod
,
policyPeriod
,
payPeriod
:
paymentPeriod
,
payPeriod
:
paymentPeriod
,
payType
,
payType
,
...
@@ -582,7 +582,7 @@ export default {
...
@@ -582,7 +582,7 @@ export default {
this
.
formData
.
productNo
=
productNo
;
this
.
formData
.
productNo
=
productNo
;
this
.
formData
.
productItem
=
{
this
.
formData
.
productItem
=
{
...
this
.
formData
.
productItem
,
...
this
.
formData
.
productItem
,
...{
insuredAmount
,
policyPeriod
,
paymentPeriod
,
payType
}
...{
amountInsured
,
policyPeriod
,
paymentPeriod
,
payType
}
};
};
const
nextDate
=
Date
.
parse
(
new
Date
())
+
86400000
;
const
nextDate
=
Date
.
parse
(
new
Date
())
+
86400000
;
this
.
formData
.
effectiveDate
=
parseTime
(
nextDate
,
"
{y}-{m}-{d} 00:00:00
"
);
this
.
formData
.
effectiveDate
=
parseTime
(
nextDate
,
"
{y}-{m}-{d} 00:00:00
"
);
...
@@ -619,7 +619,7 @@ export default {
...
@@ -619,7 +619,7 @@ export default {
async
calFee
()
{
async
calFee
()
{
let
{
price
}
=
this
.
headerInfo
;
let
{
price
}
=
this
.
headerInfo
;
const
{
const
{
insuredAmount
:
amountInsured
,
amountInsured
,
policyPeriod
,
policyPeriod
,
paymentPeriod
:
payPeriod
,
paymentPeriod
:
payPeriod
,
payType
payType
...
...
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