Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
李俊赕
self-support
Commits
76c0ffa0
Commit
76c0ffa0
authored
May 07, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完工表单判断
parent
5c54644a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
52 deletions
+55
-52
complete.vue
src/pages/order/complete.vue
+55
-52
No files found.
src/pages/order/complete.vue
View file @
76c0ffa0
...
...
@@ -398,19 +398,20 @@
if
(
this
.
tabIndex
<
this
.
list
.
length
-
1
)
{
this
.
tabIndex
++
this
.
arr
=
[]
this
.
scrollRightTop
=
0
this
.
leftMenuStatus
(
0
)
this
.
$nextTick
(
function
()
{
this
.
getMenuItemTop
()
})
}
},
typeToComponentType
(
type
)
{
// 将fieldType类型统一转换为公共组件判定类型
let
formType
=
''
if
(
type
)
{
// 将fieldType类型统一转换为公共组件判定类型
type
=
type
.
toLocaleLowerCase
()
switch
(
type
)
{
case
'text'
:
formType
=
'input'
break
case
'password'
:
case
'textarea'
:
case
'number'
:
...
...
@@ -454,6 +455,8 @@
formType
=
'time'
break
}
}
return
formType
},
// ------------------------- 以下方法为展示滚动切换 -------------------------
...
...
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