bug bug bug filters.js
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import TableOperaionComponent from "@/components/noTemplateComponents/operationComponent";
|
||||
import StatusComponent from "@/components/noTemplateComponents/statusComponent";
|
||||
import request from "@/utils/request";
|
||||
import { dictFind } from '@/utils/filters'
|
||||
import { dictFilter } from '@/utils/filters'
|
||||
|
||||
export default function () {
|
||||
const tableProps = [
|
||||
{ prop: "name", label: "料仓名称" },
|
||||
{ prop: "code", label: "料仓编码" },
|
||||
{ prop: "typeDictValue", label: "料仓类型", filter: dictFind('料仓') },
|
||||
{ prop: "typeDictValue", label: "料仓类型", filter: dictFilter('liangcang') },
|
||||
{ prop: "status", label: "产线状态", subcomponent: StatusComponent }, // subcomponent
|
||||
{ prop: "description", label: "描述" },
|
||||
{ prop: "remark", label: "备注" },
|
||||
|
||||
Reference in New Issue
Block a user