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
9d6cbf63
Commit
9d6cbf63
authored
Dec 06, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s
parent
f9797a77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
Archivesmaterials.vue
src/components/Materialman/Archivesmaterials.vue
+8
-5
No files found.
src/components/Materialman/Archivesmaterials.vue
View file @
9d6cbf63
...
@@ -86,6 +86,7 @@
...
@@ -86,6 +86,7 @@
<el-dialog
<el-dialog
:title=
"dialogtitle"
:title=
"dialogtitle"
:visible
.
sync=
"dialogState"
:visible
.
sync=
"dialogState"
:before-close=
"closeChangeMachie"
top=
"3%"
top=
"3%"
width=
"850px"
>
width=
"850px"
>
<el-form
class=
"MyEditForm"
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"0"
>
<el-form
class=
"MyEditForm"
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"0"
>
...
@@ -103,7 +104,7 @@
...
@@ -103,7 +104,7 @@
</el-form-item>
</el-form-item>
<el-form-item
class=
"treeItem"
style=
"float:left;"
>
<el-form-item
class=
"treeItem"
style=
"float:left;"
>
<span
class=
"label"
>
分类
</span>
<span
class=
"label"
>
分类
</span>
<treeselect
style=
"height:32px"
class=
'w200 fl'
:options=
"treedata"
v-model=
"addMsg.CategoryId"
placeholder=
"不限"
<treeselect
style=
"height:32px"
:options=
"treedata"
v-model=
"addMsg.CategoryId"
placeholder=
"不限"
:normalizer=
"normalizer"
@
select=
'treeClick'
/>
:normalizer=
"normalizer"
@
select=
'treeClick'
/>
</el-form-item>
</el-form-item>
<el-form-item>
<el-form-item>
...
@@ -348,7 +349,7 @@ export default {
...
@@ -348,7 +349,7 @@ export default {
submitForm
(
formName
)
{
submitForm
(
formName
)
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
apiJavaPost
(
"/api/Supplies/Set
WareHouse
Info"
,
this
.
addMsg
,
this
.
apiJavaPost
(
"/api/Supplies/Set
Material
Info"
,
this
.
addMsg
,
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
getList
();
...
@@ -376,7 +377,6 @@ export default {
...
@@ -376,7 +377,6 @@ export default {
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
console
.
log
(
"res"
,
res
);
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
}
else
{
}
else
{
...
@@ -435,8 +435,11 @@ export default {
...
@@ -435,8 +435,11 @@ export default {
},
},
null
null
);
);
}
},
closeChangeMachie
()
{
this
.
dialogState
=
false
;
this
.
initMsg
();
}
},
},
}
}
...
...
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