export const FORM_DATA: any[] = [
    {
        prop: "orderBillNo",
        placeholder: "请输入收货单号",
        type: "input",
        label: "收货单号：",
        disabled: false,
        required: false
    },
    {
        prop: "orderBillNo",
        placeholder: "请输入销售订单号",
        type: "input",
        label: "销售订单号：",
        disabled: false,
        required: false
    },
    {
        prop: "orderBillNo",
        placeholder: "请输入来源单号",
        type: "input",
        label: "来源单号：",
        disabled: false,
        required: false
    },
    {
        prop: "orderBillNo",
        placeholder: "请选择收货状态",
        type: "select",
        options: [],
        label: "收货状态：",
        disabled: true,
        required: false
    },
    {
        prop: "orderBillNo",
        placeholder: "请输入供应商",
        type: "input",
        label: "供应商",
        disabled: false,
        required: false
    },
    {
        prop: "orderBillNo",
        placeholder: "请选择收货类型",
        type: "select",
        options: [],
        label: "收货类型：",
        disabled: false,
        required: true
    },
    {
        prop: "orderBillNo",
        placeholder: "请选择收货",
        type: "input",
        label: "收货仓库",
        disabled: false,
        required: true
    },
    {
        prop: "orderBillNo",
        placeholder: "请选择收货",
        type: "input",
        label: "子仓库",
        disabled: false,
        required: false
    },
    {
        prop: "orderBillNo",
        placeholder: "请输入组织",
        type: "input",
        label: "组织",
        disabled: false,
        required: true
    }
];

export const RULE_FORM: any = {
    productQty: "",
    materialNumber: "",
    orderBillNo: ""
};
export const FORM_TABLE_DATA = [
    {
        serialNumber: "",
        specifications: "",
        barCode: "",
        materialName: "",
        materialNumber: "",
        isOldData: false
    }
];
//用于增加的时候默认数据
export const FORM_TABLE_DATA_INIT = {
    serialNumber: "",
    specifications: "",
    barCode: "",
    materialName: "",
    materialNumber: "",
    isOldData: false
};
export const FORM_TABLE_COLUMNS = [
    {
        label: "操作",
        prop: "operation",
        disabled: false,
        isHeaderIcon: false,
        fixed: true,
        width: 180
    },
    {
        label: "规格型号",
        prop: "serialNumber",
        disabled: false,
        isHeaderIcon: true,
        formType: "input",
        fixed: true,
        required: true,
        options: []
    },

    {
        label: "物料编码",
        prop: "numberCode",
        formType: "input",
        isHeaderIcon: true,
        required: true,
        fixed: true,
        disabled: false
    },
    {
        label: "物料名称",
        prop: "numberCode",
        formType: "input",
        isHeaderIcon: true,
        required: true,
        fixed: true,
        disabled: false
    },
    {
        label: "应收货数量",
        prop: "numberCode",
        formType: "input",
        isHeaderIcon: true,
        required: true,
        fixed: true,
        disabled: false
    },

    {
        label: "单价",
        prop: "numberCode",
        formType: "input",
        required: false,
        disabled: false
    },
    {
        label: "金额",
        prop: "numberCode",
        formType: "input",
        required: false,
        disabled: false
    },

    {
        label: "含税单价",
        prop: "numberCode",
        formType: "input",
        required: false,
        disabled: false
    },
    {
        label: "价税合计",
        prop: "numberCode",
        formType: "input",
        required: false,
        disabled: false
    },
    {
        label: "订单明细备注",
        prop: "numberCode",
        formType: "input",
        required: false,
        disabled: false
    }
];
