|
@@ -47,16 +47,60 @@ 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: "materialName", title: "物料名称" },
|
|
|
+ item: {
|
|
|
+ key: "code",
|
|
|
+ title: "单据编码",
|
|
|
+ },
|
|
|
attr: {
|
|
|
- is: "el-popover-select-v2",
|
|
|
- referName: "MATERIAL_PARAM",
|
|
|
- valueKey: "name",
|
|
|
- clearable:true,
|
|
|
- dataMapping: {
|
|
|
- materialCode: "code",
|
|
|
- },
|
|
|
+ clearable: true,
|
|
|
+ is: "el-input",
|
|
|
},
|
|
|
},
|
|
|
{
|
|
@@ -67,28 +111,44 @@ export default function useColumns() {
|
|
|
clearable: true,
|
|
|
},
|
|
|
},
|
|
|
- {
|
|
|
- item: {
|
|
|
- key: "code",
|
|
|
- title: "单据编码",
|
|
|
- },
|
|
|
- attr: {
|
|
|
- clearable: true,
|
|
|
- is: "el-input",
|
|
|
- },
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // item: {
|
|
|
+ // key: "classifys",
|
|
|
+ // title: "物料分类",
|
|
|
+ // },
|
|
|
+ // attr: {
|
|
|
+ // is: "el-popover-multiple-tree-select",
|
|
|
+ // referName: "MATERIALCLASSIFY_PARAM",
|
|
|
+ // valueKey: "id",
|
|
|
+ // clearable:true,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
// {
|
|
|
// item:{
|
|
|
- // key: "puPersonnelIdName",
|
|
|
- // title: "采购员",
|
|
|
+ // key: "updateTime",
|
|
|
+ // title: "修改日期",
|
|
|
+ // // span:12,
|
|
|
// },
|
|
|
// attr: {
|
|
|
// clearable:true,
|
|
|
+ // is: "el-date-picker",
|
|
|
+ // type:"daterange",
|
|
|
+ // rangeSeparator:"-",
|
|
|
+ // startPlaceholder:"开始日期",
|
|
|
+ // endPlaceholder:"结束日期",
|
|
|
+ // valueFormat:"yyyy-MM-dd",
|
|
|
+ // },
|
|
|
+ // },
|
|
|
+
|
|
|
+ // {
|
|
|
+ // item: { key: "materialName", title: "物料名称" },
|
|
|
+ // attr: {
|
|
|
// is: "el-popover-select-v2",
|
|
|
- // referName: "CONTACTS_PARAM",
|
|
|
+ // referName: "MATERIAL_PARAM",
|
|
|
// valueKey: "name",
|
|
|
- // dataMapping: {
|
|
|
- // puPersonnelId: "code",
|
|
|
+ // clearable:true,
|
|
|
+ // dataMapping: {
|
|
|
+ // materialCode: "code",
|
|
|
// },
|
|
|
// },
|
|
|
// },
|