Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
9
91isoft_web_vue
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
张伯涛
91isoft_web_vue
Commits
17de21bc
Commit
17de21bc
authored
Mar 07, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pad分支安卓函数调用
parent
cc6987f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
59 additions
and
0 deletions
+59
-0
outbound.vue
src/views/setup/outbound.vue
+59
-0
No files found.
src/views/setup/outbound.vue
0 → 100644
View file @
17de21bc
<
template
>
<div
class=
"outbound_module"
>
<div
class=
"button_row"
>
<el-button
type=
"primary"
@
click=
"handleOpenScan"
>
扫码
</el-button>
<el-button
type=
"primary"
>
入库
</el-button>
</div>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"auto"
label-position=
"top"
>
<el-form-item
label=
"扫码结果"
prop=
"scanCode"
style=
"width: 200px"
>
<el-input
v-model=
"form.scanCode"
show-word-limit
placeholder=
"请扫码"
/>
</el-form-item>
</el-form>
</div>
</
template
>
<
script
>
export
default
{
name
:
'Outbound'
,
data
()
{
return
{
options
:
[
{
value
:
'1'
,
label
:
'类型1'
},
{
value
:
'2'
,
label
:
'类型2'
},
{
value
:
'3'
,
label
:
'类型3'
}
],
form
:
{
scanCode
:
''
},
rules
:
{
}
}
},
created
()
{
},
methods
:
{
handleOpenScan
()
{
const
params
=
{
flag
:
'openScan'
}
this
.
$WebView
.
openScan
(
params
).
then
(
res
=>
{
this
.
form
.
scanCode
=
res
console
.
log
(
'提交后结果'
,
res
)
})
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.outbound_module
{
padding
:
20px
;
.button_row
{
margin
:
20px
0
20px
0
;
}
.outbound_form
{
width
:
300px
;
}
}
</
style
>
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