check.js 500 Bytes
import Utils from "~/utils"

export default {
  data() {
    return {
      rules: {
        "recpan.begdat": [
          { type: "date", required: true, message: "输入正确的日期" }
        ],
        "recpan.enddat": [
          { type: "date", required: true, message: "输入正确的日期" }
        ],

        "recpan.operator": [
          { type: "string", required: false, message: "必输项" },
          { max: 8, message: "长度不能超过8" }
        ],
      }
    }
  }
}