File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/views/crm/product/category Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 7
7
label-width =" 100px"
8
8
v-loading =" formLoading"
9
9
>
10
- <el-form-item label =" 父级id " prop =" parentId" >
10
+ <el-form-item label =" 父级分类 " prop =" parentId" >
11
11
<el-select v-model =" formData.parentId" placeholder =" 请选择上级分类" >
12
12
<el-option :key =" 0" label =" 顶级分类" :value =" 0" />
13
13
<el-option
Original file line number Diff line number Diff line change 1
1
<template >
2
- <!-- TODO @zange:挪到 product 下,建个 category 包,挪进去哈; -->
3
2
<ContentWrap >
4
3
<!-- 搜索工作栏 -->
5
4
<el-form
36
35
<!-- 列表 -->
37
36
<ContentWrap >
38
37
<el-table v-loading =" loading" :data =" list" row-key =" id" default-expand-all >
39
- <el-table-column label =" 名称" align =" center" prop =" name" />
38
+ <el-table-column label =" 分类编号" align =" center" prop =" id" />
39
+ <el-table-column label =" 分类名称" align =" center" prop =" name" />
40
40
<el-table-column
41
41
label =" 创建时间"
42
42
align =" center"
73
73
74
74
<script setup lang="ts">
75
75
import { dateFormatter } from ' @/utils/formatTime'
76
- import download from ' @/utils/download'
77
76
import * as ProductCategoryApi from ' @/api/crm/product/productCategory'
78
77
import ProductCategoryForm from ' ./ProductCategoryForm.vue'
79
78
import { handleTree } from ' @/utils/tree'
You can’t perform that action at this time.
0 commit comments