using System; using System.Collections.Generic; using System.Linq; using System.Text; using Stone.WinBiz.BasicData; using Stone.Entity; using System.Windows.Forms; using Stone.Common; namespace Stone.WinBiz.JISData { public class F_JIS_LAB_STD : F_Base { public F_JIS_LAB_STD() { this.type = "IS_LAB_STD"; this.name = "排序数据_LAB数据查询STD"; this.entity = new Entity_t_JIS_Lab(); this.entityView = new Entity_v_JIS_Lab(); this.strOrder = "startDate asc, PartNumber"; } public override void GetView(DataGridView dgv) { dgv.DataSource = dsMain.Tables[0]; dgv.Columns["ID"].Visible = false; //隐藏ID列 dgv.Columns["fileType"].HeaderText = "工厂"; dgv.Columns["partNumber"].HeaderText = "零件号"; dgv.Columns["Description"].HeaderText = "零件描述"; dgv.Columns["Color"].HeaderText = "颜色"; dgv.Columns["Variant"].HeaderText = "车型"; dgv.Columns["StartDate"].HeaderText = "需求日期起"; dgv.Columns["EndDate"].HeaderText = "需求日期止"; dgv.Columns["quantity"].HeaderText = "需求数量"; dgv.Columns["cumulativeQuantity"].HeaderText = "累计收货数量"; dgv.Columns["releaseId"].HeaderText = "版本号"; dgv.Columns["IsStandard"].HeaderText = "是否STD件"; dgv.Columns["PackNumer"].HeaderText = "包装数量"; dgv.Columns["location"].HeaderText = "卸货点"; dgv.Columns["time"].HeaderText = "发布日期"; dgv.Columns["locationCode"].HeaderText = "卸货点代码"; dgv.Columns["orderNumber"].HeaderText = "采购订单号"; dgv.Columns["addtime"].HeaderText = "解析时间"; dgv.Columns["filename"].HeaderText = "文件名"; MyGridViewStyle.GetGridViewState(dgv, "基础资料" + type); MyGridViewStyle.SetDataGridMenuCommon(dgv); } } }