{
  "codeName" : "SForm",
  "controlType" : "FORM",
  "getCreatePSControlAction" : {
    "modelref" : true,
    "id" : "create"
  },
  "defaultLabelWidth" : 130,
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSFORMS/SForm.json",
  "getGetDraftFromPSControlAction" : {
    "modelref" : true,
    "id" : "loaddraftfrom"
  },
  "getGetDraftPSControlAction" : {
    "modelref" : true,
    "id" : "loaddraft"
  },
  "getGetPSControlAction" : {
    "modelref" : true,
    "id" : "load"
  },
  "hookEventNames" : [ "LOAD", "SAVE", "REMOVE" ],
  "logicName" : "标准表单",
  "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/psdeform_editforms/SForm",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
  },
  "getPSControlLogics" : [ {
    "eventNames" : "LOAD;SAVE;REMOVE",
    "logicTag" : "form",
    "logicType" : "APPVIEWENGINE",
    "name" : "engine_form",
    "getPSAppViewEngine" : {
      "modelref" : true,
      "id" : "engine"
    }
  } ],
  "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" : "IBIZORDERID",
      "codeName" : "IBIZOrderId"
    }
  }, {
    "id" : "srfmajortext",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZORDERNAME",
      "codeName" : "IBIZOrderName"
    }
  }, {
    "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" : "srfip_amount",
    "hidden" : true,
    "dataType" : 25
  }, {
    "id" : "orderuid",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "ORDERUID",
      "codeName" : "OrderUID"
    }
  }, {
    "id" : "ibizordername",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZORDERNAME",
      "codeName" : "IBIZOrderName"
    }
  }, {
    "id" : "ordertime",
    "dataType" : 5,
    "createDVT" : "CURTIME",
    "getPSAppDEField" : {
      "name" : "ORDERTIME",
      "codeName" : "OrderTime"
    }
  }, {
    "id" : "ibizcustomername",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZCUSTOMERNAME",
      "codeName" : "IBIZCustomerName"
    }
  }, {
    "id" : "ordertype",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "ORDERTYPE",
      "codeName" : "OrderType"
    }
  }, {
    "id" : "amount",
    "dataType" : 7,
    "getPSAppDEField" : {
      "name" : "AMOUNT",
      "codeName" : "Amount"
    }
  }, {
    "id" : "detailnum",
    "dataType" : 9,
    "getPSAppDEField" : {
      "name" : "DETAILNUM",
      "codeName" : "DetailNum"
    }
  }, {
    "id" : "orderstate",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "ORDERSTATE",
      "codeName" : "OrderState"
    }
  }, {
    "id" : "ibizorderid",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZORDERID",
      "codeName" : "IBIZOrderId"
    }
  }, {
    "id" : "memo",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "MEMO",
      "codeName" : "Memo"
    }
  }, {
    "id" : "ibizcustomerid",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZCUSTOMERID",
      "codeName" : "IBIZCustomerId"
    }
  } ],
  "getPSDEFormPages" : [ {
    "getCapPSLanguageRes" : {
      "lanResTag" : "CONTROL.DEFORM.IBIZORDER.MAIN.FORMPAGE.FORMPAGE1",
      "mOSFilePath" : "pslanguageres/Auto890",
      "rTMOSFilePath" : "pslanguageres/Auto890"
    },
    "caption" : "基本信息",
    "codeName" : "formpage1",
    "detailStyle" : "DEFAULT",
    "detailType" : "FORMPAGE",
    "mOSFilePath" : "psdeformdetail_formpages/formpage1",
    "name" : "formpage1",
    "getPSDEFormDetails" : [ {
      "actionGroupExtractMode" : "ITEM",
      "getCapPSLanguageRes" : {
        "lanResTag" : "CONTROL.DEFORM.IBIZORDER.MAIN.GROUPPANEL.GROUP1",
        "mOSFilePath" : "pslanguageres/Auto750",
        "rTMOSFilePath" : "pslanguageres/Auto750"
      },
      "caption" : "订单基本信息",
      "codeName" : "group1",
      "detailStyle" : "DEFAULT",
      "detailType" : "GROUPPANEL",
      "mOSFilePath" : "psdeformdetail_grouppanels/group1",
      "name" : "group1",
      "getPSDEFormDetails" : [ {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.ORDERUID",
          "mOSFilePath" : "pslanguageres/Auto526",
          "rTMOSFilePath" : "pslanguageres/Auto526"
        },
        "caption" : "订单编号",
        "codeName" : "orderuid",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/orderuid",
        "name" : "orderuid",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "ORDERUID",
          "codeName" : "OrderUID"
        },
        "getPSEditor" : {
          "editorType" : "TEXTBOX",
          "maxLength" : 100,
          "name" : "orderuid"
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 6,
          "colSM" : 6,
          "colXS" : 6,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/orderuid",
        "allowEmpty" : false,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.IBIZORDERNAME",
          "mOSFilePath" : "pslanguageres/Auto751",
          "rTMOSFilePath" : "pslanguageres/Auto751"
        },
        "caption" : "订单名称",
        "codeName" : "ibizordername",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/ibizordername",
        "name" : "ibizordername",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "IBIZORDERNAME",
          "codeName" : "IBIZOrderName"
        },
        "getPSEditor" : {
          "editorType" : "TEXTBOX",
          "maxLength" : 200,
          "name" : "ibizordername"
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 6,
          "colSM" : 6,
          "colXS" : 6,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/ibizordername",
        "allowEmpty" : false,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.ORDERTIME",
          "mOSFilePath" : "pslanguageres/Auto691",
          "rTMOSFilePath" : "pslanguageres/Auto691"
        },
        "caption" : "订单时间",
        "codeName" : "ordertime",
        "createDVT" : "CURTIME",
        "dataType" : 5,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "itemWidth" : 230.0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/ordertime",
        "name" : "ordertime",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "ORDERTIME",
          "codeName" : "OrderTime"
        },
        "getPSEditor" : {
          "dateTimeFormat" : "YYYY-MM-DD",
          "editorParams" : {
            "TIMEFMT" : "YYYY-MM-DD"
          },
          "editorType" : "DATEPICKEREX_NOTIME",
          "editorWidth" : 100.0,
          "name" : "ordertime"
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 6,
          "colSM" : 6,
          "colXS" : 6,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/ordertime",
        "valueFormat" : "YYYY-MM-DD",
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.IBIZORDER.IBIZCUSTOMERNAME",
          "mOSFilePath" : "pslanguageres/Auto1063",
          "rTMOSFilePath" : "pslanguageres/Auto1063"
        },
        "caption" : "客户名称",
        "codeName" : "ibizcustomername",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/ibizcustomername",
        "name" : "ibizcustomername",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "IBIZCUSTOMERNAME",
          "codeName" : "IBIZCustomerName"
        },
        "getPSEditor" : {
          "editorParams" : {
            "AC" : "TRUE",
            "PICKUPVIEW" : "TRUE"
          },
          "editorType" : "PICKER",
          "handlerType" : "PickupText",
          "name" : "ibizcustomername",
          "getPSAppDEACMode" : {
            "modelref" : true,
            "id" : "Default"
          },
          "getPSAppDEDataSet" : {
            "modelref" : true,
            "id" : "FetchDefault"
          },
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
          },
          "getPickupPSAppView" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerPickupView.json",
            "viewType" : "DEPICKUPVIEW"
          },
          "valueItemName" : "ibizcustomerid",
          "enableAC" : true,
          "enablePickupView" : true,
          "forceSelection" : true,
          "showTrigger" : true,
          "singleSelect" : true
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 6,
          "colSM" : 6,
          "colXS" : 6,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/ibizcustomername",
        "valueItemName" : "ibizcustomerid",
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.ORDERTYPE",
          "mOSFilePath" : "pslanguageres/Auto647",
          "rTMOSFilePath" : "pslanguageres/Auto647"
        },
        "caption" : "订单类型",
        "codeName" : "ordertype",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/ordertype",
        "name" : "ordertype",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "ORDERTYPE",
          "codeName" : "OrderType"
        },
        "getPSEditor" : {
          "editorType" : "DROPDOWNLIST",
          "name" : "ordertype",
          "getPSAppCodeList" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/DYNAORDERTYPE.json"
          },
          "singleSelect" : true
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 6,
          "colSM" : 6,
          "colXS" : 6,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/ordertype",
        "allowEmpty" : true,
        "needCodeListConfig" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.IBIZORDER.AMOUNT",
          "mOSFilePath" : "pslanguageres/Auto1741",
          "rTMOSFilePath" : "pslanguageres/Auto1741"
        },
        "caption" : "总计",
        "codeName" : "amount",
        "dataType" : 7,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/amount",
        "name" : "amount",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "AMOUNT",
          "codeName" : "Amount"
        },
        "getPSEditor" : {
          "editorType" : "TEXTBOX",
          "name" : "amount",
          "precision" : 2
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 6,
          "colSM" : 6,
          "colXS" : 6,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/amount",
        "unitName" : "元",
        "allowEmpty" : true,
        "enableItemPriv" : true,
        "enableUnitName" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.DETAILNUM",
          "mOSFilePath" : "pslanguageres/Auto1317",
          "rTMOSFilePath" : "pslanguageres/Auto1317"
        },
        "caption" : "明细数",
        "codeName" : "detailnum",
        "dataType" : 9,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/detailnum",
        "name" : "detailnum",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "DETAILNUM",
          "codeName" : "DetailNum"
        },
        "getPSEditor" : {
          "editorType" : "SPAN",
          "name" : "detailnum",
          "enableLinkView" : false
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 6,
          "colSM" : 6,
          "colXS" : 6,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/detailnum",
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.ORDERSTATE",
          "mOSFilePath" : "pslanguageres/Auto1017",
          "rTMOSFilePath" : "pslanguageres/Auto1017"
        },
        "caption" : "订单状态",
        "codeName" : "orderstate",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 0,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/orderstate",
        "name" : "orderstate",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "ORDERSTATE",
          "codeName" : "OrderState"
        },
        "getPSEditor" : {
          "editorType" : "DROPDOWNLIST",
          "name" : "orderstate",
          "getPSAppCodeList" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPCODELISTS/ORDERSTATE.json"
          },
          "singleSelect" : true
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 6,
          "colSM" : 6,
          "colXS" : 6,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/orderstate",
        "allowEmpty" : true,
        "needCodeListConfig" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.IBIZORDERID",
          "mOSFilePath" : "pslanguageres/Auto1004",
          "rTMOSFilePath" : "pslanguageres/Auto1004"
        },
        "caption" : "订单标识",
        "codeName" : "ibizorderid",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/ibizorderid",
        "name" : "ibizorderid",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "IBIZORDERID",
          "codeName" : "IBIZOrderId"
        },
        "getPSEditor" : {
          "editorType" : "SPAN",
          "name" : "ibizorderid",
          "enableLinkView" : false
        },
        "getPSLayoutPos" : {
          "colLG" : 12,
          "colMD" : 6,
          "colSM" : 6,
          "colXS" : 6,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/ibizorderid",
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.MEMO",
          "mOSFilePath" : "pslanguageres/Auto269",
          "rTMOSFilePath" : "pslanguageres/Auto269"
        },
        "caption" : "备注",
        "codeName" : "memo",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "itemHeight" : 200.0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/memo",
        "name" : "memo",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "MEMO",
          "codeName" : "Memo"
        },
        "getPSEditor" : {
          "editorHeight" : 200.0,
          "editorParams" : {
            "HEIGHT" : "200"
          },
          "editorType" : "TEXTAREA_10",
          "maxLength" : 2000,
          "name" : "memo",
          "showMaxLength" : true
        },
        "getPSLayoutPos" : {
          "colLG" : 24,
          "colMD" : 6,
          "colSM" : 6,
          "colXS" : 6,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/memo",
        "allowEmpty" : true,
        "showCaption" : true
      } ],
      "getPSLayout" : {
        "childColLG" : -1,
        "childColMD" : 6,
        "childColSM" : 6,
        "childColXS" : 6,
        "columnCount" : 24,
        "layout" : "TABLE_24COL"
      },
      "getPSLayoutPos" : {
        "colMD" : 24,
        "layout" : "TABLE_24COL"
      },
      "rTMOSFilePath" : "psdeformdetail_grouppanels/group1",
      "infoGroupMode" : false,
      "showCaption" : true
    } ],
    "getPSLayout" : {
      "childColLG" : -1,
      "childColMD" : 24,
      "childColSM" : -1,
      "childColXS" : -1,
      "columnCount" : 24,
      "layout" : "TABLE_24COL"
    },
    "rTMOSFilePath" : "psdeformdetail_formpages/formpage1",
    "infoGroupMode" : false
  } ],
  "getPSLayout" : {
    "childColLG" : -1,
    "childColMD" : 24,
    "childColSM" : -1,
    "childColXS" : -1,
    "columnCount" : 24,
    "layout" : "TABLE_24COL"
  },
  "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderSEditView4/psappviewctrls/form",
  "getRemovePSControlAction" : {
    "modelref" : true,
    "id" : "remove"
  },
  "tabHeaderPos" : "TOP",
  "getUpdatePSControlAction" : {
    "modelref" : true,
    "id" : "update"
  },
  "getWFStartPSControlAction" : {
    "modelref" : true,
    "id" : "WFSTART"
  },
  "getWFSubmitPSControlAction" : {
    "modelref" : true,
    "id" : "WFSUBMIT"
  },
  "noTabHeader" : true,
  "modelid" : "d028caa79e01a7fbc4499004a965975c",
  "modeltype" : "PSDEFORM_EDITFORM"
}