private void SaveProductType()
        {
            var    cookie = HttpContext.Current.Request.Cookies[FormsAuthentication.FormsCookieName];
            var    ticket = FormsAuthentication.Decrypt(cookie.Value);
            string uid    = ticket.UserData;

            TSM.Model.pms_Quotation_Info modelpms_Quotation_Info = new TSM.Model.pms_Quotation_Info();
            modelpms_Quotation_Info.QuotationInfoID  = int.Parse(lbBatchID.Text);
            modelpms_Quotation_Info.ProductInfoID    = int.Parse(lbProID.Text);
            modelpms_Quotation_Info.QuotationDepart  = int.Parse(ddlCom.SelectedValue);
            modelpms_Quotation_Info.QuotationTime    = DateTime.Now.Date;
            modelpms_Quotation_Info.KnifeCharges     = Convert.ToDecimal(tbxKnife.Text);
            modelpms_Quotation_Info.ToolCharges      = Convert.ToDecimal(tbxTool.Text);
            modelpms_Quotation_Info.SprayingCharges  = Convert.ToDecimal(tbxSpray.Text);
            modelpms_Quotation_Info.PackingCharges   = Convert.ToDecimal(tbxPack.Text);
            modelpms_Quotation_Info.TestingCharges   = Convert.ToDecimal(tbxTest.Text);
            modelpms_Quotation_Info.TransportCharges = Convert.ToDecimal(tbxTrans.Text);
            modelpms_Quotation_Info.QuotationPrice   = 0;
            modelpms_Quotation_Info.ApprovalStatus   = "待生产部审批";
            modelpms_Quotation_Info.UserInfoID       = int.Parse(uid);
            modelpms_Quotation_Info.ToolsDescrib     = tbxToolDesc.Text;
            modelpms_Quotation_Info.KinfeDescrib     = tbxKnifeDesc.Text;
            modelpms_Quotation_Info.PackingDescrib   = tbxPackDesc.Text;
            modelpms_Quotation_Info.TransportDescrib = tbxTransDesc.Text;
            modelpms_Quotation_Info.ChargeDescrib    = tbxChargeDesc.Text;
            modelpms_Quotation_Info.TestingDescrib   = tbxTestDesc.Text;
            modelpms_Quotation_Info.SprayingDescrib  = tbxSprayDesc.Text;

            m_bllpms_Quotation_Info.Update(modelpms_Quotation_Info);
        }