checkother.js 513 Bytes
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
import CommonCheck from './check.js';

export default function () {
  return {
    ...CommonCheck.apply(this),
    //清算编号
    "cpdgrp.rec.sysno": [
      { type: "string", required: true, message: "必输项" },
      { max: 21, message: "长度不能超过21" }
    ],
    //解付日期
    "cpdgrp.rec.paydat": [
      { type: "string", required: true, message: "输入正确的日期" }
    ],
    "cpdgrp.rec.detchgcod": [
      { type: "string", required: true, message: "必输项" },
    ],
  }
}