{
  "codeName" : "RulesForm",
  "controlType" : "FORM",
  "getCreatePSControlAction" : {
    "modelref" : true,
    "id" : "create"
  },
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSFORMS/RulesForm.json",
  "getGetDraftFromPSControlAction" : {
    "modelref" : true,
    "id" : "loaddraftfrom"
  },
  "getGetDraftPSControlAction" : {
    "modelref" : true,
    "id" : "loaddraft"
  },
  "getGetPSControlAction" : {
    "modelref" : true,
    "id" : "load"
  },
  "hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
  "logicName" : "编辑表单（值规则）",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
  },
  "getPSControlLogics" : [ {
    "eventNames" : "LOAD;SAVE;REMOVE",
    "logicTag" : "form",
    "logicType" : "APPVIEWENGINE",
    "name" : "engine_form",
    "getPSAppViewEngine" : {
      "modelref" : true,
      "id" : "engine"
    }
  } ],
  "getPSDEFormItemVRs" : [ {
    "checkMode" : 3,
    "name" : "表单项值规则",
    "getPSDEFValueRule" : {
      "codeName" : "ValueRule5",
      "name" : "还书时间必须大于借书时间",
      "getPSDEFVRGroupCondition" : {
        "condOp" : "AND",
        "condType" : "GROUP",
        "name" : "默认组",
        "getPSDEFVRConditions" : [ {
          "condOp" : "AND",
          "condType" : "GROUP",
          "name" : "[条件组]AND",
          "getPSDEFVRConditions" : [ {
            "condOp" : "GT",
            "condType" : "SIMPLE",
            "dEFName" : "RETURNTIME",
            "name" : "[常规条件] 大于(>) 数据对象属性(LENDOUTTIM...)",
            "paramType" : "ENTITYFIELD",
            "paramValue" : "LENDOUTTIME",
            "ruleInfo" : "还书时间必须大于借出时间"
          }, {
            "condOp" : "GT",
            "condType" : "SIMPLE",
            "dEFName" : "RETURNTIME",
            "name" : "[常规条件] 大于(>) 当前时间",
            "paramType" : "CURTIME",
            "ruleInfo" : "还书时间必须大于当前时间"
          } ],
          "ruleInfo" : "(还书时间必须大于借出时间 并且 还书时间必须大于当前时间)"
        } ],
        "ruleInfo" : "(还书时间必须大于借出时间 并且 还书时间必须大于当前时间)"
      },
      "ruleInfo" : "(还书时间必须大于借出时间 并且 还书时间必须大于当前时间)",
      "checkDefault" : false,
      "defaultMode" : false,
      "enableBackend" : true,
      "enableFront" : true
    },
    "getPSDEFormItemName" : "returntime",
    "valueRuleType" : "DEFVALUERULE"
  }, {
    "checkMode" : 3,
    "name" : "表单项值规则",
    "getPSDEFValueRule" : {
      "codeName" : "ValueRule3",
      "name" : "类型长度小于6",
      "getPSDEFVRGroupCondition" : {
        "condOp" : "AND",
        "condType" : "GROUP",
        "name" : "默认组",
        "getPSDEFVRConditions" : [ {
          "condType" : "STRINGLENGTH",
          "dEFName" : "TYPE",
          "maxValue" : 6,
          "minValue" : 0,
          "name" : "[字符长度] 大于 0 且  小于等于 6",
          "ruleInfo" : "内容长度必须大于[0]且小于等于[6]",
          "includeMaxValue" : true,
          "includeMinValue" : false
        } ],
        "ruleInfo" : "内容长度必须大于[0]且小于等于[6]"
      },
      "ruleInfo" : "内容长度必须大于[0]且小于等于[6]",
      "checkDefault" : false,
      "defaultMode" : false,
      "enableBackend" : true,
      "enableFront" : true
    },
    "getPSDEFormItemName" : "type",
    "valueRuleType" : "DEFVALUERULE"
  }, {
    "checkMode" : 3,
    "name" : "表单项值规则",
    "getPSDEFormItemName" : "author",
    "getPSSysValueRule" : {
      "codeName" : "Auto6",
      "dynaModelFilePath" : "PSSYSVALUERULES/Auto6.json",
      "name" : "由26个英文字母的大写组成的字符串",
      "regExCode" : "[A-Z]+",
      "ruleInfo" : "内容必须由26个英文字母的大写组成的字符串",
      "ruleType" : "REG",
      "enableBackend" : true,
      "enableFront" : true
    },
    "valueRuleType" : "SYSVALUERULE"
  }, {
    "checkMode" : 3,
    "name" : "表单项值规则",
    "getPSDEFValueRule" : {
      "codeName" : "ValueRule8",
      "name" : "需要大于等于当前时间",
      "getPSDEFVRGroupCondition" : {
        "condOp" : "AND",
        "condType" : "GROUP",
        "name" : "默认组",
        "getPSDEFVRConditions" : [ {
          "condOp" : "GT",
          "condType" : "SIMPLE",
          "dEFName" : "LENDOUTTIME",
          "name" : "[常规条件] 大于(>) 当前时间",
          "paramType" : "CURTIME",
          "ruleInfo" : "需要大于当前时间"
        } ],
        "ruleInfo" : "需要大于当前时间"
      },
      "ruleInfo" : "需要大于当前时间",
      "checkDefault" : false,
      "defaultMode" : false,
      "enableBackend" : true,
      "enableFront" : true
    },
    "getPSDEFormItemName" : "lendouttime",
    "valueRuleType" : "DEFVALUERULE"
  }, {
    "checkMode" : 3,
    "name" : "表单项值规则",
    "getPSDEFValueRule" : {
      "codeName" : "ValueRule7",
      "name" : "文本右包含出版社",
      "getPSDEFVRGroupCondition" : {
        "condOp" : "AND",
        "condType" : "GROUP",
        "name" : "默认组",
        "getPSDEFVRConditions" : [ {
          "condOp" : "RIGHTLIKE",
          "condType" : "SIMPLE",
          "dEFName" : "PRESS",
          "name" : "[常规条件] 文本右包含(#%) (出版社)",
          "paramValue" : "出版社",
          "ruleInfo" : "必须右包含出版社"
        } ],
        "ruleInfo" : "必须右包含出版社"
      },
      "ruleInfo" : "必须右包含出版社",
      "checkDefault" : false,
      "defaultMode" : false,
      "enableBackend" : true,
      "enableFront" : true
    },
    "getPSDEFormItemName" : "press",
    "valueRuleType" : "DEFVALUERULE"
  }, {
    "checkMode" : 3,
    "name" : "表单项值规则",
    "getPSDEFValueRule" : {
      "codeName" : "ValueRule4",
      "name" : "大于0小于100",
      "getPSDEFVRGroupCondition" : {
        "condOp" : "AND",
        "condType" : "GROUP",
        "name" : "默认组",
        "getPSDEFVRConditions" : [ {
          "condType" : "VALUERANGE2",
          "dEFName" : "PRICE",
          "maxValue" : 100.0,
          "minValue" : 0.0,
          "name" : "[数值范围] 大于 0.0 且  小于等于 100.0",
          "ruleInfo" : "数值必须大于[0.0]且小于等于[100.0]",
          "includeMaxValue" : true,
          "includeMinValue" : false
        } ],
        "ruleInfo" : "数值必须大于[0.0]且小于等于[100.0]"
      },
      "ruleInfo" : "数值必须大于[0.0]且小于等于[100.0]",
      "checkDefault" : false,
      "defaultMode" : false,
      "enableBackend" : true,
      "enableFront" : true
    },
    "getPSDEFormItemName" : "price",
    "valueRuleType" : "DEFVALUERULE"
  } ],
  "getPSDEFormItems" : [ {
    "id" : "srfupdatedate",
    "hidden" : true,
    "dataType" : 5,
    "getPSAppDEField" : {
      "name" : "UPDATEDATE",
      "codeName" : "UpdateDate"
    }
  }, {
    "id" : "srforikey",
    "hidden" : true,
    "dataType" : 25
  }, {
    "id" : "srfkey",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZBOOKID",
      "codeName" : "IBIZBOOKId"
    }
  }, {
    "id" : "srfmajortext",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZBOOKNAME",
      "codeName" : "IBIZBOOKName"
    }
  }, {
    "id" : "srftempmode",
    "hidden" : true,
    "dataType" : 25
  }, {
    "id" : "srfuf",
    "hidden" : true,
    "dataType" : 25
  }, {
    "id" : "srfdeid",
    "hidden" : true,
    "dataType" : 25
  }, {
    "id" : "srfsourcekey",
    "hidden" : true,
    "dataType" : 25
  }, {
    "id" : "ibizbookname",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZBOOKNAME",
      "codeName" : "IBIZBOOKName"
    }
  }, {
    "id" : "author",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "AUTHOR",
      "codeName" : "Author"
    }
  }, {
    "id" : "ibizbookid",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZBOOKID",
      "codeName" : "IBIZBOOKId"
    }
  }, {
    "id" : "price",
    "dataType" : 7,
    "getPSAppDEField" : {
      "name" : "PRICE",
      "codeName" : "Price"
    }
  }, {
    "id" : "type",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "TYPE",
      "codeName" : "Type"
    }
  }, {
    "id" : "press",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "PRESS",
      "codeName" : "Press"
    }
  }, {
    "id" : "lendouttime",
    "dataType" : 5,
    "getPSAppDEField" : {
      "name" : "LENDOUTTIME",
      "codeName" : "Lendouttime"
    }
  }, {
    "id" : "returntime",
    "dataType" : 5,
    "getPSAppDEField" : {
      "name" : "RETURNTIME",
      "codeName" : "Returntime"
    }
  } ],
  "getPSDEFormPages" : [ {
    "getCapPSLanguageRes" : {
      "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.FORMPAGE.FORMPAGE1"
    },
    "caption" : "基本信息",
    "codeName" : "formpage1",
    "detailStyle" : "DEFAULT",
    "detailType" : "FORMPAGE",
    "name" : "formpage1",
    "getPSDEFormDetails" : [ {
      "actionGroupExtractMode" : "ITEM",
      "getCapPSLanguageRes" : {
        "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.MAIN.GROUPPANEL.GROUP1"
      },
      "caption" : "系统值规则",
      "codeName" : "group1",
      "detailStyle" : "DEFAULT",
      "detailType" : "GROUPPANEL",
      "name" : "group1",
      "getPSDEFormDetails" : [ {
        "getCapPSLanguageRes" : {
          "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.RULESFORM.FORMITEM.IBIZBOOKNAME"
        },
        "caption" : "非空",
        "codeName" : "ibizbookname",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "name" : "ibizbookname",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "IBIZBOOKNAME",
          "codeName" : "IBIZBOOKName"
        },
        "getPSEditor" : {
          "editorType" : "TEXTBOX",
          "maxLength" : 200,
          "name" : "ibizbookname"
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 12,
          "colSM" : 12,
          "colXS" : 12,
          "layout" : "TABLE_24COL"
        },
        "allowEmpty" : false,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.RULESFORM.FORMITEM.AUTHOR"
        },
        "caption" : "包含大写字母",
        "codeName" : "author",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "name" : "author",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "AUTHOR",
          "codeName" : "Author"
        },
        "getPSEditor" : {
          "editorType" : "TEXTBOX",
          "maxLength" : 100,
          "name" : "author"
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 12,
          "colSM" : 12,
          "colXS" : 12,
          "layout" : "TABLE_24COL"
        },
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.IBIZBOOKID"
        },
        "caption" : "图书标识",
        "codeName" : "ibizbookid",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "name" : "ibizbookid",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "IBIZBOOKID",
          "codeName" : "IBIZBOOKId"
        },
        "getPSEditor" : {
          "editorType" : "HIDDEN",
          "name" : "ibizbookid"
        },
        "getPSLayoutPos" : {
          "colMD" : 24,
          "layout" : "TABLE_24COL"
        },
        "allowEmpty" : true,
        "hidden" : true,
        "showCaption" : true
      } ],
      "getPSLayout" : {
        "columnCount" : 24,
        "layout" : "TABLE_24COL"
      },
      "getPSLayoutPos" : {
        "colMD" : 24,
        "layout" : "TABLE_24COL"
      },
      "infoGroupMode" : false,
      "showCaption" : true
    }, {
      "actionGroupExtractMode" : "ITEM",
      "getCapPSLanguageRes" : {
        "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.RULESFORM.GROUPPANEL.GROUPPANEL1"
      },
      "caption" : "属性值规则",
      "codeName" : "grouppanel1",
      "detailStyle" : "DEFAULT",
      "detailType" : "GROUPPANEL",
      "name" : "grouppanel1",
      "getPSDEFormDetails" : [ {
        "getCapPSLanguageRes" : {
          "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.RULESFORM.FORMITEM.PRICE"
        },
        "caption" : "数值范围",
        "codeName" : "price",
        "dataType" : 7,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "name" : "price",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "PRICE",
          "codeName" : "Price"
        },
        "getPSEditor" : {
          "editorType" : "NUMBER",
          "name" : "price",
          "precision" : 2
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 12,
          "colSM" : 12,
          "colXS" : 12,
          "layout" : "TABLE_24COL"
        },
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.RULESFORM.FORMITEM.TYPE"
        },
        "caption" : "字符长度",
        "codeName" : "type",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 3,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "name" : "type",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "TYPE",
          "codeName" : "Type"
        },
        "getPSEditor" : {
          "editorType" : "TEXTBOX",
          "maxLength" : 100,
          "name" : "type"
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 12,
          "colSM" : 12,
          "colXS" : 12,
          "layout" : "TABLE_24COL"
        },
        "allowEmpty" : true,
        "convertToCodeItemText" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.RULESFORM.FORMITEM.PRESS"
        },
        "caption" : "右包含",
        "codeName" : "press",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "name" : "press",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "PRESS",
          "codeName" : "Press"
        },
        "getPSEditor" : {
          "editorType" : "TEXTBOX",
          "maxLength" : 100,
          "name" : "press"
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 12,
          "colSM" : 12,
          "colXS" : 12,
          "layout" : "TABLE_24COL"
        },
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.RULESFORM.FORMITEM.LENDOUTTIME"
        },
        "caption" : "大于当前时间",
        "codeName" : "lendouttime",
        "dataType" : 5,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "itemWidth" : 230.0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "name" : "lendouttime",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "LENDOUTTIME",
          "codeName" : "Lendouttime"
        },
        "getPSEditor" : {
          "dateTimeFormat" : "YYYY-MM-DD",
          "editorParams" : {
            "TIMEFMT" : "YYYY-MM-DD"
          },
          "editorType" : "DATEPICKEREX_NOTIME",
          "editorWidth" : 100.0,
          "name" : "lendouttime"
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 12,
          "colSM" : 12,
          "colXS" : 12,
          "layout" : "TABLE_24COL"
        },
        "valueFormat" : "YYYY-MM-DD",
        "allowEmpty" : false,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "CONTROL.DEFORM.IBIZBOOK.RULESFORM.FORMITEM.RETURNTIME"
        },
        "caption" : "规则组",
        "codeName" : "returntime",
        "dataType" : 5,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "itemWidth" : 230.0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "name" : "returntime",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "RETURNTIME",
          "codeName" : "Returntime"
        },
        "getPSEditor" : {
          "dateTimeFormat" : "YYYY-MM-DD",
          "editorParams" : {
            "TIMEFMT" : "YYYY-MM-DD"
          },
          "editorType" : "DATEPICKEREX_NOTIME",
          "editorWidth" : 100.0,
          "name" : "returntime"
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 12,
          "colSM" : 12,
          "colXS" : 12,
          "layout" : "TABLE_24COL"
        },
        "valueFormat" : "YYYY-MM-DD",
        "allowEmpty" : false,
        "showCaption" : true
      } ],
      "getPSLayout" : {
        "columnCount" : 24,
        "layout" : "TABLE_24COL"
      },
      "getPSLayoutPos" : {
        "colMD" : 24,
        "layout" : "TABLE_24COL"
      },
      "infoGroupMode" : false,
      "showCaption" : true
    } ],
    "getPSLayout" : {
      "columnCount" : 24,
      "layout" : "TABLE_24COL"
    },
    "infoGroupMode" : false
  } ],
  "getPSLayout" : {
    "columnCount" : 24,
    "layout" : "TABLE_24COL"
  },
  "getRemovePSControlAction" : {
    "modelref" : true,
    "id" : "remove"
  },
  "tabHeaderPos" : "TOP",
  "getUpdatePSControlAction" : {
    "modelref" : true,
    "id" : "update"
  },
  "noTabHeader" : true,
  "modelid" : "1a11b33e53ecceb2f643372361c99aee",
  "modeltype" : "PSDEFORM_EDITFORM"
}