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
bcc0d688
Commit
bcc0d688
authored
Oct 31, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料对照表修改
parent
5318c6f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
addForm.vue
...ponents/MaterialReferenceLinkTable/components/addForm.vue
+10
-5
No files found.
applications/dee-mes/src/privateComponents/components/MaterialReferenceLinkTable/components/addForm.vue
View file @
bcc0d688
...
...
@@ -24,6 +24,7 @@ export default {
components
:
{},
data
()
{
return
{
operator
:
'ADD'
,
sourceForm
:
{},
sourceFormData
:
[
{
...
...
@@ -155,7 +156,8 @@ export default {
}
],
optionsA
:
[],
optionsB
:
[]
optionsB
:
[],
id
:
''
}
},
computed
:
{},
...
...
@@ -166,8 +168,10 @@ export default {
},
methods
:
{
editData
(
form
)
{
this
.
operator
=
'MODIFY'
this
.
sourceForm
=
form
.
source
this
.
targetForm
=
form
.
target
this
.
id
=
form
.
id
},
// 设置物料A类型下拉
resetMaterialA
(
query
)
{
...
...
@@ -290,13 +294,14 @@ export default {
},
submitEvent
()
{
const
form
=
{
operator
:
'ADD'
,
operator
:
this
.
operator
,
source
:
this
.
sourceForm
,
target
:
this
.
targetForm
}
if
(
this
.
basicData
)
{
form
.
id
=
this
.
basicData
.
id
form
.
operator
=
'MODIFY'
if
(
this
.
operator
===
'MODIFY'
)
{
form
.
id
=
this
.
id
form
.
source
.
operator
=
'MODIFY'
form
.
target
.
operator
=
'MODIFY'
}
this
.
$api
.
recursion
(
'MaterialReferenceLink'
,
form
).
then
(
res
=>
{
this
.
cancelEvent
()
...
...
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