/// <summary> /// 根据申请单号获取补偿退款单相关信息 /// </summary> /// <param name="refundID"></param> /// <param name="callback"></param> public void GetRefundAdjustBySoSysNo(RefundAdjustMaintainVM vm, EventHandler <RestClientEventArgs <RefundAdjustInfo> > callback) { var data = vm.ConvertVM <RefundAdjustMaintainVM, RefundAdjustInfo>(); data.CompanyCode = CPApplication.Current.CompanyCode; string relativeUrl = "/CustomerService/RefundAdjust/GetRefundAdjustBySoSysNo"; restClient.Query <RefundAdjustInfo>(relativeUrl, data, callback); }
public UCRefundAdjustMaintain(RefundAdjustVM vm, string action) { InitializeComponent(); maintainVM = new RefundAdjustMaintainVM(); if (vm != null) { this.RefundVM = vm; maintainVM.AdjustSysNo = RefundVM.AdjustSysNo; maintainVM.AdjustOrderType = RefundVM.AdjustOrderType; } maintainVM.Action = action; this.Loaded += new RoutedEventHandler(UCRefundAdjustMaintain_Loaded); }