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
mes
mes-ui
Commits
aa2f512e
Commit
aa2f512e
authored
Dec 06, 2024
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 物料产品分类增加物料分类编码字段
parent
33a39544
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
index.vue
src/views/mes/md/itemtype/index.vue
+5
-5
No files found.
src/views/mes/md/itemtype/index.vue
View file @
aa2f512e
...
...
@@ -63,7 +63,7 @@
<dict-tag
:options=
"dict.type.mes_item_product"
:value=
"scope.row.itemOrProduct"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
"itemTypeCode"
label=
"物料分类编码"
width=
"200"
/>
<el-table-column
prop=
"enableFlag"
label=
"是否启用"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.sys_yes_no"
:value=
"scope.row.enableFlag"
/>
...
...
@@ -104,7 +104,7 @@
<!-- 添加或修改物料分类对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"900px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"90px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"90px"
>
<el-row>
<el-col
:span=
"12"
v-if=
"form.parentTypeId !== 0"
>
<el-form-item
label=
"父分类"
prop=
"parentTypeId"
>
...
...
@@ -134,7 +134,7 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col
:span=
"12"
>
<el-form-item
label=
"物料/产品"
>
...
...
@@ -302,7 +302,7 @@ export default {
handleUpdate
(
row
)
{
this
.
reset
();
getItemType
(
row
.
itemTypeId
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
this
.
open
=
true
;
this
.
title
=
"修改分类"
;
});
...
...
@@ -332,7 +332,7 @@ export default {
this
.
open
=
false
;
this
.
getList
();
});
}
else
{
}
else
{
addItemType
(
this
.
form
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
...
...
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