You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
899 B
30 lines
899 B
3 years ago
|
using BBWY.Client.Models;
|
||
|
using BBWY.Controls;
|
||
|
using System.Windows;
|
||
|
|
||
|
namespace BBWY.Client.Views.Order
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// EditAfterSaleOrderRefundPurchaseAmount.xaml 的交互逻辑
|
||
|
/// </summary>
|
||
|
public partial class EditAfterSaleOrderRefundPurchaseAmount : BWindow
|
||
|
{
|
||
|
public AfterSaleOrder SaleOrder { get; set; }
|
||
|
|
||
|
public EditAfterSaleOrderRefundPurchaseAmount(AfterSaleOrder afterSaleOrder)
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
this.SaleOrder = afterSaleOrder;
|
||
|
this.DataContext = this;
|
||
|
}
|
||
|
|
||
|
private void btn_Save_Click(object sender, System.Windows.RoutedEventArgs e)
|
||
|
{
|
||
|
if (string.IsNullOrEmpty(SaleOrder.RefundAlipayOrderNo) && string.IsNullOrEmpty(SaleOrder.RefundMerchantOrderNo))
|
||
|
return;
|
||
|
this.DialogResult = true;
|
||
|
this.Close();
|
||
|
}
|
||
|
}
|
||
|
}
|