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
73d8e3d0
Commit
73d8e3d0
authored
Dec 04, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
9e2fefe9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
index.vue
src/views/mes/pro/ItemTemplateMapping/index.vue
+7
-2
No files found.
src/views/mes/pro/ItemTemplateMapping/index.vue
View file @
73d8e3d0
...
@@ -352,8 +352,11 @@ export default {
...
@@ -352,8 +352,11 @@ export default {
methods
:
{
methods
:
{
templateChange
(){
templateChange
(){
const
item
=
this
.
templateOptions
.
find
(
v
=>
v
.
id
===
this
.
form
.
templateId
)
const
item
=
this
.
templateOptions
.
find
(
v
=>
v
.
id
===
this
.
form
.
templateId
)
console
.
log
(
'item'
,
item
)
if
(
item
)
{
if
(
item
)
{
this
.
form
.
filePath
=
item
.
filePath
||
''
this
.
form
.
filePath
=
item
.
filePath
||
''
}
else
{
this
.
form
.
filePath
=
''
}
}
},
},
onItemSelected
(
obj
)
{
onItemSelected
(
obj
)
{
...
@@ -418,7 +421,7 @@ export default {
...
@@ -418,7 +421,7 @@ export default {
templateCode
:
null
,
templateCode
:
null
,
templateId
:
null
,
templateId
:
null
,
createBy
:
null
,
createBy
:
null
,
filePath
:
null
filePath
:
''
}
}
this
.
resetForm
(
'form'
)
this
.
resetForm
(
'form'
)
},
},
...
@@ -464,7 +467,9 @@ export default {
...
@@ -464,7 +467,9 @@ export default {
if
(
!
row
||
!
row
.
id
)
row
=
this
.
selectedRows
[
0
]
if
(
!
row
||
!
row
.
id
)
row
=
this
.
selectedRows
[
0
]
this
.
reset
()
this
.
reset
()
this
.
form
=
row
this
.
form
=
row
this
.
templateChange
()
this
.
$nextTick
(()
=>
{
this
.
templateChange
()
})
this
.
open
=
true
this
.
open
=
true
this
.
title
=
'修改客户产品标签模板对照表'
this
.
title
=
'修改客户产品标签模板对照表'
},
},
...
...
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