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.
 

31 lines
924 B

using BWP.B3Butchery.BO;
using BWP.Web.Pages.B3Butchery.Bills.ProductInStore_;
using BWP.Web.Utils;
using BWP.Web.WebControls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TSingSoft.WebControls2;
namespace BWP.Web.Pages.B3YunKen.Overlays
{
public class ProduceFinishBtnExt: ProductInStoreEdit
{
protected override void ProduceFinishBtn(HLayoutPanel hPanel, ProductInStoreEdit page)
{
var productioncompletion = hPanel.Add(new DialogButton { Text = "选择生产完工单" });
productioncompletion.Url = "/B3YunKen/Dialogs/ProductionCompletionDialog.aspx";
productioncompletion.Click += delegate
{
GetFromUI();
var details = DialogUtil.GetCachedObj<ProductInStore_Detail>(page);
foreach (var item in details)
{
Dmo.Details.Add(item);
}
detailGrid.DataBind();
};
}
}
}