C# Class Transportation_Bill_Edit, yfkey-scms

Inheritance: com.Sconit.Web.EditModuleBase
Mostrar archivo Open project: Novthirteen/yfkey-scms

Private Properties

Property Type Description
PopulateData IList
UpdateDetailView void
UpdateView void

Public Methods

Method Description
InitPageParameter ( string billNo ) : void
WriteToFile ( IList list ) : string

金董春:添加打印功能,添加了TransportationBill.xls模板打印功能 2012-5-28

getExcel ( TransportationBill tb, IList detailList, bool isExportExcel ) : object
setCellstyle ( NPOI.HSSF.UserModel.HSSFWorkbook hssfworkbook, string options ) : NPOI.SS.UserModel.CellStyle

设置excel中单元格的样式 djin--2012-5-25

Protected Methods

Method Description
AddBack_Render ( object sender, EventArgs e ) : void
FV_TransportationBill_DataBound ( object sender, EventArgs e ) : void
GV_List_RowDataBound ( object sender, GridViewRowEventArgs e ) : void
Page_Load ( object sender, EventArgs e ) : void
btnAddDetail_Click ( object sender, EventArgs e ) : void
btnBack_Click ( object sender, EventArgs e ) : void
btnCancel_Click ( object sender, EventArgs e ) : void
btnClose_Click ( object sender, EventArgs e ) : void
btnDeleteDetail_Click ( object sender, EventArgs e ) : void
btnDelete_Click ( object sender, EventArgs e ) : void
btnExport_Click ( object sender, EventArgs e ) : void

运单导出

btnPrint_Click ( object sender, EventArgs e ) : void
btnSave_Click ( object sender, EventArgs e ) : void
btnSubmit_Click ( object sender, EventArgs e ) : void
btnVoid_Click ( object sender, EventArgs e ) : void
lbRefBillNo_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
PopulateData ( bool isChecked ) : IList
UpdateDetailView ( IList transportationBillDetailList ) : void
UpdateView ( TransportationBill transportationBill ) : void

Method Details

AddBack_Render() protected method

protected AddBack_Render ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

FV_TransportationBill_DataBound() protected method

protected FV_TransportationBill_DataBound ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

GV_List_RowDataBound() protected method

protected GV_List_RowDataBound ( object sender, GridViewRowEventArgs e ) : void
sender object
e GridViewRowEventArgs
return void

InitPageParameter() public method

public InitPageParameter ( string billNo ) : void
billNo string
return void

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

WriteToFile() public method

金董春:添加打印功能,添加了TransportationBill.xls模板打印功能 2012-5-28
public WriteToFile ( IList list ) : string
list IList
return string

btnAddDetail_Click() protected method

protected btnAddDetail_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnBack_Click() protected method

protected btnBack_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnCancel_Click() protected method

protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnClose_Click() protected method

protected btnClose_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnDeleteDetail_Click() protected method

protected btnDeleteDetail_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnDelete_Click() protected method

protected btnDelete_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnExport_Click() protected method

运单导出
protected btnExport_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnPrint_Click() protected method

protected btnPrint_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnSave_Click() protected method

protected btnSave_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnSubmit_Click() protected method

protected btnSubmit_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

btnVoid_Click() protected method

protected btnVoid_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

getExcel() public method

public getExcel ( TransportationBill tb, IList detailList, bool isExportExcel ) : object
tb com.Sconit.Entity.Transportation.TransportationBill
detailList IList
isExportExcel bool
return object

lbRefBillNo_Click() protected method

protected lbRefBillNo_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

setCellstyle() public method

设置excel中单元格的样式 djin--2012-5-25
public setCellstyle ( NPOI.HSSF.UserModel.HSSFWorkbook hssfworkbook, string options ) : NPOI.SS.UserModel.CellStyle
hssfworkbook NPOI.HSSF.UserModel.HSSFWorkbook
options string
return NPOI.SS.UserModel.CellStyle