Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
e1f72a3b
Commit
e1f72a3b
authored
Sep 30, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code编号
parent
d0fdac72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
8 deletions
+24
-8
inputCode.vue
components/page/inputCode.vue
+24
-8
No files found.
components/page/inputCode.vue
View file @
e1f72a3b
...
...
@@ -2,15 +2,21 @@
<
template
>
<div
class=
"input-code"
>
<Input
v-model=
"code"
clearable
>
<Select
v-model=
"select"
<Button
slot=
"append"
style=
"width: 100px"
on-change=
"changeSelect"
style=
"width: 95px; text-align: left"
@
click=
"codeClick"
>
生成编号
</Button
>
<Option
value=
"com"
>
生成编号
</Option>
</Select>
</Input>
<!--
<Dropdown
placement=
"bottom-start"
>
<a
href=
"javascript:void(0)"
>
<Icon
type=
"ios-arrow-down"
>
55
</Icon>
</a>
<DropdownMenu
slot=
"list"
@
on-click=
"changeSelect"
>
<DropdownItem>
生成
</DropdownItem>
</DropdownMenu>
</Dropdown>
-->
</div>
</
template
>
<
script
>
...
...
@@ -19,7 +25,7 @@ export default {
data
()
{
return
{
code
:
""
,
select
:
"
com
"
,
select
:
""
,
};
},
props
:
{
...
...
@@ -43,12 +49,22 @@ export default {
}
});
},
changeSelect
(
a
)
{},
codeClick
()
{
this
.
getSerialcode
();
},
// changeSelect(a) {
// console.log(a);
// },
},
watch
:
{
value
(
v
)
{
this
.
code
=
v
;
},
code
(
v
)
{
if
((
v
=
""
))
{
this
.
select
=
""
;
}
},
},
};
</
script
>
...
...
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