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
b4f537be
Commit
b4f537be
authored
Aug 27, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4c9d14f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
Archivesmaterials.vue
src/components/Materialman/Archivesmaterials.vue
+19
-19
No files found.
src/components/Materialman/Archivesmaterials.vue
View file @
b4f537be
...
...
@@ -17,46 +17,46 @@
<ul
v-show=
"morequery"
class=
"queryul"
>
<li
style=
"float:left"
>
<!-- :alwaysOpen="true" -->
<treeselect
style=
"height:50px;width:200px;"
:options=
"treedata"
v-model=
"msg.CategoryId"
placeholder=
"分类"
<treeselect
style=
"height:50px;width:200px;"
:options=
"treedata"
v-model=
"msg.CategoryId"
placeholder=
"分类"
:normalizer=
"normalizer"
/>
</li>
<li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.Name"
placeholder=
"档案名称"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
></el-input>
</li>
<li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.SuppliesNum"
placeholder=
"物料编码"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
></el-input>
</li>
<li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.BrandName"
placeholder=
"品牌"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
></el-input>
</li>
<li>
<li>
<el-input
class=
"w200"
size=
"small"
v-model=
"msg.SupplierName"
placeholder=
"供应商名称"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
></el-input>
</li>
</ul>
<vxe-table
stripe
style=
"margin-top:15px"
:loading=
"loading"
:data=
"tableData"
>
<vxe-table-column
field=
"SuppliesNum"
title=
"档案编码"
>
<vxe-table-column
field=
"SuppliesNum"
title=
"档案编码"
>
<template
v-slot=
"
{ row }">
<span
class=
"underline"
@
click=
"getCheckDes(row)"
>
{{
row
.
SuppliesNum
}}
</span>
</
template
>
</
template
>
</vxe-table-column>
<vxe-table-column
field=
"Name"
title=
"档案名称"
>
<vxe-table-column
field=
"Name"
title=
"档案名称"
width=
'200'
>
<
template
v-slot=
"{ row }"
>
<span
class=
"underline"
@
click=
"getCheckDes(row)"
>
{{
row
.
Name
}}
</span>
</
template
>
</
template
>
</vxe-table-column>
<vxe-table-column
field=
"SuppliesName"
title=
"规格"
width=
'200'
>
<
template
v-slot=
"{ row }"
>
<span
v-for=
"(x,y) in row.GoodsSpecificationList"
:key=
"y"
>
{{
x
}}{{
y
+
1
==
row
.
GoodsSpecificationList
.
length
?
''
:
','
}}
</span>
</
template
>
</
template
>
</vxe-table-column>
<vxe-table-column
field=
"CategoryName"
title=
"分类名称"
></vxe-table-column>
<vxe-table-column
field=
"BrandName"
title=
"品牌"
></vxe-table-column>
<vxe-table-column
field=
"Money"
title=
"成本价"
></vxe-table-column>
<vxe-table-column
field=
"SupplierName"
title=
"供应商"
></vxe-table-column>
<vxe-table-column
field=
"Barcode"
title=
"条形码号"
></vxe-table-column
>
<!-- <vxe-table-column field="Barcode" title="条形码号"></vxe-table-column>--
>
<vxe-table-column
field=
"UpdateDate"
title=
"库存"
>
<
template
v-slot=
"{ row }"
>
<p>
预警库存:
{{
row
.
ReservedStock
}}
</p>
...
...
@@ -70,7 +70,7 @@
<p>
{{
row
.
UpdateDate
}}
</p>
</
template
>
</vxe-table-column>
<vxe-table-column
field=
"
UpdateDate
"
title=
"备注"
></vxe-table-column>
<vxe-table-column
field=
"
Remark
"
title=
"备注"
></vxe-table-column>
<vxe-table-column
field=
"address"
title=
"操作"
>
<
template
v-slot=
"{ row }"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
...
...
@@ -159,7 +159,7 @@
<img
@
click=
"DeleteImg(item,index)"
src=
"../../assets/img/imgdelete.png"
alt=
""
>
</div>
</li>
</ul>
</ul>
<div
class=
"uploadDiv"
>
<el-upload
:http-request=
"uploadFileBtn"
...
...
@@ -269,7 +269,7 @@ export default {
},
mounted
(){
this
.
getList
();
this
.
getNode
();
this
.
getNode
();
},
methods
:{
getCheckDes
(
item
){
...
...
@@ -283,10 +283,10 @@ export default {
this
.
addMsg
.
ImageList
.
splice
(
index
,
1
);
},
treefocus
(){
this
.
treedataState
=
true
;
this
.
treedataState
=
true
;
},
treeblur
(){
this
.
treedataState
=
false
;
this
.
treedataState
=
false
;
},
addSupplier
(){
...
...
@@ -440,7 +440,7 @@ export default {
this
.
initMsg
();
}
},
}
</
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