|
@@ -47,52 +47,54 @@ export default function useColumns() {
|
|
|
},
|
|
|
},
|
|
|
},
|
|
|
- // {
|
|
|
- // item:{
|
|
|
- // key: "manufacturerIdName",
|
|
|
- // title: "生产厂家/代理人",
|
|
|
- // },
|
|
|
- // attr:{
|
|
|
- // clearable:true,
|
|
|
- // is: "el-popover-select-v2",
|
|
|
- // valueKey: "name",
|
|
|
- // referName: "MANUFACTURER_PARAM",
|
|
|
- // dataMapping: {
|
|
|
- // manufacturerId: "id",
|
|
|
- // },
|
|
|
- // },
|
|
|
- // },
|
|
|
- // {
|
|
|
- // item:{
|
|
|
- // key: "approverName",
|
|
|
- // title: "申请人",
|
|
|
- // },
|
|
|
- // attr: {
|
|
|
- // clearable:true,
|
|
|
- // is: "el-popover-select-v2",
|
|
|
- // referName: "CONTACTS_PARAM",
|
|
|
- // valueKey: "name",
|
|
|
- // dataMapping: {
|
|
|
- // approver: "code",
|
|
|
- // },
|
|
|
- // },
|
|
|
- // },
|
|
|
- // {
|
|
|
- // item:{
|
|
|
- // key: "applicationTime",
|
|
|
- // title: "申请日期",
|
|
|
- // // span:12,
|
|
|
- // },
|
|
|
- // attr: {
|
|
|
- // clearable:true,
|
|
|
- // is: "el-date-picker",
|
|
|
- // type:"daterange",
|
|
|
- // rangeSeparator:"-",
|
|
|
- // startPlaceholder:"开始日期",
|
|
|
- // endPlaceholder:"结束日期",
|
|
|
- // valueFormat:"yyyy-MM-dd",
|
|
|
- // },
|
|
|
- // },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "manufacturerIdName",
|
|
|
+ title: "生产厂家/代理人",
|
|
|
+ },
|
|
|
+ attr:{
|
|
|
+ clearable:true,
|
|
|
+ is: "el-popover-select-v2",
|
|
|
+ valueKey: "name",
|
|
|
+ referName: "MANUFACTURER_PARAM",
|
|
|
+ dataMapping: {
|
|
|
+ manufacturerId: "id",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ // key: "approverName",
|
|
|
+ key: "createByName",
|
|
|
+ title: "申请人",
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-popover-select-v2",
|
|
|
+ referName: "CONTACTS_PARAM",
|
|
|
+ valueKey: "name",
|
|
|
+ dataMapping: {
|
|
|
+ // approver: "code",
|
|
|
+ createBy: "code",
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "applyTimeArray",
|
|
|
+ title: "申请日期",
|
|
|
+ // span:12,
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-date-picker",
|
|
|
+ type:"daterange",
|
|
|
+ rangeSeparator:"-",
|
|
|
+ startPlaceholder:"开始日期",
|
|
|
+ endPlaceholder:"结束日期",
|
|
|
+ valueFormat:"yyyy-MM-dd",
|
|
|
+ },
|
|
|
+ },
|
|
|
{
|
|
|
item: {
|
|
|
key: "code",
|
|
@@ -111,34 +113,35 @@ export default function useColumns() {
|
|
|
clearable: true,
|
|
|
},
|
|
|
},
|
|
|
- // {
|
|
|
- // item: {
|
|
|
- // key: "classifys",
|
|
|
- // title: "物料分类",
|
|
|
- // },
|
|
|
- // attr: {
|
|
|
- // is: "el-popover-multiple-tree-select",
|
|
|
- // referName: "MATERIALCLASSIFY_PARAM",
|
|
|
- // valueKey: "id",
|
|
|
- // clearable:true,
|
|
|
- // },
|
|
|
- // },
|
|
|
- // {
|
|
|
- // item:{
|
|
|
- // key: "updateTime",
|
|
|
- // title: "修改日期",
|
|
|
- // // span:12,
|
|
|
- // },
|
|
|
- // attr: {
|
|
|
- // clearable:true,
|
|
|
- // is: "el-date-picker",
|
|
|
- // type:"daterange",
|
|
|
- // rangeSeparator:"-",
|
|
|
- // startPlaceholder:"开始日期",
|
|
|
- // endPlaceholder:"结束日期",
|
|
|
- // valueFormat:"yyyy-MM-dd",
|
|
|
- // },
|
|
|
- // },
|
|
|
+ {
|
|
|
+ item: {
|
|
|
+ key: "materialClassifyIds",
|
|
|
+ title: "物料分类",
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ is: "el-popover-multiple-tree-select",
|
|
|
+ // is: "el-popover-tree-select",
|
|
|
+ referName: "MATERIALCLASSIFY_PARAM",
|
|
|
+ valueKey: "id",
|
|
|
+ clearable:true,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ item:{
|
|
|
+ key: "updateTimeArray",
|
|
|
+ title: "修改日期",
|
|
|
+ // span:12,
|
|
|
+ },
|
|
|
+ attr: {
|
|
|
+ clearable:true,
|
|
|
+ is: "el-date-picker",
|
|
|
+ type:"daterange",
|
|
|
+ rangeSeparator:"-",
|
|
|
+ startPlaceholder:"开始日期",
|
|
|
+ endPlaceholder:"结束日期",
|
|
|
+ valueFormat:"yyyy-MM-dd",
|
|
|
+ },
|
|
|
+ },
|
|
|
|
|
|
// {
|
|
|
// item: { key: "materialName", title: "物料名称" },
|