nursing_unit_vue/src/views/invoicing/warehouseMaterialInfo/NuWarehouseMaterialCrkInfo....

64 lines
1.8 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: 'cgdId_dictText'
// },
{
title: '库房',
align: "center",
dataIndex: 'nuId_dictText'
},
{
title: '物料',
align: "center",
dataIndex: 'wlId_dictText'
},
{
title: '操作前库存量',
align: "center",
dataIndex: 'czqkcl'
},
{
title: '出入库数量',
align: "center",
dataIndex: 'crkNum'
},
{
title: '当前库存量',
align: "center",
dataIndex: 'dqkcl'
},
{
title: '出入库类型',
align: "center",
dataIndex: 'crkType_dictText'
},
{
title: '备注',
align: "center",
dataIndex: 'content'
},
{
title: '操作时间',
align: "center",
dataIndex: 'createTime'
},
];
// 高级查询数据
export const superQuerySchema = {
cgdId: {title: '采购单',order: 0,view: 'list', type: 'string',dictTable: "nu_invoicing_cgd_main", dictCode: 'id', dictText: 'cgd_no',},
nuId: {title: '库房',order: 1,view: 'list', type: 'string',dictTable: "nu_base_info", dictCode: 'id', dictText: 'nu_name',},
wlId: {title: '物料',order: 2,view: 'list', type: 'string',dictTable: "nu_config_material_info", dictCode: 'id', dictText: 'material_name',},
crkNum: {title: '出入库数量',order: 3,view: 'text', type: 'string',},
crkType: {title: '出入库类型 1入库',order: 4,view: 'list', type: 'string',dictCode: 'crk_type',},
content: {title: '备注',order: 5,view: 'text', type: 'string',},
};