public IList <OrderDto> ReturnGoodsRmaSearch(ReturnGoodsInfoGet goodInfoGet) { try { PageResult <OrderDto> lst = RestClient.GetPage <OrderDto>("order/GetByReturnGoodsInfo", goodInfoGet.ToString()); return(lst.Result); } catch (Exception ex) { return(new List <OrderDto>()); } }
//lao da 退货赔偿退回 public IList <OrderDto> ReturnGoodsFinancialSearch(ReturnGoodsInfoGet goodInfoGet) { try { PageResult <OrderDto> lst = RestClient.GetPage <OrderDto>("rma/GetByOrderNoReturnGoodsCompensation", goodInfoGet.ToString()); return(lst.Result); } catch (Exception ex) { return(new List <OrderDto>()); } }
public CustomerReturnSearchViewModel() { ReturnGoodsInfoGet = new ReturnGoodsInfoGet(); CommandSearchGoodsInfo = new AsyncDelegateCommand(SearchGoodsInfo); CommandSearchRmaDtoInfo = new AsyncQueryCommand(SearchRmaDtoListInfo, () => RMADtoList, "退货单"); CommandAgreeReturnGoods = new DelegateCommand(SetAgreeReturnGoods); CommandGetRmaDetailByRmaNo = new AsyncDelegateCommand(GetRmaDetailByRmaNo); CommandSetCustomerMoneyReviewGoods = new DelegateCommand(SetCustomerMoneyGoods); ViewImageCommand = new DelegateCommand <int?>(OnImageView); ViewProductImageRequest = new InteractionRequest <ProductImageViewModel>(); IsShowCustomerAgreeBtn = true; _isShowCustomerReViewBtn = true; InitCombo(); }