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
8d0073c6
Commit
8d0073c6
authored
May 26, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品结构
parent
e85715b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
edit.vue
pages/technology/productMix/product/edit.vue
+13
-2
index.vue
pages/technology/productMix/product/index.vue
+1
-0
No files found.
pages/technology/productMix/product/edit.vue
View file @
8d0073c6
...
...
@@ -11,9 +11,10 @@
<Col
:span=
"12"
>
<FormItem
label=
"上级所属"
prop=
"levelId"
>
<!--
<Input
v-model=
"entity.parentName"
disabled
></Input>
-->
<productSelect1
v-model=
"entity.levelId
+''"
@
on-change=
"proChange
"
/>
<productSelect1
v-model=
"entity.levelId
"
@
on-change=
"proChange"
ref=
"edit
"
/>
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('productCode')"
prop=
"productCode"
>
<Input
v-model=
"entity.productCode"
></Input>
...
...
@@ -83,6 +84,10 @@ export default {
eid
:
""
,
name
:
""
,
field
:
""
},
listValue
:
{
labelName
:
""
,
labelId
:
null
}
};
},
...
...
@@ -123,11 +128,17 @@ export default {
},
load
(
v
)
{
Api
.
get
({
id
:
v
}).
then
(
r
=>
{
// this.$refs.refFile.intFilesClone();
this
.
parms
.
eid
=
r
.
result
.
productUrlList
;
this
.
entity
=
r
.
result
;
this
.
img
=
this
.
entity
.
productUrl
;
this
.
componayId
=
r
.
result
.
madeCompany
;
this
.
entity
.
levelTitle
=
r
.
result
.
levelTitle
;
this
.
entity
.
levelId
=
r
.
result
.
levelId
;
this
.
$refs
.
edit
.
dep
=
r
.
result
.
levelId
;
this
.
$refs
.
edit
.
label
=
r
.
result
.
levelTitle
;
// this.listValue.labelName = r.result.levelTitle;
// this.listValue.labelId = r.result.levelId;
});
},
handleSubmit
()
{
...
...
pages/technology/productMix/product/index.vue
View file @
8d0073c6
...
...
@@ -136,6 +136,7 @@ export default {
this
.
title
=
"详情"
;
this
.
detail
=
()
=>
import
(
"./detail"
);
this
.
modal
=
true
;
},
edit
(
id
)
{
this
.
curId
=
id
;
...
...
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