Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
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
mes
mes-ui
Commits
9976801c
Commit
9976801c
authored
Sep 19, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
领料申请bug
parent
39dc1849
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
requestIndex.vue
src/views/mes/pro/request/components/requestIndex.vue
+3
-3
No files found.
src/views/mes/pro/request/components/requestIndex.vue
View file @
9976801c
...
@@ -228,9 +228,9 @@ export default {
...
@@ -228,9 +228,9 @@ export default {
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
this
.
$refs
[
"form"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
optType
==
"add"
)
{
if
(
this
.
optType
==
"add"
)
{
this
.
tableData
.
unshift
(
{
...
this
.
form
}
);
this
.
tableData
.
unshift
(
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
);
}
else
if
(
this
.
optType
==
"edit"
){
}
else
if
(
this
.
optType
==
"edit"
){
this
.
tableData
[
this
.
indexs
]
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
));
this
.
$set
(
this
.
tableData
,
this
.
indexs
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
)))
}
}
this
.
showFlag
=
false
;
this
.
showFlag
=
false
;
}
}
...
@@ -266,7 +266,7 @@ export default {
...
@@ -266,7 +266,7 @@ export default {
updateRow
(
index
){
updateRow
(
index
){
console
.
log
(
index
);
console
.
log
(
index
);
this
.
indexs
=
index
;
this
.
indexs
=
index
;
this
.
form
=
this
.
tableData
[
index
]
;
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
tableData
[
index
]))
;
this
.
open
=
true
;
this
.
open
=
true
;
this
.
optType
=
"edit"
;
this
.
optType
=
"edit"
;
},
},
...
...
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