/// <summary>
 /// 查询按钮
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BtnVATInvoiceRequestList(object sender, RoutedEventArgs e)
 {
     var listVM = new VATInvoiceRequestListVM();
     listVM.Init(true);
     var list = new VATInvoiceRequestList(ModuleName, listVM, PageMode.ViewMode);
     RedirectTo(list);
 }
 /// <summary>
 /// 查询按钮
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BtnRequestDateSearchClick(object sender, RoutedEventArgs e)
 {
     DateTime dt = DateTime.Now;
     DateTime startDate = dt.AddDays(-dt.Day);
     DateTime endDate = startDate.AddMonths(1);
     VM.Load(startDate, endDate,null);
     var list = new VATInvoiceRequestList(ModuleName, VM.ListVM);
     RedirectTo(list);
 }
 /// <summary>
 /// 查询按钮
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BtnCreateBySearchClick(object sender, RoutedEventArgs e)
 {
     VM.Load(null,null,CurrentUser.Id);
     var list = new VATInvoiceRequestList(ModuleName, VM.ListVM);
     RedirectTo(list);
 }
 /// <summary>
 /// 查询按钮
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BtnSearchClick(object sender, RoutedEventArgs e)
 {
     VM.Load();
     var list = new VATInvoiceRequestList(ModuleName, VM.ListVM);
     RedirectTo(list);
 }