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
ximai
mes-ui
Commits
d02bf4b2
Commit
d02bf4b2
authored
Oct 24, 2024
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理unknown的问题
parent
e3d070f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
index.vue
src/views/mes/md/product/index.vue
+7
-3
No files found.
src/views/mes/md/product/index.vue
View file @
d02bf4b2
...
...
@@ -149,10 +149,10 @@
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('物料/产品分类')"
prop=
"itemType
Name
"
>
<treeselect
v-model=
"form.itemType
Name
"
:options=
"itemTypeOptions"
:show-count=
"true"
disabled
<el-form-item
:label=
"$t('物料/产品分类')"
prop=
"itemType
Id
"
>
<treeselect
v-model=
"form.itemType
Id
"
:options=
"itemTypeOptions"
:show-count=
"true"
disabled
v-if=
"optType == 'view'"
/>
<treeselect
v-model=
"form.itemType
Name"
:options=
"itemTypeOptions"
:show-count=
"tru
e"
<treeselect
v-model=
"form.itemType
Id"
:options=
"itemTypeOptions"
:show-count=
"true"
@
select=
"changeTre
e"
v-else
:disable-branch-nodes=
"true"
/>
</el-form-item>
</el-col>
...
...
@@ -484,6 +484,10 @@ export default {
this
.
optType
=
"view"
;
});
},
changeTree
(
row
){
this
.
form
.
itemTypeId
=
row
.
id
this
.
form
.
itemTypeName
=
row
.
label
},
/** 新增按钮操作 */
handleAdd
()
{
this
.
reset
();
...
...
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