Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
assets
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
黄媛媛
assets
Commits
95661d57
Commit
95661d57
authored
Aug 03, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
a7a3b628
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
19 deletions
+43
-19
InventoryDetail.vue
src/components/Materialman/InventoryDetail.vue
+43
-19
No files found.
src/components/Materialman/InventoryDetail.vue
View file @
95661d57
...
...
@@ -18,27 +18,29 @@
</div>
<div
class=
"padContent"
>
<ul
v-show=
"morequery"
class=
"queryul"
>
扫码出库
<ul
v-show=
"morequery"
class=
"queryul"
ref=
"searchBarFixed"
:class=
"
{'searchBarFixed':searchBarFixed}"
>
扫码出库
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"barCode"
@
keyup
.
enter
.
native=
"payCode"
placeholder=
"商品出库条码"
>
</el-input>
</li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.SuppliesId"
placeholder=
"物料Id"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
></el-input>
</li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.SuppliesName"
placeholder=
"物料名称"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
></el-input>
</li>
<li>
<el-select
size=
"small"
v-model=
"msg.CheckStatus"
@
change=
"msg.pageIndex=1,getList()"
>
<el-option
label=
"不限"
:value=
"0"
>
</el-option>
<el-option
v-for=
"item in getCheckStatusList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</li>
<template
v-if=
"!searchBarFixed"
>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.SuppliesId"
placeholder=
"物料Id"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
></el-input>
</li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.SuppliesName"
placeholder=
"物料名称"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
></el-input>
</li>
<li>
<el-select
size=
"small"
v-model=
"msg.CheckStatus"
@
change=
"msg.pageIndex=1,getList()"
>
<el-option
label=
"不限"
:value=
"0"
>
</el-option>
<el-option
v-for=
"item in getCheckStatusList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</li>
</
template
>
</ul>
<vxe-table
stripe
style=
"margin-top:15px"
:loading=
"loading"
:data=
"tableData"
>
<vxe-table-column
field=
"Name"
title=
"状态"
width=
"120"
>
...
...
@@ -190,7 +192,8 @@
//CheckState用于管理操作按钮
CheckState
:
0
,
//用于判断是否完成盘点
isPandian
:
true
isPandian
:
true
,
searchBarFixed
:
false
};
},
mounted
()
{
...
...
@@ -202,6 +205,8 @@
//上传接口路径
this
.
importFileUrl2
=
this
.
domainManager
().
DomainUrl
+
"/api/file/LocalFileUploadImportForSuppliesCheck"
;
//添加滚动事件
window
.
addEventListener
(
'scroll'
,
this
.
handleScroll
)
},
methods
:
{
//关闭预览图片
...
...
@@ -505,7 +510,18 @@
},
null
);
}
},
//开始滚动
handleScroll
()
{
var
scrollTop
=
window
.
pageYOffset
||
document
.
documentElement
.
scrollTop
||
document
.
body
.
scrollTop
var
offsetTop
=
this
.
$refs
.
searchBarFixed
.
offsetTop
if
(
scrollTop
>
offsetTop
)
{
this
.
searchBarFixed
=
true
}
else
{
this
.
searchBarFixed
=
false
}
},
}
};
...
...
@@ -601,5 +617,13 @@
/* Opera 10.5+ */
transition
:
opacity
1s
ease-out
;
}
.searchBarFixed
{
position
:
fixed
;
top
:
-20px
;
width
:
100%
;
background-color
:
#f2f2f2
;
padding
:
10px
20px
0
20px
;
z-index
:
999
;
}
</
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