update 表格的序号列
This commit is contained in:
@@ -5,8 +5,8 @@ import { timeFilter, dictFilter } from "@/utils/filters";
|
||||
|
||||
export default function () {
|
||||
const tableProps = [
|
||||
// { type: 'index', label: '序号' },
|
||||
// { prop: "createTime", label: "添加时间", filter: timeFilter },
|
||||
{ type: 'index', label: '序号' },
|
||||
{ prop: "createTime", label: "添加时间", filter: timeFilter },
|
||||
{ prop: "name", label: "物料名称" },
|
||||
{ prop: "code", label: "物料编码" },
|
||||
{ prop: "typeDictValue", label: "类别", filter: dictFilter("material_category") }, // subcomponent: {/** TODO: create a new component for this option */} },
|
||||
@@ -171,7 +171,8 @@ export default function () {
|
||||
// extraParams: ['stepId'],
|
||||
extraParams: "materialId",
|
||||
props: [
|
||||
{ prop: "createTime", label: "添加时间", filter: timeFilter, isEditField: true },
|
||||
{ type: 'index', label: '序号' },
|
||||
{ prop: "createTime", label: "添加时间", filter: timeFilter },
|
||||
{ prop: "name", label: "属性名", isEditField: true },
|
||||
{ prop: "value", label: "属性值", isEditField: true },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user