export const FORMDATA: any[] = [
    {
        prop: "orderBillNo",
        placeholder: "请输入采购订单号",
        type: "input",
        label: "订单号：",
        disabled: false,
        required: true,
        maxLength: 32
    },
    {
        prop: "materialNumber",
        placeholder: "规格型号",
        type: "selectRemote",
        label: "规格型号：",
        disabled: false,
        required: true,
        options: []
    },
    {
        prop: "productQty",
        placeholder: "请输入产品数量",
        type: "input",
        label: "产品数量：",
        disabled: false,
        required: true,
        maxLength: 10,
        reg: "integerRexg"
    }
];

export const FORMDATA4: any[] = [
    {
        startProp: "beginNumber",
        endProp: "endNumber",
        startPlaceholder: "请输入数字",
        endPlaceholder: "请输入数字",
        type: "inputs",
        label: "数字序列号区间: ",
        startDisabled: true,
        endDisabled: true,
        required: true,
        reg: "integerRexg",
        class: "form-item2"
    }
];

export const FORMDATA1: any[] = [
    {
        prop: "cratingQty",
        placeholder: "请输入装箱数量",
        type: "input",
        label: "装箱数量：",
        disabled: false,
        maxLength: 10,
        required: true,
        reg: "integerRexg"
    },
    {
        prop: "cratingNetWeightQty",
        type: "input",
        label: "净重：",
        disabled: false,
        isTxt: true,
        maxLength: 5,
        reg: "numberDecimalSeparatorRexg"
    },
    {
        prop: "cratingGrossWeightQty",
        placeholder: "请输入毛重",
        type: "input",
        label: "毛重：",
        disabled: false,
        isTxt: true,
        maxLength: 5,
        reg: "numberDecimalSeparatorRexg"
    }
];
export const FORMDATA2: any[] = [
    {
        prop: "tailboxQty",
        placeholder: "",
        type: "input",
        label: "尾箱数量：",
        disabled: true
    },
    {
        prop: "tailboxNetWeightQty",
        placeholder: "",
        type: "input",
        label: "净重：",
        disabled: true,
        isTxt: true
    },
    {
        prop: "tailboxGrossWeightQty",
        placeholder: "",
        type: "input",
        label: "毛重：",
        disabled: true,
        isTxt: true
    }
];
export const FORMDATA3: any[] = [
    {
        prop: "remark",
        placeholder: "请输入备注",
        type: "textarea",
        label: "备注：",
        disabled: false,
        class: "form-item1"
    }
];
export const RULEFORM: any = {
    billNo: "",
    orderBillNo: "",
    materialNumber: "",
    productQty: 0,
    cratingQty: 0,
    cratingNetWeightQty: 0,
    cratingGrossWeightQty: 0,
    tailboxQty: 0,
    tailboxNetWeightQty: 0,
    tailboxGrossWeightQty: 0,
    remark: ""
};
