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
406d6d9c
Commit
406d6d9c
authored
Dec 06, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s
parent
aa3251ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
7 deletions
+20
-7
Archivesmaterials.vue
src/components/Materialman/Archivesmaterials.vue
+20
-7
No files found.
src/components/Materialman/Archivesmaterials.vue
View file @
406d6d9c
...
...
@@ -161,7 +161,7 @@
</div>
<div
class=
"btnformItem"
>
<span
class=
"submitBtn"
type=
"primary"
@
click=
"submitForm('addMsg')"
>
确定
</span>
<span
class=
"exitBtn"
@
click=
"dialogState=false"
>
取消
</span>
<span
class=
"exitBtn"
@
click=
"dialogState=false
,linitMsg()
"
>
取消
</span>
</div>
</el-form>
</el-dialog>
...
...
@@ -293,14 +293,27 @@ export default {
},
addSupplier
(){
this
.
addMsg
=
{
Id
:
0
,
Name
:
''
}
this
.
addMsg
.
Id
=
0
;
this
.
dialogtitle
=
"新增物料档案"
;
this
.
dialogState
=
true
;
},
//重置
initMsg
(){
this
.
addMsg
.
Id
=
0
;
this
.
addMsg
.
Name
=
''
;
this
.
addMsg
.
SuppliesNum
=
''
;
this
.
addMsg
.
BrandName
=
''
;
this
.
addMsg
.
CategoryId
=
null
;
this
.
addMsg
.
SupplierName
=
''
;
this
.
addMsg
.
SafetyStock
=
''
;
this
.
addMsg
.
ReservedStock
=
''
;
this
.
addMsg
.
SuppliesModel
=
''
;
this
.
addMsg
.
Units
=
''
;
this
.
addMsg
.
Money
=
''
;
this
.
addMsg
.
Barcode
=
''
;
this
.
addMsg
.
Remark
=
''
;
this
.
addMsg
.
ImageList
=
''
;
},
uploadFileBtn
(
file
)
{
//上传
if
(
file
.
file
.
size
>
1024
*
1024
*
10
)
{
this
.
$message
.
warning
(
"文件大小不能超过10M!"
)
...
...
@@ -341,7 +354,7 @@ export default {
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
this
.
dialogState
=
false
;
this
.
initMsg
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
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