You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using POSV.Card;
|
|
|
|
|
using POSV.Utils;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Drawing;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
|
|
|
|
namespace POSV.Member
|
|
|
|
|
{
|
|
|
|
|
public partial class GiftCardResultForm : BusinessForm
|
|
|
|
|
{
|
|
|
|
|
private SaleGiftCardRecordRequest request;
|
|
|
|
|
private SaleGiftCardRecordResponse response;
|
|
|
|
|
public GiftCardResultForm(SaleGiftCardRecordRequest request, SaleGiftCardRecordResponse response)
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
this.controlBox.Text = "礼品卡销售成功";
|
|
|
|
|
this.controlBox.ShowApplicationVersion = false;
|
|
|
|
|
this.request = request;
|
|
|
|
|
this.response = response;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override void OnLoad(EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
base.OnLoad(e);
|
|
|
|
|
|
|
|
|
|
this.schemeNamelabelX.Text = response.SchemeName;//礼品卡方案
|
|
|
|
|
this.cardNolabelX.Text = request.CardNo;//会员卡号
|
|
|
|
|
this.retailPricelabelX.Text = StringUtils.GetString(response.RetailPrice );
|
|
|
|
|
this.realAmountlabelX.Text = StringUtils.GetString(response.RealAmount );
|
|
|
|
|
this.payTypelabelX.Text = request.PayType;
|
|
|
|
|
this.saleAmountlabelX.Text = StringUtils.GetString(request.SaleAmount);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void OnCloseTouchClick(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
//先关闭父窗体
|
|
|
|
|
if (this.Owner != null)
|
|
|
|
|
{
|
|
|
|
|
this.Owner.Close();
|
|
|
|
|
}
|
|
|
|
|
//再关闭当前窗体
|
|
|
|
|
this.Close();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void BtnExitClick(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
OnCloseTouchClick(sender, e);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|