/// <summary>
 /// 按钮
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BtnAddCollectClick(object sender, RoutedEventArgs e)
 {
     var frm = new VATInvoiceDetail((int) VATInvoiceType.Receive);
     RedirectTo(frm);
 }
 private void OperationExecuted(object sender, ExecutedRoutedEventArgs e)
 {
     int id = e.Parameter is int ? (int) e.Parameter : 0;
     VATInvoiceRequest vatr = VM.GetItByLineId(id);
     if (vatr != null)
     {
         _queried = false;
         _requestQuery = true;
         var frm = new VATInvoiceDetail(PageMode.AddMode, vatr, this);
         RedirectTo(frm);
     }
 }