check.js 964 Bytes
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
import DftcreCheck from "../../../../components/business/dftcre/model/check.js";
import TrtcreCheck from "../../../../components/business/trtcre/model/check.js";
import GedmodCheck from "../../../../components/business/gedmod/model/check.js";
import RmbbopCheck from "../../../../components/business/rmb/rmbbop/model/check";
import CfabopCheck from "~/components/business/cfa/cfabop/model/check.js";
import BoppayCheck from "../../../../components/business/Boppay/model/check";

export default function () {
  return {
    ...new DftcreCheck(this).check,
    ...new TrtcreCheck(this).check,
    ...new GedmodCheck(this).check,
    ...new RmbbopCheck(this).check,
    ...new CfabopCheck(this).check,
    ...new BoppayCheck(this).check,

    "brdgrp.prb.pts.adrblk": [
      { type: "string", required: true, message: "必输项" },
      { max: 300, message: "长度不能超过300" },
    ],
    "brtp.ischktyp": [{ required: true, message: "必输项" }],
  };
}