check.js 789 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 24 25 26 27 28 29
export default {
	data () {
		return {
			rules: {
				"gidgrp.adv.pts.ref": null,
				"gidgrp.apl.pts.ref": null,
				"gidgrp.ben.pts.ref": null,
				"gidgrp.ctr.pts.ref": null,

				"gidgrp.apl.pts.ref": [
					{ type: "string", required: false, message: "必输项" },
					{ max: 16, message: "长度不能超过16" }
				],
				"gidgrp.adv.pts.ref": [
					{ type: "string", required: false, message: "必输项" },
					{ max: 16, message: "长度不能超过16" }
				],
				"gidgrp.ben.pts.ref": [
					{ type: "string", required: false, message: "必输项" },
					{ max: 16, message: "长度不能超过16" }
				],
				"gidgrp.ctr.pts.ref": [
					{ type: "string", required: false, message: "必输项" },
					{ max: 16, message: "长度不能超过16" }
				],
			}
		}
	}
}