예제 #1
0
 //**************************************************构造函数*************************************************************
 public OrderConfirmFeeViewModel(OrConfirm orfirm, XapFormControl xapFormControl)
 {
     this.xapFormControl = xapFormControl;
     maintainService     = XapServiceMgr.find <ICiOrdMaintainService>();
     freqservice         = XapServiceMgr.find <IFreqdefMDOCrudService>();
     qryservice          = XapServiceMgr.find <ICiOrdQryService>();
     ordservice          = XapServiceMgr.find <ICiorderMDOCrudService>();
     AddFeeDTOList       = new XapDataList <AddFeeDTO>();
     GetFeeList(orfirm);
 }
예제 #2
0
 //**************************************************构造函数*************************************************************
 public OrderConfirmViewModel(string idorg)
 {
     ordService      = XapServiceMgr.find <ICiorderMDOCrudService>();
     maintainService = XapServiceMgr.find <ICiOrdMaintainService>();
     freqservice     = XapServiceMgr.find <IFreqdefMDOCrudService>();
     qryservice      = XapServiceMgr.find <ICiOrdQryService>();
     OrderList       = new XapDataList <OrConfirm>();
     AddFeeDTOList   = new XapDataList <AddFeeDTO>();
     num             = qryservice.getIntSystemParam(idorg, ICiOrdNSysParamConst.SYS_PARAM_OrStopChkMaxLeadTime);
 }