// import { RenderScope } from "@/components/ProTable/interface";
export const COLUMNS = [
    { type: "selection", fixed: "left", width: 40 },
    {
        align: "left",
        fixed: true,
        label: "规格型号",
        prop: "specifications",
        width: 260
    },
    {
        align: "left",
        label: "采购订单号",
        prop: "purchaseBillNo",
        width: 330
    },
    {
        align: "left",
        label: "物料名称",
        prop: "materialName",
        width: 200
    },
    {
        align: "left",
        label: "物料编码",
        prop: "materialNumber",
        width: 200
    },
    {
        align: "left",
        label: "生成状态",
        prop: "generateComplete",
        width: 80
        // render: (scope: RenderScope<any>): VNode | string | any => {
        //     return scope.row.generateComplete == 1 ? "已完成" : "生成中";
        // }
    },
    {
        align: "left",
        label: "生成数",
        prop: "number",
        width: 70
    },
    {
        align: "left",
        label: "已打印条码数",
        prop: "printNumber",
        width: 100
    },
    {
        align: "left",
        label: "已下载条码数",
        prop: "downLoadNumber",
        width: 100
    },
    {
        align: "left",
        label: "已使用条码数",
        prop: "useNumber",
        width: 100
    },
    {
        align: "left",
        label: "生成时间",
        prop: "generateCompleteTime", //generateCompleteTime
        width: 160
    },
    {
        align: "left",
        label: "生成人",
        prop: "creator",
        width: 120
    },
    {
        align: "left",
        label: "供应商/组织",
        prop: "supplierOrOrg",
        width: 200
    },

    { prop: "operation", label: "操作", fixed: "right", width: 120 }
];
