62 lines
1.6 KiB
TypeScript
62 lines
1.6 KiB
TypeScript
|
|
import {BasicColumn} from '/@/components/Table';
|
||
|
|
import {FormSchema} from '/@/components/Table';
|
||
|
|
import { rules} from '/@/utils/helper/validator';
|
||
|
|
import { render } from '/@/utils/common/renderUtils';
|
||
|
|
import { getWeekMonthQuarterYear } from '/@/utils';
|
||
|
|
//列表数据
|
||
|
|
export const columns: BasicColumn[] = [
|
||
|
|
{
|
||
|
|
title: '库房',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'nuId_dictText'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '物料',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'wlId_dictText'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '物料编码',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'materialNo'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '规格型号',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'specificationModel'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '物料上限',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'upperLimit',
|
||
|
|
width: 100
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '物料下限',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'lowerLimit',
|
||
|
|
width: 100
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '库存数量',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'kcsl',
|
||
|
|
width: 100
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '是否启用',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'izEnabled_dictText',
|
||
|
|
width: 100
|
||
|
|
},
|
||
|
|
];
|
||
|
|
|
||
|
|
// 高级查询数据
|
||
|
|
export const superQuerySchema = {
|
||
|
|
nuId: {title: '库房',order: 0,view: 'list', type: 'string',dictTable: "nu_base_info", dictCode: 'nu_id', dictText: 'nu_name',},
|
||
|
|
wlId: {title: '物料',order: 1,view: 'list_multi', type: 'string',dictTable: "nu_config_material_info", dictCode: 'id', dictText: 'material_name',},
|
||
|
|
upperLimit: {title: '物料上限',order: 2,view: 'text', type: 'string',},
|
||
|
|
lowerLimit: {title: '物料下限',order: 3,view: 'text', type: 'string',},
|
||
|
|
kcsl: {title: '库存数量',order: 4,view: 'text', type: 'string',},
|
||
|
|
};
|