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
48c89560
Commit
48c89560
authored
Aug 18, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 字段纠正
parent
a2e76c80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
19 deletions
+5
-19
index.vue
src/views/Policy/Add/index.vue
+5
-19
No files found.
src/views/Policy/Add/index.vue
View file @
48c89560
...
...
@@ -291,16 +291,13 @@
</
template
>
</cr-field>
<cr-field
v-model=
"formData.productItem.pay
ment
Period"
v-model=
"formData.productItem.payPeriod"
name=
"productItem_paymentPeriod"
label=
"交费期间"
:rules=
"[{ required: true, message: '请选择交费期间' }]"
>
<
template
#input
>
<cr-radio-btn
v-model=
"formData.productItem.paymentPeriod"
:radio-data=
"benefitOptions"
/>
<cr-radio-btn
v-model=
"formData.productItem.payPeriod"
:radio-data=
"benefitOptions"
/>
</
template
>
</cr-field>
<cr-field
:value=
"formData.effectiveDate"
name=
"effectiveDate"
readonly
label=
"生效日期"
/>
...
...
@@ -572,17 +569,11 @@ export default {
this
.
popupShow
=
true
;
},
getParamFromSession
()
{
const
{
amountInsured
,
policyPeriod
,
payPeriod
:
paymentPeriod
,
payType
,
productNo
}
=
this
.
policyFormData
;
const
{
amountInsured
,
policyPeriod
,
payPeriod
,
payType
,
productNo
}
=
this
.
policyFormData
;
this
.
formData
.
productNo
=
productNo
;
this
.
formData
.
productItem
=
{
...
this
.
formData
.
productItem
,
...{
amountInsured
,
policyPeriod
,
pay
ment
Period
,
payType
}
...{
amountInsured
,
policyPeriod
,
payPeriod
,
payType
}
};
const
nextDate
=
Date
.
parse
(
new
Date
())
+
86400000
;
this
.
formData
.
effectiveDate
=
parseTime
(
nextDate
,
"
{y}-{m}-{d} 00:00:00
"
);
...
...
@@ -618,12 +609,7 @@ export default {
},
async
calFee
()
{
let
{
price
}
=
this
.
headerInfo
;
const
{
amountInsured
,
policyPeriod
,
paymentPeriod
:
payPeriod
,
payType
}
=
this
.
formData
.
productItem
;
const
{
amountInsured
,
policyPeriod
,
payPeriod
,
payType
}
=
this
.
formData
.
productItem
;
let
idNo
=
""
;
let
userInfoSecId
=
undefined
;
const
{
socialSecurity
}
=
this
.
formData
.
insuredUserInfo
;
...
...
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