Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
M
mini-wms
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
周海峰
mini-wms
Commits
42659315
Commit
42659315
authored
Dec 04, 2025
by
ningjihai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123123
parent
c5d2b0f7
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
65 行增加
和
68 行删除
+65
-68
ruoyi-admin-vue/src/views/inventory/materials_category/index.vue
+61
-66
ruoyi-admin-vue/src/views/system/dict/index.vue
+4
-2
没有找到文件。
ruoyi-admin-vue/src/views/inventory/materials_category/index.vue
View file @
42659315
...
...
@@ -72,72 +72,67 @@
</el-form-item>
</page-wrapper-search>
<!-- 树形数据表格 -->
<div
style=
"flex: 1;min-height: 200px;"
>
<el-table
ref=
"treeTable"
v-loading=
"loading"
:data=
"currentTreeNodeData"
height=
"100%"
row-key=
"id"
:default-expand-all=
"isExpandAll"
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
>
<!-- <el-table-column type="selection" width="55" align="center"/> -->
<el-table-column
label=
"物料分类名称"
align=
"center"
prop=
"categoryName"
fixed=
"left"
/>
<el-table-column
label=
"物料分类编码"
align=
"center"
prop=
"categoryCode"
/>
<el-table-column
label=
"排序"
align=
"center"
prop=
"sortNo"
width=
"80"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"修改时间"
align
=
"center"
prop
=
"updateTime"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
parseTime
(
scope
.
row
.
updateTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
width
=
"250"
fixed
=
"right"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
size
=
"mini"
link
type
=
"text"
icon
=
"el-icon-plus"
@
click
=
"handleAdd(scope.row.id)"
v
-
hasPermi
=
"['inventory:materials_category:add']"
>
新增下级
<
/el-button
>
<
el
-
button
size
=
"mini"
link
type
=
"text"
icon
=
"el-icon-edit"
@
click
=
"handleUpdate(scope.row)"
v
-
hasPermi
=
"['inventory:materials_category:edit']"
>
修改
<
/el-button
>
<
el
-
button
size
=
"mini"
link
type
=
"text"
icon
=
"el-icon-delete"
@
click
=
"handleDelete(scope.row)"
v
-
hasPermi
=
"['inventory:materials_category:remove']"
>
删除
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
/div
>
<!-- 树形数据表格 -->
<div
style=
"flex: 1;min-height: 200px;"
>
<el-table
ref=
"treeTable"
v-loading=
"loading"
:data=
"currentTreeNodeData"
height=
"100%"
row-key=
"id"
:default-expand-all=
"isExpandAll"
:tree-props=
"{children: 'children', hasChildren: 'hasChildren'}"
>
<!-- <el-table-column type="selection" width="55" align="center"/> -->
<el-table-column
label=
"物料分类名称"
align=
"center"
prop=
"categoryName"
fixed=
"left"
/>
<el-table-column
label=
"物料分类编码"
align=
"center"
prop=
"categoryCode"
/>
<el-table-column
label=
"排序"
align=
"center"
prop=
"sortNo"
width=
"80"
/>
<el-table-column
label=
"创建时间"
align=
"center"
prop=
"createTime"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"修改时间"
align
=
"center"
prop
=
"updateTime"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
parseTime
(
scope
.
row
.
updateTime
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
width
=
"250"
fixed
=
"right"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
size
=
"mini"
link
type
=
"text"
icon
=
"el-icon-plus"
@
click
=
"handleAdd(scope.row.id)"
v
-
hasPermi
=
"['inventory:materials_category:add']"
>
新增下级
<
/el-button
>
<
el
-
button
size
=
"mini"
link
type
=
"text"
icon
=
"el-icon-edit"
@
click
=
"handleUpdate(scope.row)"
v
-
hasPermi
=
"['inventory:materials_category:edit']"
>
修改
<
/el-button
>
<
el
-
button
size
=
"mini"
link
type
=
"text"
icon
=
"el-icon-delete"
@
click
=
"handleDelete(scope.row)"
v
-
hasPermi
=
"['inventory:materials_category:remove']"
>
删除
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
/div
>
<
/div
>
<
/div
>
...
...
ruoyi-admin-vue/src/views/system/dict/index.vue
View file @
42659315
...
...
@@ -106,7 +106,7 @@
<div
class=
"table-container"
>
<el-table
v-loading=
"loading"
height=
"100%"
:data=
"typeList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
fixed
/>
<el-table-column
label=
"字典编号"
align=
"center"
prop=
"dictId"
/>
<el-table-column
label=
"字典名称"
align=
"center"
prop=
"dictName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"字典类型"
align=
"center"
:show-overflow-tooltip=
"true"
>
...
...
@@ -127,7 +127,7 @@
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
fixed=
"right"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"mini"
...
...
@@ -188,6 +188,8 @@
</div>
</el-dialog>
</div>
</template>
<
script
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论