Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
fa90252b
Commit
fa90252b
authored
Nov 28, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料关键字组件修改
parent
cd0efbeb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
index.vue
...ateComponents/components/MaterialKeywordsSelect/index.vue
+5
-1
No files found.
applications/dee-mes/src/privateComponents/components/MaterialKeywordsSelect/index.vue
View file @
fa90252b
...
@@ -155,8 +155,12 @@ export default {
...
@@ -155,8 +155,12 @@ export default {
// 带出物料相关默认值
// 带出物料相关默认值
const
SELECT_MATERIAL
=
this
.
material
.
find
((
item
)
=>
item
.
resCode
===
v
)
const
SELECT_MATERIAL
=
this
.
material
.
find
((
item
)
=>
item
.
resCode
===
v
)
if
(
SELECT_MATERIAL
)
{
if
(
SELECT_MATERIAL
)
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
title
===
'例外放行'
)
{
this
.
$set
(
this
.
form
,
'material'
,
SELECT_MATERIAL
)
}
else
{
this
.
$set
(
this
.
form
,
'partName'
,
SELECT_MATERIAL
.
resName
)
this
.
$set
(
this
.
form
,
'partName'
,
SELECT_MATERIAL
.
resName
)
}
}
}
},
},
change
(
val
)
{
change
(
val
)
{
this
.
changeMaterial
(
val
)
this
.
changeMaterial
(
val
)
...
...
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