Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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
周远喜
mes-ui
Commits
b498c472
Commit
b498c472
authored
Jul 06, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bomId
parent
d82d246e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
productSelect.vue
components/page/productSelect.vue
+5
-2
add.vue
pages/technology/add.vue
+2
-0
edit.vue
pages/technology/edit.vue
+1
-0
No files found.
components/page/productSelect.vue
View file @
b498c472
...
@@ -27,7 +27,8 @@ export default {
...
@@ -27,7 +27,8 @@ export default {
orderSearchForm
:
{
orderSearchForm
:
{
productId
:
null
,
//产品id
productId
:
null
,
//产品id
productName
:
""
,
//产品名称
productName
:
""
,
//产品名称
drawingNo
:
""
//图号
drawingNo
:
""
,
//图号
bomId
:
null
//bomId
}
}
};
};
},
},
...
@@ -62,6 +63,7 @@ export default {
...
@@ -62,6 +63,7 @@ export default {
this
.
orderSearchForm
.
productName
=
data
[
0
].
title
;
this
.
orderSearchForm
.
productName
=
data
[
0
].
title
;
this
.
orderSearchForm
.
productId
=
data
[
0
].
productId
;
this
.
orderSearchForm
.
productId
=
data
[
0
].
productId
;
this
.
orderSearchForm
.
drawingNo
=
data
[
0
].
drawingNo
;
this
.
orderSearchForm
.
drawingNo
=
data
[
0
].
drawingNo
;
this
.
orderSearchForm
.
bomId
=
data
[
0
].
bomId
;
this
.
$emit
(
this
.
$emit
(
"on-change"
,
"on-change"
,
this
.
orderSearchForm
.
productId
,
this
.
orderSearchForm
.
productId
,
...
@@ -76,7 +78,8 @@ export default {
...
@@ -76,7 +78,8 @@ export default {
this
.
orderSearchForm
=
{
this
.
orderSearchForm
=
{
productId
:
null
,
//产品id
productId
:
null
,
//产品id
productName
:
""
,
//产品名称
productName
:
""
,
//产品名称
drawingNo
:
""
//图号
drawingNo
:
""
,
//图号
bomId
:
null
};
};
},
},
loadTree
()
{
loadTree
()
{
...
...
pages/technology/add.vue
View file @
b498c472
...
@@ -172,6 +172,7 @@ export default {
...
@@ -172,6 +172,7 @@ export default {
code
:
""
,
code
:
""
,
productId
:
null
,
productId
:
null
,
productName
:
""
,
productName
:
""
,
productBomId
:
null
,
version
:
""
,
version
:
""
,
author
:
null
,
author
:
null
,
departmentId
:
null
,
departmentId
:
null
,
...
@@ -331,6 +332,7 @@ export default {
...
@@ -331,6 +332,7 @@ export default {
proChange
(
v
,
items
)
{
proChange
(
v
,
items
)
{
this
.
entity
.
productName
=
items
.
productName
;
this
.
entity
.
productName
=
items
.
productName
;
this
.
entity
.
drawingNo
=
items
.
drawingNo
;
this
.
entity
.
drawingNo
=
items
.
drawingNo
;
this
.
entity
.
productBomId
=
items
.
bomId
;
},
},
departChange
(
v
,
items
)
{
departChange
(
v
,
items
)
{
this
.
entity
.
departmentName
=
items
.
name
;
this
.
entity
.
departmentName
=
items
.
name
;
...
...
pages/technology/edit.vue
View file @
b498c472
...
@@ -243,6 +243,7 @@ export default {
...
@@ -243,6 +243,7 @@ export default {
proChange
(
v
,
items
)
{
proChange
(
v
,
items
)
{
this
.
entity
.
productName
=
items
.
productName
;
this
.
entity
.
productName
=
items
.
productName
;
this
.
entity
.
drawingNo
=
items
.
drawingNo
;
this
.
entity
.
drawingNo
=
items
.
drawingNo
;
this
.
entity
.
productBomId
=
items
.
bomId
;
},
},
departChange
(
v
,
items
)
{
departChange
(
v
,
items
)
{
this
.
entity
.
departmentName
=
items
.
name
;
this
.
entity
.
departmentName
=
items
.
name
;
...
...
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