|
|
|
@ -0,0 +1,30 @@ |
|
|
|
|
|
|
|
using BWP.B3Butchery.Utils; |
|
|
|
using BWP.B3Frameworks; |
|
|
|
using BWP.Web.Pages.B3Butchery.Bills.ProductInStore_Temp_; |
|
|
|
using System; |
|
|
|
using System.Collections.Generic; |
|
|
|
using System.Linq; |
|
|
|
using System.Text; |
|
|
|
using System.Web.UI.WebControls; |
|
|
|
using TSingSoft.WebControls2; |
|
|
|
|
|
|
|
namespace BWP.B3_YunKen.TypeIoc |
|
|
|
{ |
|
|
|
[TypeIOC(typeof(ProductInStore_TempEdit), typeof(ProductInStore_TempEdit.IOCs.BeforeDetailGridApplyLayout))] |
|
|
|
class ProductInStore_TempIOC : ProductInStore_TempEdit.IOCs.BeforeDetailGridApplyLayout |
|
|
|
{ |
|
|
|
public void Invoke(DFEditGrid grid) |
|
|
|
{ |
|
|
|
var bran = new DFEditGridColumn<DFChoiceBox>("BrandItem_ID"); |
|
|
|
bran.InitEditControl += delegate (object sender, InitEditControlEventArgs<DFChoiceBox> e) |
|
|
|
{ |
|
|
|
e.Control.DataKind = B3ButcheryDataSource.存货品牌; |
|
|
|
e.Control.DFDisplayField = "BrandItem_Name"; |
|
|
|
e.Control.EnableInputArgument = true; |
|
|
|
e.Control.EnableTopItem = true; |
|
|
|
e.Control.Width = Unit.Pixel(120); |
|
|
|
}; |
|
|
|
} |
|
|
|
} |
|
|
|
} |