{
  "codeName" : "UI_0007",
  "controlType" : "FORM",
  "getCreatePSControlAction" : {
    "modelref" : true,
    "id" : "create"
  },
  "defaultLabelWidth" : 130,
  "dynaModelFilePath" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail/PSFORMS/UI_0007.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/IBIZORDERDETAIL/psdeform_editforms/UI_0007",
  "getPSAppDataEntity" : {
    "modelref" : true,
    "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrderDetail.json"
  },
  "getPSControlLogics" : [ {
    "eventNames" : "LOAD;SAVE;REMOVE",
    "logicTag" : "form",
    "logicType" : "APPVIEWENGINE",
    "name" : "engine_form",
    "getPSAppViewEngine" : {
      "modelref" : true,
      "id" : "engine"
    }
  } ],
  "getPSDEFormItemUpdates" : [ {
    "codeName" : "GetUnitAndPrice",
    "mOSFilePath" : "psdefiupdates/GetUnitAndPrice",
    "name" : "获取产品数量和单价",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "GetUnitAndPrice"
    },
    "getPSDEFIUpdateDetails" : [ {
      "name" : "unit"
    }, {
      "name" : "unitprice"
    } ],
    "rTMOSFilePath" : "psdefiupdates/GetUnitAndPrice"
  }, {
    "codeName" : "CountMoney",
    "mOSFilePath" : "psdefiupdates/CountMoney",
    "name" : "统计金额",
    "getPSAppDEMethod" : {
      "modelref" : true,
      "id" : "CountMoney"
    },
    "getPSDEFIUpdateDetails" : [ {
      "name" : "amount"
    } ],
    "rTMOSFilePath" : "psdefiupdates/CountMoney"
  } ],
  "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" : "IBIZORDERDETAILID",
      "codeName" : "IBIZOrderDetailId"
    }
  }, {
    "id" : "srfmajortext",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZORDERDETAILNAME",
      "codeName" : "IBIZOrderDetailName"
    }
  }, {
    "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" : "ibizuniproductname",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZUNIPRODUCTNAME",
      "codeName" : "IBIZUNIProductName"
    }
  }, {
    "id" : "quantity",
    "dataType" : 9,
    "getPSAppDEField" : {
      "name" : "QUANTITY",
      "codeName" : "Quantity"
    }
  }, {
    "id" : "ibizorderdetailname",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZORDERDETAILNAME",
      "codeName" : "IBIZOrderDetailName"
    }
  }, {
    "id" : "ibizorderdetailid",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZORDERDETAILID",
      "codeName" : "IBIZOrderDetailId"
    }
  }, {
    "id" : "orderuid",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "ORDERUID",
      "codeName" : "OrderUID"
    }
  }, {
    "id" : "ibizorderid",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZORDERID",
      "codeName" : "IBIZOrderId"
    }
  }, {
    "id" : "ibizordername",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZORDERNAME",
      "codeName" : "IBIZOrderName"
    }
  }, {
    "id" : "amount",
    "dataType" : 7,
    "getPSAppDEField" : {
      "name" : "AMOUNT",
      "codeName" : "Amount"
    }
  }, {
    "id" : "unit",
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "UNIT",
      "codeName" : "Unit"
    }
  }, {
    "id" : "unitprice",
    "dataType" : 7,
    "getPSAppDEField" : {
      "name" : "UNITPRICE",
      "codeName" : "UnitPrice"
    }
  }, {
    "id" : "ibizuniproductid",
    "hidden" : true,
    "dataType" : 25,
    "getPSAppDEField" : {
      "name" : "IBIZUNIPRODUCTID",
      "codeName" : "IBIZUNIProductId"
    }
  } ],
  "getPSDEFormPages" : [ {
    "getCapPSLanguageRes" : {
      "lanResTag" : "CONTROL.DEFORM.IBIZORDERDETAIL.MAIN.FORMPAGE.FORMPAGE1",
      "mOSFilePath" : "pslanguageres/Auto452",
      "rTMOSFilePath" : "pslanguageres/Auto452"
    },
    "caption" : "基本信息",
    "codeName" : "formpage1",
    "detailStyle" : "DEFAULT",
    "detailType" : "FORMPAGE",
    "mOSFilePath" : "psdeformdetail_formpages/formpage1",
    "name" : "formpage1",
    "getPSDEFormDetails" : [ {
      "actionGroupExtractMode" : "ITEM",
      "getCapPSLanguageRes" : {
        "lanResTag" : "CONTROL.DEFORM.IBIZORDERDETAIL.MAIN.GROUPPANEL.GROUP1",
        "mOSFilePath" : "pslanguageres/Auto356",
        "rTMOSFilePath" : "pslanguageres/Auto356"
      },
      "caption" : "订单明细基本信息",
      "codeName" : "group1",
      "detailStyle" : "DEFAULT",
      "detailType" : "GROUPPANEL",
      "mOSFilePath" : "psdeformdetail_grouppanels/group1",
      "name" : "group1",
      "getPSDEFormDetails" : [ {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.IBIZORDERDETAIL.IBIZUNIPRODUCTNAME",
          "mOSFilePath" : "pslanguageres/Auto924",
          "rTMOSFilePath" : "pslanguageres/Auto924"
        },
        "caption" : "产品名称",
        "codeName" : "ibizuniproductname",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/ibizuniproductname",
        "name" : "ibizuniproductname",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "IBIZUNIPRODUCTNAME",
          "codeName" : "IBIZUNIProductName"
        },
        "getPSDEFormItemUpdate" : {
          "modelref" : true,
          "id" : "GetUnitAndPrice"
        },
        "getPSEditor" : {
          "editorParams" : {
            "AC" : "TRUE",
            "PICKUPVIEW" : "TRUE"
          },
          "editorType" : "PICKER",
          "handlerType" : "PickupText",
          "name" : "ibizuniproductname",
          "getPSAppDEACMode" : {
            "modelref" : true,
            "id" : "Default"
          },
          "getPSAppDEDataSet" : {
            "modelref" : true,
            "id" : "FetchDefault"
          },
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZUNIProduct.json"
          },
          "getPickupPSAppView" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZUNIProductPickupView.json",
            "viewType" : "DEPICKUPVIEW"
          },
          "valueItemName" : "ibizuniproductid",
          "enableAC" : true,
          "enablePickupView" : true,
          "forceSelection" : true,
          "showTrigger" : true,
          "singleSelect" : true
        },
        "getPSLayoutPos" : {
          "colMD" : 4,
          "colSM" : 4,
          "colXS" : 4,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/ibizuniproductname",
        "valueItemName" : "ibizuniproductid",
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.QUANTITY",
          "mOSFilePath" : "pslanguageres/Auto1126",
          "rTMOSFilePath" : "pslanguageres/Auto1126"
        },
        "caption" : "数量",
        "codeName" : "quantity",
        "dataType" : 9,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/quantity",
        "name" : "quantity",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "QUANTITY",
          "codeName" : "Quantity"
        },
        "getPSDEFormItemUpdate" : {
          "modelref" : true,
          "id" : "CountMoney"
        },
        "getPSEditor" : {
          "editorType" : "TEXTBOX",
          "name" : "quantity"
        },
        "getPSLayoutPos" : {
          "colMD" : 4,
          "colSM" : 4,
          "colXS" : 4,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/quantity",
        "resetItemName" : "IBIZuniproductname",
        "resetItemNames" : [ "IBIZuniproductname" ],
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.IBIZORDERDETAILNAME",
          "mOSFilePath" : "pslanguageres/Auto697",
          "rTMOSFilePath" : "pslanguageres/Auto697"
        },
        "caption" : "订单明细名称",
        "codeName" : "ibizorderdetailname",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/ibizorderdetailname",
        "name" : "ibizorderdetailname",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "IBIZORDERDETAILNAME",
          "codeName" : "IBIZOrderDetailName"
        },
        "getPSEditor" : {
          "editorType" : "TEXTBOX",
          "maxLength" : 200,
          "name" : "ibizorderdetailname"
        },
        "getPSLayoutPos" : {
          "colMD" : 4,
          "colSM" : 4,
          "colXS" : 4,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/ibizorderdetailname",
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.IBIZORDERDETAILID",
          "mOSFilePath" : "pslanguageres/Auto426",
          "rTMOSFilePath" : "pslanguageres/Auto426"
        },
        "caption" : "订单明细标识",
        "codeName" : "ibizorderdetailid",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/ibizorderdetailid",
        "name" : "ibizorderdetailid",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "IBIZORDERDETAILID",
          "codeName" : "IBIZOrderDetailId"
        },
        "getPSEditor" : {
          "editorType" : "HIDDEN",
          "name" : "ibizorderdetailid"
        },
        "getPSLayoutPos" : {
          "colMD" : 4,
          "colSM" : 4,
          "colXS" : 4,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/ibizorderdetailid",
        "allowEmpty" : true,
        "hidden" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.IBIZORDERDETAIL.ORDERUID",
          "mOSFilePath" : "pslanguageres/Auto299",
          "rTMOSFilePath" : "pslanguageres/Auto299"
        },
        "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" : "SPAN",
          "name" : "orderuid",
          "enableLinkView" : false
        },
        "getPSLayoutPos" : {
          "colMD" : 4,
          "colSM" : 4,
          "colXS" : 4,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/orderuid",
        "allowEmpty" : 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" : "HIDDEN",
          "name" : "ibizorderid"
        },
        "getPSLayoutPos" : {
          "colMD" : 4,
          "colSM" : 4,
          "colXS" : 4,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/ibizorderid",
        "allowEmpty" : true,
        "hidden" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.IBIZORDERDETAIL.IBIZORDERNAME",
          "mOSFilePath" : "pslanguageres/Auto1651",
          "rTMOSFilePath" : "pslanguageres/Auto1651"
        },
        "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" : {
          "editorParams" : {
            "AC" : "TRUE",
            "PICKUPVIEW" : "TRUE"
          },
          "editorType" : "PICKER",
          "handlerType" : "PickupText",
          "name" : "ibizordername",
          "getPSAppDEACMode" : {
            "modelref" : true,
            "id" : "Default"
          },
          "getPSAppDEDataSet" : {
            "modelref" : true,
            "id" : "FetchDefault"
          },
          "getPSAppDataEntity" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZOrder.json"
          },
          "getPickupPSAppView" : {
            "modelref" : true,
            "path" : "PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderPickupView.json",
            "viewType" : "DEPICKUPVIEW"
          },
          "valueItemName" : "ibizorderid",
          "enableAC" : true,
          "enablePickupView" : true,
          "forceSelection" : true,
          "showTrigger" : true,
          "singleSelect" : true
        },
        "getPSLayoutPos" : {
          "colMD" : 4,
          "colSM" : 4,
          "colXS" : 4,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/ibizordername",
        "valueItemName" : "ibizorderid",
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.AMOUNT",
          "mOSFilePath" : "pslanguageres/Auto1494",
          "rTMOSFilePath" : "pslanguageres/Auto1494"
        },
        "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" : "SPAN",
          "name" : "amount",
          "enableLinkView" : false
        },
        "getPSLayoutPos" : {
          "colMD" : 4,
          "colSM" : 4,
          "colXS" : 4,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/amount",
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.UNIT",
          "mOSFilePath" : "pslanguageres/Auto32",
          "rTMOSFilePath" : "pslanguageres/Auto32"
        },
        "caption" : "单位",
        "codeName" : "unit",
        "dataType" : 25,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/unit",
        "name" : "unit",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "UNIT",
          "codeName" : "Unit"
        },
        "getPSEditor" : {
          "editorType" : "SPAN",
          "name" : "unit",
          "enableLinkView" : false
        },
        "getPSLayoutPos" : {
          "colMD" : 4,
          "colSM" : 4,
          "colXS" : 4,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/unit",
        "allowEmpty" : true,
        "showCaption" : true
      }, {
        "getCapPSLanguageRes" : {
          "lanResTag" : "DEF.LNAME.UNITPRICE",
          "mOSFilePath" : "pslanguageres/Auto937",
          "rTMOSFilePath" : "pslanguageres/Auto937"
        },
        "caption" : "单价",
        "codeName" : "unitprice",
        "dataType" : 7,
        "detailStyle" : "DEFAULT",
        "detailType" : "FORMITEM",
        "enableCond" : 3,
        "ignoreInput" : 0,
        "labelPos" : "LEFT",
        "labelWidth" : 130,
        "mOSFilePath" : "psdeformdetail_formitems/unitprice",
        "name" : "unitprice",
        "noPrivDisplayMode" : 1,
        "getPSAppDEField" : {
          "name" : "UNITPRICE",
          "codeName" : "UnitPrice"
        },
        "getPSEditor" : {
          "editorType" : "SPAN",
          "name" : "unitprice",
          "precision" : 2,
          "enableLinkView" : false
        },
        "getPSLayoutPos" : {
          "colMD" : 4,
          "colSM" : 4,
          "colXS" : 4,
          "layout" : "TABLE_24COL"
        },
        "rTMOSFilePath" : "psdeformdetail_formitems/unitprice",
        "allowEmpty" : true,
        "showCaption" : true
      } ],
      "getPSLayout" : {
        "childColLG" : -1,
        "childColMD" : 4,
        "childColSM" : 4,
        "childColXS" : 4,
        "columnCount" : 24,
        "layout" : "TABLE_24COL"
      },
      "getPSLayoutPos" : {
        "colMD" : 24,
        "layout" : "TABLE_24COL"
      },
      "rTMOSFilePath" : "psdeformdetail_grouppanels/group1",
      "infoGroupMode" : false,
      "showCaption" : false
    } ],
    "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/IBIZOrderDetailSEditView9/psappviewctrls/form",
  "getRemovePSControlAction" : {
    "modelref" : true,
    "id" : "remove"
  },
  "tabHeaderPos" : "TOP",
  "getUpdatePSControlAction" : {
    "modelref" : true,
    "id" : "update"
  },
  "noTabHeader" : true,
  "modelid" : "c1446ca0e8a2d3fb39698fbe34af031c",
  "modeltype" : "PSDEFORM_EDITFORM"
}