{
  "codeName" : "OrderTreeGrid",
  "controlType" : "TREEGRIDEX",
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder/PSTREEGRIDICES/OrderTreeGrid.json",
  "hookEventNames" : [ "ROWDBLCLICK", "SELECTIONCHANGE", "REMOVE", "LOAD", "BEFORELOAD" ],
  "logicName" : "树表格",
  "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDER/psdetreegridices/OrderTreeGrid",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
  },
  "getPSControlLogics" : [ {
    "eventNames" : "ROWDBLCLICK;SELECTIONCHANGE;REMOVE;LOAD;BEFORELOAD",
    "logicTag" : "treegridex",
    "logicType" : "APPVIEWENGINE",
    "name" : "engine_treegridex",
    "getPSAppViewEngine" : {
      "modelref" : true,
      "id" : "engine"
    }
  } ],
  "getPSDETreeColumns" : [ {
    "caption" : "名称",
    "codeName" : "name",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "name",
    "mOSFilePath" : "psdetreecols/name",
    "name" : "name",
    "rTMOSFilePath" : "psdetreecols/name",
    "width" : 280,
    "widthUnit" : "px",
    "enableExpand" : false,
    "enableSort" : false
  }, {
    "caption" : "标识",
    "codeName" : "datakey",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "datakey",
    "mOSFilePath" : "psdetreecols/datakey",
    "name" : "datakey",
    "rTMOSFilePath" : "psdetreecols/datakey",
    "width" : 280,
    "widthUnit" : "px",
    "enableExpand" : false,
    "enableSort" : false
  }, {
    "caption" : "更新日期",
    "codeName" : "updatedate",
    "columnType" : "DEFGRIDCOLUMN",
    "dataItemName" : "updatedate",
    "mOSFilePath" : "psdetreecols/updatedate",
    "name" : "updatedate",
    "rTMOSFilePath" : "psdetreecols/updatedate",
    "width" : 280,
    "widthUnit" : "px",
    "enableExpand" : false,
    "enableSort" : false
  } ],
  "getPSDETreeNodeRSs" : [ {
    "getChildPSDETreeNode" : {
      "modelref" : true,
      "id" : "orderDetailData"
    },
    "name" : "订单数据 - 订单明细数据",
    "getParentPSAppDEField" : {
      "name" : "IBIZORDERID",
      "codeName" : "IBIZOrderId"
    },
    "getParentPSDER1N" : {
      "cloneOrder" : 10,
      "codeName" : "IBIZORDER",
      "dERType" : "DER1N",
      "dynaModelFilePath" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail/PSDERS/DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID.json",
      "fKeyName" : "F96BEAA4E35F59F65A",
      "mOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/minorpsders/DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID",
      "getMajorPSDataEntity" : {
        "modelref" : true,
        "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrder.json"
      },
      "masterOrder" : -1,
      "masterRS" : 0,
      "minorCodeName" : "IBIZORDERDETAILS",
      "getMinorPSDataEntity" : {
        "modelref" : true,
        "path" : "PSMODULES/Sample/PSDATAENTITIES/IBIZOrderDetail.json"
      },
      "name" : "DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID",
      "orderValue" : 100,
      "getPSDER1NDEFieldMaps" : [ {
        "getMajorPSDEField" : {
          "name" : "AMOUNT",
          "codeName" : "Amount"
        },
        "mapType" : "SUM",
        "getMinorPSDEField" : {
          "name" : "AMOUNT",
          "codeName" : "Amount"
        },
        "name" : "计算订单合计"
      }, {
        "getMajorPSDEField" : {
          "name" : "DETAILNUM",
          "codeName" : "DetailNum"
        },
        "mapType" : "COUNT",
        "name" : "计算订单明细数"
      } ],
      "getPSPickupDEField" : {
        "name" : "IBIZORDERID",
        "codeName" : "IBIZOrderId"
      },
      "getPSPickupTextDEField" : {
        "name" : "IBIZORDERNAME",
        "codeName" : "IBIZOrderName"
      },
      "pickupDEFName" : "IBIZORDERID",
      "rTMOSFilePath" : "psmodules/Sample/psdataentities/IBIZORDERDETAIL/minorpsders/DER1N_IBIZORDERDETAIL_IBIZORDER_IBIZORDERID",
      "removeActionType" : 3,
      "removeOrder" : 0,
      "cloneRS" : true
    },
    "getParentPSDETreeNode" : {
      "modelref" : true,
      "id" : "orderData"
    },
    "parentValueLevel" : 1,
    "searchMode" : 3
  }, {
    "getChildPSDETreeNode" : {
      "modelref" : true,
      "id" : "orderData"
    },
    "name" : "默认根节点 - 订单数据",
    "getParentPSDETreeNode" : {
      "modelref" : true,
      "id" : "ROOT"
    },
    "parentValueLevel" : 1,
    "searchMode" : 3
  } ],
  "getPSDETreeNodes" : [ {
    "counterMode" : 0,
    "getIdPSAppDEField" : {
      "name" : "IBIZORDERID",
      "codeName" : "IBIZOrderId"
    },
    "maxSize" : -1,
    "name" : "订单数据",
    "nodeType" : "orderData",
    "getPSAppDEDataSet" : {
      "modelref" : true,
      "id" : "FetchDefault"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
    },
    "getPSDETreeNodeDataItems" : [ {
      "cLConvertMode" : "NONE",
      "dataType" : 25,
      "name" : "updatedate",
      "getPSAppDEField" : {
        "name" : "UPDATEDATE",
        "codeName" : "UpdateDate"
      }
    }, {
      "cLConvertMode" : "NONE",
      "dataType" : 25,
      "name" : "name",
      "getPSAppDEField" : {
        "name" : "IBIZORDERNAME",
        "codeName" : "IBIZOrderName"
      }
    }, {
      "cLConvertMode" : "NONE",
      "dataType" : 25,
      "name" : "datakey",
      "getPSAppDEField" : {
        "name" : "ORDERUID",
        "codeName" : "OrderUID"
      }
    } ],
    "getTextPSAppDEField" : {
      "name" : "IBIZORDERNAME",
      "codeName" : "IBIZOrderName"
    },
    "treeNodeType" : "DE",
    "hasPSDETreeNodeRSs" : true,
    "appendPNodeId" : false,
    "disableSelect" : false,
    "enableCheck" : false,
    "enableEditData" : false,
    "enableNewData" : false,
    "enableQuickCreate" : false,
    "enableQuickSearch" : false,
    "enableRemoveData" : false,
    "enableViewData" : false,
    "expandFirstOnly" : false,
    "expanded" : false,
    "rootNode" : false,
    "selectFirstOnly" : false,
    "selected" : false,
    "id" : "orderData"
  }, {
    "counterMode" : 0,
    "name" : "默认根节点",
    "nodeType" : "ROOT",
    "nodeValue" : "root",
    "text" : "默认根节点",
    "treeNodeType" : "STATIC",
    "hasPSDETreeNodeRSs" : true,
    "appendPNodeId" : false,
    "disableSelect" : false,
    "enableCheck" : false,
    "enableEditData" : false,
    "enableNewData" : false,
    "enableQuickCreate" : false,
    "enableQuickSearch" : false,
    "enableRemoveData" : false,
    "enableViewData" : false,
    "expandFirstOnly" : false,
    "expanded" : false,
    "rootNode" : true,
    "selectFirstOnly" : false,
    "selected" : false,
    "id" : "ROOT"
  }, {
    "counterMode" : 0,
    "getIdPSAppDEField" : {
      "name" : "IBIZORDERDETAILID",
      "codeName" : "IBIZOrderDetailId"
    },
    "maxSize" : -1,
    "name" : "订单明细数据",
    "nodeType" : "orderDetailData",
    "getPSAppDEDataSet" : {
      "modelref" : true,
      "id" : "FetchDefault"
    },
    "getPSAppDataEntity" : {
      "modelref" : true,
      "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
    },
    "getPSDETreeNodeDataItems" : [ {
      "cLConvertMode" : "NONE",
      "dataType" : 25,
      "name" : "updatedate",
      "getPSAppDEField" : {
        "name" : "UPDATEDATE",
        "codeName" : "UpdateDate"
      }
    }, {
      "cLConvertMode" : "NONE",
      "dataType" : 25,
      "name" : "name",
      "getPSAppDEField" : {
        "name" : "IBIZORDERDETAILNAME",
        "codeName" : "IBIZOrderDetailName"
      }
    }, {
      "cLConvertMode" : "NONE",
      "dataType" : 25,
      "name" : "datakey",
      "getPSAppDEField" : {
        "name" : "IBIZORDERDETAILID",
        "codeName" : "IBIZOrderDetailId"
      }
    } ],
    "getTextPSAppDEField" : {
      "name" : "IBIZORDERDETAILNAME",
      "codeName" : "IBIZOrderDetailName"
    },
    "treeNodeType" : "DE",
    "hasPSDETreeNodeRSs" : false,
    "appendPNodeId" : false,
    "disableSelect" : false,
    "enableCheck" : false,
    "enableEditData" : false,
    "enableNewData" : false,
    "enableQuickCreate" : false,
    "enableQuickSearch" : false,
    "enableRemoveData" : false,
    "enableViewData" : false,
    "expandFirstOnly" : false,
    "expanded" : false,
    "rootNode" : false,
    "selectFirstOnly" : false,
    "selected" : false,
    "id" : "orderDetailData"
  } ],
  "rTMOSFilePath" : "pssysapps/Web/psappdeviews/IBIZOrderTreeGridExView/psappviewctrls/treegridex",
  "treeGridMode" : 1,
  "enableRootSelect" : false,
  "outputIconDefault" : true,
  "rootVisible" : false,
  "modelid" : "7aba7d0e31fc1df3a27cb7e7f45b608e",
  "modeltype" : "PSDETREEGRIDEX"
}