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();
|
|
};
|
|
}
|
|
}
|
|
}
|