public void TransVerifyNoPass()
        {
            if (RmaList == null)
            {
                MvvmUtility.ShowMessageAsync("请选择退货单", "提示", MessageBoxButton.OK, MessageBoxImage.Warning);
                return;
            }
            List <RMADto> rmaSelectedList = RmaList.Where(e => e.IsSelected).ToList();

            if (rmaSelectedList.Count == 0)
            {
                MvvmUtility.ShowMessageAsync("请选择退货单", "提示", MessageBoxButton.OK, MessageBoxImage.Warning);
                return;
            }
            bool flag =
                AppEx.Container.GetInstance <IPackageService>()
                .TransVerifyNoPass(rmaSelectedList.Select(e => e.RMANo).ToList());

            MvvmUtility.ShowMessageAsync(flag ? "设置审核不通过成功" : "设置审核不通过失败", "提示", MessageBoxButton.OK, flag ? MessageBoxImage.Information : MessageBoxImage.Error);
            if (flag)
            {
                if (RmaList != null)
                {
                    RmaList.Clear();
                }
                if (RmaDetailLs != null)
                {
                    RmaDetailLs.Clear();
                }
                SearchRma();
            }
        }
 public void SearchSaleRma()
 {
     if (RmaDetailList != null)
     {
         RmaDetailList.Clear();
     }
     if (RmaList != null)
     {
         RmaList.Clear();
     }
     SaleRmaList = AppEx.Container.GetInstance <IPaymentVerificationService>().GetRmaByReturnGoodPay(ReturnGoodsPayDto).ToList();
 }
        public void GetRmaByOrder()
        {
            if (SaleRma == null)
            {
                RmaList.Clear();
                RmaDetailList.Clear();
                return;
            }

            RmaList = AppEx.Container.GetInstance <IPaymentVerificationService>().GetRmaByRmaOder(SaleRma.RmaNo).ToList();
            MvvmUtility.WarnIfEmpty(RmaList, "退货单");

            if (RmaList != null)
            {
                RmaDecimal = (decimal)RmaList.Sum(rma => rma.RMAAmount);
            }
        }