check.js 1.26 KB
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 30 31 32 33 34 35 36 37 38 39 40 41
import JshmodCheck from "~/components/business/jshmod/model/check";

export default function () {
	return {
		...new JshmodCheck(this).check,
		"fcdgrp.apl.pts.extkey": [
			{ required: true, message: "必输项" },
		],
		"fcdgrp.rec.ownref": [
			// {type: "string", required: true, message: "必输项"},
		],
		"aplp.ptsget.sdamod.seainf": [
			{ type: "string", required: false, message: "必输项" },
			{ max: 3, message: "长度不能超过3" }
		],
		"fcdgrp.apl.pts.nam": [
			{ type: "string", required: false, message: "必输项" },
			{ max: 40, message: "长度不能超过40" }
		],
		"fcdgrp.apl.pta.nam1": [
			{ type: "string", required: false, message: "必输项" },
			{ max: 40, message: "长度不能超过40" }
		],
		"fcdgrp.rec.reason": [
			{ type: "string", required: false, message: "必输项" },
			{ max: 40, message: "长度不能超过40" }
		],
		"fcdgrp.rec.extact": [
			{ type: "string", required: false, message: "必输项" },
			{ max: 8, message: "长度不能超过8" }
		],
		"fcdgrp.rec.engact": [
			{ type: "string", required: false, message: "必输项" },
			{ max: 16, message: "长度不能超过16" }
		],
		"cshstm": [
			{ type: "string", required: false, message: "必输项" },
			{ max: 1, message: "长度不能超过1" }
		],
	}
};