private void btn_Query_Click(object sender, EventArgs e)
 {
     //product info query
     if (this.txt_ProductNo.Text.Trim().Length > 0)
     {
         clearBOMText();
         List <MaterialInfo> materialsList = new List <MaterialInfo>();
         ProductBOMs         _productBOMs  = new ProductBOMs();
         if (this.txt_ProductNo.Text.Trim().Length > 0)
         {
             materialsList = _productBOMs.GetProductBOMList(this.txt_ProductNo.Text.Trim());
             materialsList = materialsList.OrderBy(o => o.MaterialSeq).ToList();//升序
             if (materialsList.Count > 0)
             {
                 fillMaterialsInfo(materialsList);
                 this.txt_ProductName.Text = ProductBOMBLL.GetProductName(this.txt_ProductNo.Text.Trim());
             }
             else
             {
                 SpMessageBox.Show("没有查找到对应产品BOM信息, 请重新输入正确的产品号.", "产品信息维护");
             }
         }
     }
     else
     {
     }
 }