using iWareDataCore.BASE.EnumType;
|
using iWareDataCore.Report.PlaceMaterial.Service;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
|
namespace iWareWms.View.Echarts.PlaceMaterial
|
{
|
public partial class PlaceMaterial : PageBase
|
{
|
|
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
if (!IsPostBack)
|
{
|
|
BindGrid();
|
|
}
|
|
}
|
|
private void LoadData()
|
{
|
|
BindGrid();
|
}
|
|
private void BindGrid()
|
{
|
var data1 = PlaceMaterialViewService.GetInstance().GetMaterialByType();
|
|
Grid1.DataSource = data1;
|
Grid1.DataBind();
|
|
|
}
|
|
|
protected void btnFind_Click(object sender, EventArgs e)
|
{
|
BindGrid();
|
|
}
|
|
}
|
}
|