export default {
    rules: {
        businessLicenseImg: [{ required: true, message: "营业执照图片不能为空", trigger: "change" }],
        enterpriseFullName: [{ required: true, message: "企业全称不能为空", trigger: "blur" }],
        enterpriseAbbreviation: [{ required: true, message: "企业简称不能为空", trigger: "blur" }],
        uscCode: [{ required: true, message: "统一社会信用代码不能为空", trigger: "blur" }],
        enterpriseType: [{ required: true, message: "企业类型不能为空", trigger: "change" }],
        establishmentDate: [{ required: true, message: "成立日期不能为空", trigger: "change" }],
        registeredAddress: [{ required: true, message: "注册地址不能为空", trigger: "blur" }],
        businessTermTime: [{ required: true, message: "营业期限不能为空", trigger: "change" }],
        idCardFrontUrl: [{ required: true, message: "身份证正面图片不能为空", trigger: "change" }],
        idCardBackUrl: [{ required: true, message: "身份证背面图片不能为空", trigger: "change" }],
        legalPersonName: [{ required: true, message: "法人姓名不能为空", trigger: "blur" }],
        idCardNumber: [{ required: true, message: "身份证号不能为空", trigger: "blur" }],
        idCardValidTime: [{ required: true, message: "身份证有效期不能为空", trigger: "change" }],
        accountHolderName: [{ required: true, message: "开户人姓名不能为空", trigger: "blur" }],
        bankCardNumber: [{ required: true, message: "银行卡号不能为空", trigger: "blur" }],
        bankName: [{ required: true, message: "开户行名称不能为空", trigger: "blur" }],
        subBranchName: [{ required: true, message: "支行名称不能为空", trigger: "blur" }],
        thirdMerchantId: [{ required: true, message: "收呗的商户 ID不能为空", trigger: "blur" }],
        platformSealUrl: [{ required: true, message: "平台公章不能为空", trigger: "change" }],
        legalPersonSealUrl: [{ required: true, message: "法人印章不能为空", trigger: "change" }],
        contractSigner: [{ required: true, message: "合同签署人不能为空", trigger: "blur" }],
        signerMobile: [
            { required: true, message: "签署人手机号不能为空", trigger: "blur" },
            { min: 11, max: 11, message: "请输入正确的手机号码", trigger: "blur" },
            { pattern: /^1[3-9]\d{9}$/, message: "请输入正确的手机号码", trigger: "blur" }
        ]
    },
};
