{
  "rules": {
    "msId": [
      {
        "required": false,
        "isAdd": false,
        "isEdit": false
      },
      {

      }
    ],
    "supplierCoupon": [
      {
        "type": "number",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 0,
        "max": 10,
        "message": "【{supplier_coupon}】值必须是数字。"
      },
      {
        "type": "max",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 0,
        "max": 10000,
        "message": "【{supplier_coupon}】最大值{1}元。"
      },
      {
        "type": "min",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 0,
        "max": 10000,
        "message": "【{supplier_coupon}】最小值{0}元。"
      }
    ],
    "supplierDiscount": [
      {
        "type": "number",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 0,
        "max": 10,
        "message": "【{supplier_discount}】值必须是数字。"
      },
      {
        "type": "max",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 0,
        "max": 10,
        "message": "【{supplier_discount}】最大值{1}折。"
      },
      {
        "type": "min",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 0,
        "max": 10,
        "message": "【{supplier_discount}】最小值{0}折。"
      }
    ],
    "settleLastDay": [
      {
        "type": "digits",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 0,
        "max": 1000,
        "message": "【{settle_last_day}】值必须是整数。"
      },
      {
        "type": "max",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 0,
        "max": 1000,
        "message": "【{settle_last_day}】最大值{1}天。"
      },
      {
        "type": "min",
        "required": false,
        "isAdd": true,
        "isEdit": true,
        "min": 0,
        "max": 1000,
        "message": "【{settle_last_day}】最小值{0}天。"
      }
    ]
  }
}
文档更新时间: 2022-01-25 11:35   作者:admin