Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 961b1abd
authored
Jun 16, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改无忧卡增加年限
1 parent
242d8c0c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
1 deletions
src/views/worryFree/index.vue
src/views/worryFree/index.vue
View file @
961b1ab
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"适用类型:"
prop=
"packageCode"
>
<el-form-item
label=
"适用类型:"
prop=
"packageCode"
>
<el-select
v-model=
"detailDialogForm.packageCode"
placeholder=
"请选择"
size=
"small"
>
<el-select
@
change=
"changePgCode"
v-model=
"detailDialogForm.packageCode"
placeholder=
"请选择"
size=
"small"
>
<el-option
v-for=
"(item, index) in dialogTypeOptions"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
></el-option>
<el-option
v-for=
"(item, index) in dialogTypeOptions"
:key=
"index"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -338,6 +338,32 @@ export default {
...
@@ -338,6 +338,32 @@ export default {
this
.
getTotal
()
this
.
getTotal
()
},
},
methods
:
{
methods
:
{
changePgCode
(
e
){
let
arr
=
[
{
value
:
'1'
,
label
:
'1年'
},
{
value
:
'2'
,
label
:
'2年'
},
{
value
:
'3'
,
label
:
'3年'
}]
if
(
e
==
'PC0005'
||
e
==
'PC0007'
){
this
.
dialogYearOptions
=
[
...
arr
,
{
value
:
'4'
,
label
:
'4年'
},
{
value
:
'5'
,
label
:
'5年'
}]
}
else
{
this
.
dialogYearOptions
=
[...
arr
]
}
},
check
()
{
check
()
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
var
reg
=
/^
[
+
]{0,1}(\d
+
)
$/g
var
reg
=
/^
[
+
]{0,1}(\d
+
)
$/g
...
@@ -373,8 +399,10 @@ export default {
...
@@ -373,8 +399,10 @@ export default {
}
}
},
},
modify
(
e
)
{
modify
(
e
)
{
this
.
changePgCode
(
e
.
packageCode
)
let
obj
=
JSON
.
parse
(
JSON
.
stringify
(
e
))
let
obj
=
JSON
.
parse
(
JSON
.
stringify
(
e
))
this
.
detailDialog
=
true
this
.
detailDialog
=
true
obj
.
servicePeriod
=
obj
.
servicePeriod
+
''
this
.
detailDialogForm
=
obj
this
.
detailDialogForm
=
obj
if
(
obj
.
batchType
==
'1'
)
{
if
(
obj
.
batchType
==
'1'
)
{
this
.
detailDialogForm
.
batchType
=
'尊享版'
this
.
detailDialogForm
.
batchType
=
'尊享版'
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment