예제 #1
0
 public IList <OPC_ShippingSale> GetShipListWithReturnGoodsConnect(RmaExpressDto rmaExpress)
 {
     try
     {
         PageResult <OPC_ShippingSale> lst =
             RestClient.GetPage <OPC_ShippingSale>("custom/GetRmaShippingPrintedByPack", rmaExpress.ToString());
         return(lst.Result);
     }
     catch (Exception ex)
     {
         return(new List <OPC_ShippingSale>());
     }
 }
예제 #2
0
        public ReturnPackagePrintExpressageConnectViewModel()
        {
            RmaExpressDto = new RmaExpressDto();

            CommandSearch                = new AsyncDelegateCommand(SearchShip);
            CommandPrintView             = new DelegateCommand(PrintView);
            CommandOnlyPrint             = new DelegateCommand(OnlyPrint);
            CommandPrintExpress          = new DelegateCommand(PrintExpressComplete);
            CommandSetShippingRemark     = new DelegateCommand(SetShippingRemark);
            CommandSetRmaRemark          = new DelegateCommand(SetRmaRemark);
            CommandSetOrderRemark        = new DelegateCommand(SetOrderRemark);
            CommandGetRmaOrOrderByShipNo = new AsyncDelegateCommand(GetRmaOrOrderByShipNo);
            InitCombo();
        }
        public ReturnPackagePrintExpressViewModel()
        {
            RmaExpressDto              = new RmaExpressDto();
            RmaExpressSaveDto          = new RmaExpressSaveDto();
            CommandGetRmaDetailByRmaNo = new AsyncDelegateCommand(GetRmaDetailByRmaNo);
            CommandGetRmaByRmaNo       = new AsyncDelegateCommand(GetRmaByRmaNo);
            CommandSearch              = new AsyncDelegateCommand(SearchShip);
            CommandPrintView           = new DelegateCommand(PrintView);
            CommandOnlyPrint           = new DelegateCommand(OnlyPrint);
            CommandPrintExpress        = new DelegateCommand(PrintExpressComplete);
            CommandSaveShip            = new DelegateCommand(SaveShip);
            CommandSetShippingRemark   = new DelegateCommand(SetShippingRemark);
            CommandSetRmaRemark        = new DelegateCommand(SetRmaRemark);

            InitCombo();
        }