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.
34 lines
1.1 KiB
34 lines
1.1 KiB
using BBWY.Client.Models.Statistics.AfterSaleOrder;
|
|
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.PurchaseOrderId) &&
|
|
string.IsNullOrEmpty(SaleOrder.RefundAlipayOrderNo) &&
|
|
string.IsNullOrEmpty(SaleOrder.RefundMerchantOrderNo))
|
|
{
|
|
MessageBox.Show("信息不完整", "提示");
|
|
return;
|
|
}
|
|
this.DialogResult = true;
|
|
this.Close();
|
|
}
|
|
}
|
|
}
|
|
|