沈泽
2021-11-04 38ce87fb55496d7eb95d1a28f31eb4d2f528e3b8
Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
6个文件已添加
18个文件已修改
11720 ■■■■■ 已修改文件
DAL/质检管理/ClsQC_NoPassProdCheckBill.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
LMES/ClsShowMod.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/MJGL/Sc_MouldMoveStockStepInBillListController .cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/MJGL/Sc_MouldMoveStockStepOutBillController.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/MJGL/Sc_MouldOtherOutBillController.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs 33 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/MJGL/Sc_MouldProdMoveBillListController.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/MJGL/Sc_MouldRepairOutBillController.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/Sc_CheckToolsRepairWorkBillListController.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/Sc_MouldRepairInBillListController - .cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/DLL/ClsSc_MouldProdBackBill.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/WorkM.csproj 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationOutBill.cs 41 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationOutBill.designer.cs 796 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationOutBillList_Bad.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationOutBillList_Bad.designer.cs 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationOutBillList_BaoFei.cs 633 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationOutBillList_BaoFei.designer.cs 638 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationOutBillList_BaoFei.resx 4091 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationOutBillList_GeLi.cs 633 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationOutBillList_GeLi.designer.cs 638 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/流转卡管理/MES_StationOutBillList_GeLi.resx 4091 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WorkM/车间管理/QC_NoPassProdCheckBill.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DAL/Öʼì¹ÜÀí/ClsQC_NoPassProdCheckBill.cs
@@ -219,7 +219,7 @@
                ",HMaterID,HProcID,HMainSourceInterID" +
                ",HProcExchInterID,HProcExchEntryID,HProcExchBillNo,HOrderProcNo,HProcExchQty" +
                ") " +
                " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "'," + omodel.HBillStatus.ToString() + ",'" + omodel.HDate + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" +
                " values('" + this.BillType + "','" + omodel.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "'," + omodel.HBillStatus.ToString() + ",'" + omodel.HDate + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" +
                "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + omodel.HGroupName.ToString() + "'" +
                "," + omodel.HSourceID.ToString() + "," + omodel.HICMOInterID.ToString() + ",'" + omodel.HICMOBillNo + "'," + omodel.HInStockQty.ToString() + "," + omodel.HCheckQty.ToString() + "," + omodel.HRightQty.ToString() +
                "," + omodel.HBadQty.ToString() + "," + omodel.HPlanQty.ToString() + "," + omodel.HBadPNL.ToString() + "," + omodel.HPlanPNL.ToString() + "," + omodel.HFirstCheckEmp.ToString() +
LMES/ClsShowMod.cs
@@ -5189,6 +5189,20 @@
            {
                switch (gnsy.ToLower())
                {
                    case "mes_stationoutbilllist_baofei":
                        MES_StationOutBillList_BaoFei oMES_StationOutBillList_BaoFei = new MES_StationOutBillList_BaoFei();
                        oMES_StationOutBillList_BaoFei.MdiParent = oMain;
                        oMES_StationOutBillList_BaoFei.ModCaption = gnmc;
                        oMES_StationOutBillList_BaoFei.Show();
                        oMainForm.AddTabPage(oMES_StationOutBillList_BaoFei);
                        break;
                    case "mes_stationoutbilllist_geli":
                        MES_StationOutBillList_GeLi oMES_StationOutBillList_GeLi = new MES_StationOutBillList_GeLi();
                        oMES_StationOutBillList_GeLi.MdiParent = oMain;
                        oMES_StationOutBillList_GeLi.ModCaption = gnmc;
                        oMES_StationOutBillList_GeLi.Show();
                        oMainForm.AddTabPage(oMES_StationOutBillList_GeLi);
                        break;
                    case "mes_stationoutbilllist_bad":
                        MES_StationOutBillList_Bad oMES_StationOutBillList_Bad = new MES_StationOutBillList_Bad();
                        oMES_StationOutBillList_Bad.MdiParent = oMain;
WebAPI/Controllers/MJGL/Sc_MouldMoveStockStepInBillListController .cs
@@ -164,7 +164,7 @@
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HStockOrgID, HOtherOrgID,调出组织代码 HOtherOrgCode,调出组织 HOtherOrgName, HWHID, è°ƒå…¥ä»“库代码 HWHCode, è°ƒå…¥ä»“库 HWHName,HSPID, 
                                                è°ƒå…¥ä»“位代码 HSPCode, è°ƒå…¥ä»“位 HSPName,HSCWHID, è°ƒå‡ºä»“库代码 HSCWHCode, è°ƒå‡ºä»“库 HSCWHName,HSCSPID, 
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldMoveStockStepInBillListDetail"), "h_v_Sc_MouldMoveStockStepInBillListDetail");
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldMoveStockStepInBillListDetail"), "h_v_Sc_MouldMoveStockStepInBillListDetail");
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
@@ -178,7 +178,7 @@
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HStockOrgID, HOtherOrgID,调出组织代码 HOtherOrgCode,调出组织 HOtherOrgName,  HWHID, è°ƒå…¥ä»“库代码 HWHCode, è°ƒå…¥ä»“库 HWHName,HSPID, 
                                                è°ƒå…¥ä»“位代码 HSPCode, è°ƒå…¥ä»“位 HSPName,HSCWHID, è°ƒå‡ºä»“库代码 HSCWHCode, è°ƒå‡ºä»“库 HSCWHName,HSCSPID, 
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldMoveStockStepInBillListDetail where 1 = 1 ");
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldMoveStockStepInBillListDetail where 1 = 1 ");
                    string sql = sql1 + sqlWhere;
                    ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldMoveStockStepInBillListDetail");
WebAPI/Controllers/MJGL/Sc_MouldMoveStockStepOutBillController.cs
@@ -164,7 +164,7 @@
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HStockOrgID,调入组织代码 HStockOrgCode,调入组织 HStockOrgName, HOtherOrgID ,调出组织代码 HOtherOrgCode,调出组织 HOtherOrgName, HWHID, è°ƒå…¥ä»“库代码 HWHCode, è°ƒå…¥ä»“库 HWHName,HSPID, 
                                                è°ƒå…¥ä»“位代码 HSPCode, è°ƒå…¥ä»“位 HSPName,HSCWHID, è°ƒå‡ºä»“库代码 HSCWHCode, è°ƒå‡ºä»“库 HSCWHName,HSCSPID, 
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldMoveStockStepOutBill"), "h_v_Sc_MouldMoveStockStepOutBill");
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldMoveStockStepOutBill"), "h_v_Sc_MouldMoveStockStepOutBill");
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
@@ -178,7 +178,7 @@
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HStockOrgID,调入组织代码 HStockOrgCode,调入组织 HStockOrgName, HOtherOrgID,调出组织代码 HOtherOrgCode,调出组织 HOtherOrgName, HWHID, è°ƒå…¥ä»“库代码 HWHCode, è°ƒå…¥ä»“库 HWHName,HSPID, 
                                                è°ƒå…¥ä»“位代码 HSPCode, è°ƒå…¥ä»“位 HSPName,HSCWHID, è°ƒå‡ºä»“库代码 HSCWHCode, è°ƒå‡ºä»“库 HSCWHName,HSCSPID, 
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldMoveStockStepOutBill where 1 = 1 ");
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldMoveStockStepOutBill where 1 = 1 ");
                    string sql = sql1 + sqlWhere;
                    ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldMoveStockStepOutBill");
WebAPI/Controllers/MJGL/Sc_MouldOtherOutBillController.cs
@@ -162,7 +162,7 @@
                    ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,批次 HBatchNo,
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HWHSonID HWHID, å‘料仓库代码 HWHCode, å‘料仓库 HWHName,HSPID, 
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldOtherOutBillList"), "h_v_Sc_MouldOtherOutBillList");
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldOtherOutBillList"), "h_v_Sc_MouldOtherOutBillList");
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
@@ -176,7 +176,7 @@
                    string sql1 = string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,批次 HBatchNo,
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HWHSonID HWHID, å‘料仓库代码 HWHCode, å‘料仓库 HWHName,HSPID, 
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldOtherOutBillList where 1 = 1 ");
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldOtherOutBillList where 1 = 1 ");
                    string sql = sql1 + sqlWhere;
                    ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldOtherOutBillList");
WebAPI/Controllers/MJGL/Sc_MouldProdInBillController.cs
@@ -411,6 +411,7 @@
        {
            DataSet ds;
            DataSet ds1;
            List<object> list = new List<object>();
            try
            {
                SQLHelper.ClsCN oCN = new SQLHelper.ClsCN();
@@ -419,18 +420,9 @@
                    ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,
                                          æ‰¹æ¬¡ HBatchNo,设计寿命 HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ä½¿ç”¨å¯¿å‘½ HUseLife,应收数量 HQtyMust,
                                          å®žæ”¶æ•°é‡ HQty, å•ä»· HPrice, é‡‘额 HMoney,hwhid1 HWHID, æ”¶æ–™ä»“库代码 HWHCode,收料仓库 HWHName,
                                          HSPID, æ”¶æ–™ä»“位代码 HSPCode,收料仓位 HSPName,表体备注 HRemark,HStockOrgID
                                          HSPID, æ”¶æ–™ä»“位代码 HSPCode,收料仓位 HSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位
                                          FROM h_v_Sc_MouldProdInHouseBillList"), "h_v_Sc_MouldProdInHouseBillList");
                    //查汇总
                    ds1 = oCN.RunProcReturn(string.Format(@"select æ¨¡å…·ä»£ç ,模具名称,单据号,规格型号,批次,实收数量,hwhid1,收料仓库代码,
                                                æ”¶æ–™ä»“库,表体备注,sum(HMaterID) from h_v_Sc_MouldProdInHouseBillList group by æ¨¡å…·ä»£ç ,
                                                æ¨¡å…·åç§°,单据号,规格型号,批次,实收数量,hwhid1,收料仓库代码,收料仓库,表体备注"),
                                                "h_v_Sc_MouldProdInHouseBillList");
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "获取信息成功!";
                    objJsonResult.data = ds.Tables[0];
                }
                else
                {
@@ -439,16 +431,23 @@
                    string sql1 = string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,
                                          æ‰¹æ¬¡ HBatchNo,设计寿命 HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ä½¿ç”¨å¯¿å‘½ HUseLife,应收数量 HQtyMust,
                                          å®žæ”¶æ•°é‡ HQty, å•ä»· HPrice, é‡‘额 HMoney,hwhid1 HWHID, æ”¶æ–™ä»“库代码 HWHCode,收料仓库 HWHName,
                                          HSPID, æ”¶æ–™ä»“位代码 HSPCode,收料仓位 HSPName,表体备注 HRemark,HStockOrgID
                                          HSPID, æ”¶æ–™ä»“位代码 HSPCode,收料仓位 HSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位
                                          FROM h_v_Sc_MouldProdInHouseBillList where 1=1");
                    string sql = sql1 + sqlWhere;
                    ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldProdInHouseBillList");
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "获取信息成功!";
                    objJsonResult.data = ds.Tables[0];
                }
                //查汇总
                ds1 = oCN.RunProcReturn(string.Format(@"select  ç‰©æ–™ä»£ç ,max(物料名称)物料名称,规格型号,max(单据号)单据号,批次,sum(实收数量)实收数量,
                                            hwhid1,max(收料仓库代码)收料仓库代码,max(收料仓库)收料仓库,表体备注 from h_v_Sc_MouldProdInHouseBillList
                                            where 1=1 " + sqlWhere + " group by ç‰©æ–™ä»£ç ,规格型号,hwhid1,批次,表体备注"), "h_v_Sc_MouldProdInHouseBillList");
                list.Add(ds.Tables[0]);
                list.Add(ds1.Tables[0]);
                objJsonResult.code = "0";
                objJsonResult.count = 1;
                objJsonResult.Message = "获取信息成功!";
                objJsonResult.list = list;
            }
            catch (Exception e)
            {
WebAPI/Controllers/MJGL/Sc_MouldProdMoveBillListController.cs
@@ -164,7 +164,7 @@
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HStockOrgID,调入组织代码 HStockOrgCode,调入组织 HStockOrgName, HOtherOrgID ,调出组织代码 HOtherOrgCode,调出组织 HOtherOrgName, HWHID, è°ƒå…¥ä»“库代码 HWHCode, è°ƒå…¥ä»“库 HWHName,HSPID, 
                                                è°ƒå…¥ä»“位代码 HSPCode, è°ƒå…¥ä»“位 HSPName,HSCWHID, è°ƒå‡ºä»“库代码 HSCWHCode, è°ƒå‡ºä»“库 HSCWHName,HSCSPID, 
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldProdMoveBillList"), "h_v_Sc_MouldProdMoveBillList");
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldProdMoveBillList"), "h_v_Sc_MouldProdMoveBillList");
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
@@ -179,7 +179,7 @@
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HStockOrgID,调入组织代码 HStockOrgCode,调入组织 HStockOrgName, HOtherOrgID ,调出组织代码 HOtherOrgCode,调出组织 HOtherOrgName, HWHID, è°ƒå…¥ä»“库代码 HWHCode, è°ƒå…¥ä»“库 HWHName,HSPID, 
                                                è°ƒå…¥ä»“位代码 HSPCode, è°ƒå…¥ä»“位 HSPName,HSCWHID, è°ƒå‡ºä»“库代码 HSCWHCode, è°ƒå‡ºä»“库 HSCWHName,HSCSPID, 
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldProdMoveBillList where 1 = 1 ");
                                                è°ƒå‡ºä»“位代码 HSCSPCode, è°ƒå‡ºä»“位 HSCSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldProdMoveBillList where 1 = 1 ");
                    string sql = sql1 + sqlWhere;
                    ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldProdMoveBillList");
WebAPI/Controllers/MJGL/Sc_MouldRepairOutBillController.cs
@@ -478,7 +478,7 @@
                {
                    ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,
                                          æ‰¹æ¬¡ HBatchNo,设计寿命 HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ä½¿ç”¨å¯¿å‘½ HUseLife,应收数量 HQtyMust,
                                          å®žæ”¶æ•°é‡ HQty, HWHID, ä»“库代码 HWHCode,仓库 HWHName,子备注 HRemark,HStockOrgID
                                          å®žæ”¶æ•°é‡ HQty, HWHID, ä»“库代码 HWHCode,仓库 HWHName,子备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位
                                          FROM h_v_Sc_MouldRepairOutBillList"), "h_v_Sc_MouldRepairOutBillList");
                    objJsonResult.code = "0";
@@ -492,7 +492,7 @@
                    //string sql1 = "select HRepairCheckID,HRepairCheckContent,HManagerID,HRemark  from Sc_MouldRepairCheckBillSub where 1 = 1 ";
                    string sql1 = string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,
                                          æ‰¹æ¬¡ HBatchNo,设计寿命 HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ä½¿ç”¨å¯¿å‘½ HUseLife,应收数量 HQtyMust,
                                          å®žæ”¶æ•°é‡ HQty, HWHID, ä»“库代码 HWHCode,仓库 HWHName,子备注 HRemark,HStockOrgID
                                          å®žæ”¶æ•°é‡ HQty, HWHID, ä»“库代码 HWHCode,仓库 HWHName,子备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位
                                          FROM h_v_Sc_MouldRepairOutBillList where 1=1 ");
                    string sql = sql1 + sqlWhere;
                    ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldRepairOutBillList");
WebAPI/Controllers/Sc_CheckToolsRepairWorkBillListController.cs
@@ -4275,7 +4275,7 @@
                {
                    ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,
                                          æ‰¹æ¬¡ HBatchNo,设计寿命 HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ä½¿ç”¨å¯¿å‘½ HUseLife,应收数量 HQtyMust,
                                          å®žæ”¶æ•°é‡ HQty, HWHID, ä»“库代码 HWHCode,仓库 HWHName,子备注 HRemark,HStockOrgID
                                          å®žæ”¶æ•°é‡ HQty, HWHID, ä»“库代码 HWHCode,仓库 HWHName,子备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位
                                          FROM h_v_Sc_MouldRepairInBillList"), "h_v_Sc_MouldRepairInBillList");
                    objJsonResult.code = "0";
@@ -4289,7 +4289,7 @@
                    //string sql1 = "select HRepairCheckID,HRepairCheckContent,HManagerID,HRemark  from Sc_MouldRepairCheckBillSub where 1 = 1 ";
                    string sql1 = string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,
                                          æ‰¹æ¬¡ HBatchNo,设计寿命 HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ä½¿ç”¨å¯¿å‘½ HUseLife,应收数量 HQtyMust,
                                          å®žæ”¶æ•°é‡ HQty, HWHID, ä»“库代码 HWHCode,仓库 HWHName,子备注 HRemark,HStockOrgID
                                          å®žæ”¶æ•°é‡ HQty, HWHID, ä»“库代码 HWHCode,仓库 HWHName,子备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位
                                          FROM h_v_Sc_MouldRepairInBillList where 1=1 ");
                    string sql = sql1 + sqlWhere;
                    ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldRepairInBillList");
WebAPI/Controllers/Sc_MouldRepairInBillListController - .cs
@@ -4399,7 +4399,7 @@
                    ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,批次 HBatchNo,
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HWHSonID HWHID, å‘料仓库代码 HWHCode, å‘料仓库 HWHName,HSPID, 
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldProdBackBillList"), "h_v_Sc_MouldProdBackBillList");
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldProdBackBillList"), "h_v_Sc_MouldProdBackBillList");
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
@@ -4413,7 +4413,7 @@
                    string sql1 = string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,批次 HBatchNo,
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HWHSonID HWHID, å‘料仓库代码 HWHCode, å‘料仓库 HWHName,HSPID, 
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldProdBackBillList where 1 = 1 ");
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldProdBackBillList where 1 = 1 ");
                    string sql = sql1 + sqlWhere;
                    ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldProdBackBillList");
@@ -4827,7 +4827,7 @@
                    ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,批次 HBatchNo,
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HWHSonID HWHID, å‘料仓库代码 HWHCode, å‘料仓库 HWHName,HSPID, 
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldProdOutHouseBillList"), "h_v_Sc_MouldProdOutHouseBillList");
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldProdOutHouseBillList"), "h_v_Sc_MouldProdOutHouseBillList");
                    objJsonResult.code = "0";
                    objJsonResult.count = 1;
@@ -4841,7 +4841,7 @@
                    string sql1 = string.Format(@"SELECT HMaterID,模具代码 HMaterCode,模具名称 HMaterName,规格型号 HMaterSpec,批次 HBatchNo,
                                                è®¾è®¡å¯¿å‘½ HDesignLife, å‰©ä½™å¯¿å‘½ HLeaveLife, ç´¯ç§¯ä½¿ç”¨å¯¿å‘½ HUseLife, åº”发数量 HQtyMust, å®žå‘数量 HQty, 
                                                å•ä»· HPrice, é‡‘额 HMoney,HWHSonID HWHID, å‘料仓库代码 HWHCode, å‘料仓库 HWHName,HSPID, 
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID FROM h_v_Sc_MouldProdOutHouseBillList where 1 = 1 ");
                                                ä»“位代码 HSPCode, ä»“位 HSPName,表体备注 HRemark,HStockOrgID,HUnitID,计量单位代码,计量单位 FROM h_v_Sc_MouldProdOutHouseBillList where 1 = 1 ");
                    string sql = sql1 + sqlWhere;
                    ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldProdOutHouseBillList");
WebAPI/DLL/ClsSc_MouldProdBackBill.cs
@@ -137,7 +137,6 @@
                ", " + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + omodel.HMaker+ "',getdate()" +
                ", " + omodel.HSupTypeID.ToString() + "," + omodel.HSupID.ToString() + "," + omodel.HWHID.ToString() + "," + omodel.HSCWHID.ToString() + "," + omodel.HEmpID.ToString() + "," + omodel.HManagerID.ToString() + "," + omodel.HSecManagerID.ToString() +
                ", " + omodel.HKeeperID.ToString() + "," + omodel.HDeptID.ToString() + ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'," + DBUtility.ClsPub.BoolToString(omodel.HRedBlueFlag) +
                ") ");
                //插入子表
                foreach (Model.ClsSc_MouldProdBackBillSub oSub in DetailColl)
WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user
@@ -18,25 +18,25 @@
      <publishTime>02/22/2013 08:43:40</publishTime>
    </File>
    <File Include="bin/BLL.dll">
      <publishTime>11/03/2021 17:04:35</publishTime>
      <publishTime>11/04/2021 16:46:04</publishTime>
    </File>
    <File Include="bin/BLL.pdb">
      <publishTime>11/03/2021 17:04:35</publishTime>
      <publishTime>11/04/2021 16:46:04</publishTime>
    </File>
    <File Include="bin/DAL.dll">
      <publishTime>11/03/2021 17:04:33</publishTime>
      <publishTime>11/04/2021 16:46:02</publishTime>
    </File>
    <File Include="bin/DAL.pdb">
      <publishTime>11/03/2021 17:04:33</publishTime>
      <publishTime>11/04/2021 16:46:02</publishTime>
    </File>
    <File Include="bin/Dapper.dll">
      <publishTime>07/22/2016 14:52:40</publishTime>
    </File>
    <File Include="bin/DBUtility.dll">
      <publishTime>11/03/2021 17:04:29</publishTime>
      <publishTime>11/04/2021 16:45:59</publishTime>
    </File>
    <File Include="bin/DBUtility.pdb">
      <publishTime>11/03/2021 17:04:29</publishTime>
      <publishTime>11/04/2021 16:45:59</publishTime>
    </File>
    <File Include="bin/Interop.gregn6Lib.dll">
      <publishTime>08/25/2021 10:28:25</publishTime>
@@ -60,10 +60,10 @@
      <publishTime>07/25/2012 11:48:56</publishTime>
    </File>
    <File Include="bin/Model.dll">
      <publishTime>11/03/2021 17:04:29</publishTime>
      <publishTime>11/04/2021 16:45:59</publishTime>
    </File>
    <File Include="bin/Model.pdb">
      <publishTime>11/03/2021 17:04:29</publishTime>
      <publishTime>11/04/2021 16:45:59</publishTime>
    </File>
    <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs">
      <publishTime>08/16/2021 17:23:15</publishTime>
@@ -72,22 +72,22 @@
      <publishTime>08/03/2014 20:33:56</publishTime>
    </File>
    <File Include="bin/Pub_Class.dll">
      <publishTime>11/03/2021 17:04:27</publishTime>
      <publishTime>11/04/2021 16:45:56</publishTime>
    </File>
    <File Include="bin/Pub_Class.pdb">
      <publishTime>11/03/2021 17:04:27</publishTime>
      <publishTime>11/04/2021 16:45:56</publishTime>
    </File>
    <File Include="bin/Pub_Control.dll">
      <publishTime>11/03/2021 17:04:28</publishTime>
      <publishTime>11/04/2021 16:45:57</publishTime>
    </File>
    <File Include="bin/Pub_Control.pdb">
      <publishTime>11/03/2021 17:04:28</publishTime>
      <publishTime>11/04/2021 16:45:57</publishTime>
    </File>
    <File Include="bin/SQLHelper.dll">
      <publishTime>11/03/2021 17:04:28</publishTime>
      <publishTime>11/04/2021 16:45:58</publishTime>
    </File>
    <File Include="bin/SQLHelper.pdb">
      <publishTime>11/03/2021 17:04:28</publishTime>
      <publishTime>11/04/2021 16:45:58</publishTime>
    </File>
    <File Include="bin/stdole.dll">
      <publishTime>05/09/2021 13:35:37</publishTime>
@@ -189,10 +189,10 @@
      <publishTime>11/24/2014 11:18:48</publishTime>
    </File>
    <File Include="bin/WebAPI.dll">
      <publishTime>11/03/2021 17:04:38</publishTime>
      <publishTime>11/04/2021 16:46:08</publishTime>
    </File>
    <File Include="bin/WebAPI.pdb">
      <publishTime>11/03/2021 17:04:38</publishTime>
      <publishTime>11/04/2021 16:46:08</publishTime>
    </File>
    <File Include="bin/WebGrease.dll">
      <publishTime>07/17/2013 17:03:52</publishTime>
@@ -363,7 +363,7 @@
      <publishTime>08/06/2021 22:57:28</publishTime>
    </File>
    <File Include="Web.config">
      <publishTime>11/03/2021 17:05:39</publishTime>
      <publishTime>11/04/2021 16:46:18</publishTime>
    </File>
  </ItemGroup>
</Project>
WorkM/WorkM.csproj
@@ -365,6 +365,18 @@
    <Compile Include="流转卡管理\MES_StationOutBill.designer.cs">
      <DependentUpon>MES_StationOutBill.cs</DependentUpon>
    </Compile>
    <Compile Include="流转卡管理\MES_StationOutBillList_BaoFei.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="流转卡管理\MES_StationOutBillList_BaoFei.designer.cs">
      <DependentUpon>MES_StationOutBillList_BaoFei.cs</DependentUpon>
    </Compile>
    <Compile Include="流转卡管理\MES_StationOutBillList_GeLi.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="流转卡管理\MES_StationOutBillList_GeLi.designer.cs">
      <DependentUpon>MES_StationOutBillList_GeLi.cs</DependentUpon>
    </Compile>
    <Compile Include="流转卡管理\MES_StationOutBillList_Bad.cs">
      <SubType>Form</SubType>
    </Compile>
@@ -1003,6 +1015,14 @@
      <DependentUpon>MES_StationOutBill.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="流转卡管理\MES_StationOutBillList_BaoFei.resx">
      <DependentUpon>MES_StationOutBillList_BaoFei.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="流转卡管理\MES_StationOutBillList_GeLi.resx">
      <DependentUpon>MES_StationOutBillList_GeLi.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="流转卡管理\MES_StationOutBillList_Bad.resx">
      <DependentUpon>MES_StationOutBillList_Bad.cs</DependentUpon>
      <SubType>Designer</SubType>
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationOutBill.cs
@@ -190,7 +190,8 @@
                    cmdBF.Enabled = true;
                    cmdXG.Enabled = true;
                    cmdCancel.Enabled = true;
                    cmdChecker.Enabled = true;
                    cmdChecker.Enabled = true;
                    cmdBFChecker.Enabled = true;
                    txtHBarCode.Enabled = false;
                    Sub_LrtextStatus(false);
                    break;
@@ -202,6 +203,7 @@
                    cmdXG.Enabled = false;
                    cmdCancel.Enabled = true;
                    cmdChecker.Enabled = false;
                    cmdBFChecker.Enabled = false;
                    Sub_LrtextStatus(true);
                    break;
                case DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify:
@@ -212,6 +214,7 @@
                    cmdXG.Enabled = false;
                    cmdCancel.Enabled = true;
                    cmdChecker.Enabled = false;
                    cmdBFChecker.Enabled = false;
                    Sub_LrtextStatus(true);
                    break;
            }
@@ -1563,6 +1566,7 @@
            oBF.HMainSourceInterID = BillOld.omodel.HInterID;
            oBF.HProcExchInterID = lngBillKey;
            oBF.HProcExchEntryID = lngBillSubKey;
            oBF.HBillSubType = "不良评审";
            oBF.txtHLotNo.Text = txtHProcExchBillNo.Text;
            oBF.txtHOrderProcNo.Text = txtHOrderProcNO.Text;
            oBF.txtHMaterID.Text = txtHMaterName.Text;
@@ -1584,7 +1588,40 @@
            if (oBF.BillChange)
            {
                this.Sub_ShowBill();
            }
            }
        }
        //报废品质确认按钮
        private void cmdBFChecker_Click(object sender, EventArgs e)
        {
            QC_NoPassProdCheckBill oBF = new QC_NoPassProdCheckBill();
            oBF.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
            oBF.HMainSourceInterID = BillOld.omodel.HInterID;
            oBF.HProcExchInterID = lngBillKey;
            oBF.HProcExchEntryID = lngBillSubKey;
            oBF.HBillSubType = "报废评审";
            oBF.txtHLotNo.Text = txtHProcExchBillNo.Text;
            oBF.txtHOrderProcNo.Text = txtHOrderProcNO.Text;
            oBF.txtHMaterID.Text = txtHMaterName.Text;
            oBF.txtHMaterNumber.Text = txtHMaterID.Text;
            oBF.txtHModel.Text = txtHMaterModel.Text;
            oBF.txtHMaterID.Tag = txtHMaterID.Tag;
            oBF.txtHProcID.Tag = txtHProcID.Tag;
            oBF.txtHProcID.Text = txtHProcID.Text;
            oBF.txtHWorkCenterID.Text = txtHCenterID.Text;
            oBF.txtHWorkCenterID.Tag = txtHCenterID.Tag;
            oBF.txtHICMOInterID.Text = Pub_Class.ClsPub.isStrNull(txtHICMOBillNo.Tag);
            oBF.txtHICMOBillNo.Text = txtHICMOBillNo.Text;
            oBF.txtHProcExchQty.Text = ClsPub.isStrNull(ClsPub.isDoule(txtHPlanQty.Text));
            oBF.txtHPlanQty.Text = ClsPub.isStrNull(ClsPub.isDoule(txtHBadCount.Text));
            oBF.txtHPlanPNL.Text = ClsPub.isStrNull(ClsPub.isDoule(txtHBadPNL.Text));
            oBF.txtHBadPNL.Text = ClsPub.isStrNull(ClsPub.isDoule(txtHBadPNL.Text));
            oBF.txtHBadQty.Text = ClsPub.isStrNull(ClsPub.isDoule(txtHWasterQty.Text));
            oBF.ShowDialog();
            if (oBF.BillChange)
            {
                this.Sub_ShowBill();
            }
        }
        private void label20_Click(object sender, EventArgs e)
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationOutBill.designer.cs
@@ -65,7 +65,9 @@
            this.tabPage2 = new System.Windows.Forms.TabPage();
            this.txtHSourceNameList = new System.Windows.Forms.TextBox();
            this.txtHGroupName = new System.Windows.Forms.TextBox();
            this.txtHBadCount = new System.Windows.Forms.TextBox();
            this.txtHQCCheckName = new System.Windows.Forms.TextBox();
            this.label17 = new System.Windows.Forms.Label();
            this.txtHQCCheckID = new System.Windows.Forms.TextBox();
            this.txtHSourceName = new System.Windows.Forms.TextBox();
            this.cmdHQCCheckID = new System.Windows.Forms.Button();
@@ -113,7 +115,6 @@
            this.tabPage3 = new System.Windows.Forms.TabPage();
            this.txtHDSQty = new System.Windows.Forms.TextBox();
            this.txtHPriceRate = new System.Windows.Forms.TextBox();
            this.txtHBadCount = new System.Windows.Forms.TextBox();
            this.txtHWWWorkOrderBillNo = new System.Windows.Forms.TextBox();
            this.txtHPlanPieceQty = new System.Windows.Forms.TextBox();
            this.txtHUnitChongQty = new System.Windows.Forms.TextBox();
@@ -138,7 +139,6 @@
            this.txtHSourceID2 = new System.Windows.Forms.TextBox();
            this.cmdHSourceID2 = new System.Windows.Forms.Button();
            this.label31 = new System.Windows.Forms.Label();
            this.label17 = new System.Windows.Forms.Label();
            this.label19 = new System.Windows.Forms.Label();
            this.label35 = new System.Windows.Forms.Label();
            this.label34 = new System.Windows.Forms.Label();
@@ -150,6 +150,7 @@
            this.label22 = new System.Windows.Forms.Label();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.panel1 = new System.Windows.Forms.Panel();
            this.cmdBFChecker = new System.Windows.Forms.Button();
            this.cmdXZ = new System.Windows.Forms.Button();
            this.cmdHPrintCusCard = new System.Windows.Forms.Button();
            this.cmdHPrint = new System.Windows.Forms.Button();
@@ -202,10 +203,9 @@
            this.cmdHMaterID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHMaterID.Enabled = false;
            this.cmdHMaterID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMaterID.Image")));
            this.cmdHMaterID.Location = new System.Drawing.Point(404, 151);
            this.cmdHMaterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHMaterID.Location = new System.Drawing.Point(303, 121);
            this.cmdHMaterID.Name = "cmdHMaterID";
            this.cmdHMaterID.Size = new System.Drawing.Size(35, 35);
            this.cmdHMaterID.Size = new System.Drawing.Size(26, 28);
            this.cmdHMaterID.TabIndex = 86;
            this.cmdHMaterID.TabStop = false;
            this.cmdHMaterID.UseVisualStyleBackColor = false;
@@ -218,11 +218,10 @@
            this.txtHMaterID.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHMaterID.ForeColor = System.Drawing.Color.Green;
            this.txtHMaterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterID.Location = new System.Drawing.Point(153, 151);
            this.txtHMaterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterID.Location = new System.Drawing.Point(115, 121);
            this.txtHMaterID.Name = "txtHMaterID";
            this.txtHMaterID.ReadOnly = true;
            this.txtHMaterID.Size = new System.Drawing.Size(249, 34);
            this.txtHMaterID.Size = new System.Drawing.Size(188, 28);
            this.txtHMaterID.TabIndex = 85;
            this.txtHMaterID.TabStop = false;
            this.txtHMaterID.Tag = "0";
@@ -234,10 +233,9 @@
            this.label16.BackColor = System.Drawing.Color.Gray;
            this.label16.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label16.ForeColor = System.Drawing.Color.Yellow;
            this.label16.Location = new System.Drawing.Point(16, 156);
            this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label16.Location = new System.Drawing.Point(12, 125);
            this.label16.Name = "label16";
            this.label16.Size = new System.Drawing.Size(112, 27);
            this.label16.Size = new System.Drawing.Size(90, 21);
            this.label16.TabIndex = 84;
            this.label16.Text = "产品代码:";
            // 
@@ -247,10 +245,9 @@
            this.label9.BackColor = System.Drawing.Color.Gray;
            this.label9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label9.ForeColor = System.Drawing.Color.Yellow;
            this.label9.Location = new System.Drawing.Point(453, 47);
            this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label9.Location = new System.Drawing.Point(340, 38);
            this.label9.Name = "label9";
            this.label9.Size = new System.Drawing.Size(112, 27);
            this.label9.Size = new System.Drawing.Size(90, 21);
            this.label9.TabIndex = 82;
            this.label9.Text = "汇报时间:";
            // 
@@ -259,10 +256,9 @@
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.ForeColor = System.Drawing.Color.Yellow;
            this.label2.Location = new System.Drawing.Point(16, 374);
            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label2.Location = new System.Drawing.Point(12, 299);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(104, 27);
            this.label2.Size = new System.Drawing.Size(84, 21);
            this.label2.TabIndex = 80;
            this.label2.Text = "ä»» åŠ¡ å•:";
            // 
@@ -271,11 +267,10 @@
            this.txtHICMOBillNo.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHICMOBillNo.ForeColor = System.Drawing.Color.Green;
            this.txtHICMOBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHICMOBillNo.Location = new System.Drawing.Point(153, 368);
            this.txtHICMOBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHICMOBillNo.Location = new System.Drawing.Point(115, 294);
            this.txtHICMOBillNo.Name = "txtHICMOBillNo";
            this.txtHICMOBillNo.ReadOnly = true;
            this.txtHICMOBillNo.Size = new System.Drawing.Size(249, 34);
            this.txtHICMOBillNo.Size = new System.Drawing.Size(188, 28);
            this.txtHICMOBillNo.TabIndex = 81;
            this.txtHICMOBillNo.TabStop = false;
            // 
@@ -284,11 +279,10 @@
            this.txtHProcExchBillNo.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHProcExchBillNo.ForeColor = System.Drawing.Color.Green;
            this.txtHProcExchBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcExchBillNo.Location = new System.Drawing.Point(153, 6);
            this.txtHProcExchBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHProcExchBillNo.Location = new System.Drawing.Point(115, 5);
            this.txtHProcExchBillNo.Name = "txtHProcExchBillNo";
            this.txtHProcExchBillNo.ReadOnly = true;
            this.txtHProcExchBillNo.Size = new System.Drawing.Size(249, 34);
            this.txtHProcExchBillNo.Size = new System.Drawing.Size(188, 28);
            this.txtHProcExchBillNo.TabIndex = 1;
            this.txtHProcExchBillNo.TabStop = false;
            this.txtHProcExchBillNo.Tag = "0";
@@ -300,10 +294,9 @@
            this.label1.BackColor = System.Drawing.Color.Gray;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.ForeColor = System.Drawing.Color.Yellow;
            this.label1.Location = new System.Drawing.Point(16, 11);
            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label1.Location = new System.Drawing.Point(12, 9);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(92, 27);
            this.label1.Size = new System.Drawing.Size(74, 21);
            this.label1.TabIndex = 87;
            this.label1.Text = "流转卡:";
            // 
@@ -313,11 +306,10 @@
            this.txtHMaterModel.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHMaterModel.ForeColor = System.Drawing.Color.Green;
            this.txtHMaterModel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterModel.Location = new System.Drawing.Point(153, 224);
            this.txtHMaterModel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterModel.Location = new System.Drawing.Point(115, 179);
            this.txtHMaterModel.Name = "txtHMaterModel";
            this.txtHMaterModel.ReadOnly = true;
            this.txtHMaterModel.Size = new System.Drawing.Size(249, 34);
            this.txtHMaterModel.Size = new System.Drawing.Size(188, 28);
            this.txtHMaterModel.TabIndex = 90;
            this.txtHMaterModel.TabStop = false;
            this.txtHMaterModel.Tag = "0";
@@ -328,10 +320,9 @@
            this.label3.BackColor = System.Drawing.Color.Gray;
            this.label3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label3.ForeColor = System.Drawing.Color.Yellow;
            this.label3.Location = new System.Drawing.Point(16, 228);
            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label3.Location = new System.Drawing.Point(12, 182);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(112, 27);
            this.label3.Size = new System.Drawing.Size(90, 21);
            this.label3.TabIndex = 89;
            this.label3.Text = "规格型号:";
            // 
@@ -339,10 +330,9 @@
            // 
            this.cmdHEmpID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHEmpID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID.Image")));
            this.cmdHEmpID.Location = new System.Drawing.Point(818, 151);
            this.cmdHEmpID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHEmpID.Location = new System.Drawing.Point(614, 121);
            this.cmdHEmpID.Name = "cmdHEmpID";
            this.cmdHEmpID.Size = new System.Drawing.Size(35, 35);
            this.cmdHEmpID.Size = new System.Drawing.Size(26, 28);
            this.cmdHEmpID.TabIndex = 93;
            this.cmdHEmpID.UseVisualStyleBackColor = false;
            this.cmdHEmpID.Click += new System.EventHandler(this.cmdHEmpID_Click);
@@ -352,10 +342,9 @@
            this.txtHEmpID.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID.Location = new System.Drawing.Point(568, 151);
            this.txtHEmpID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEmpID.Location = new System.Drawing.Point(426, 121);
            this.txtHEmpID.Name = "txtHEmpID";
            this.txtHEmpID.Size = new System.Drawing.Size(111, 34);
            this.txtHEmpID.Size = new System.Drawing.Size(84, 28);
            this.txtHEmpID.TabIndex = 2;
            this.txtHEmpID.Tag = "0";
            this.txtHEmpID.TextChanged += new System.EventHandler(this.txtHEmpID_TextChanged);
@@ -367,10 +356,9 @@
            this.label4.BackColor = System.Drawing.Color.Gray;
            this.label4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label4.ForeColor = System.Drawing.Color.Yellow;
            this.label4.Location = new System.Drawing.Point(453, 156);
            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label4.Location = new System.Drawing.Point(340, 125);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(104, 27);
            this.label4.Size = new System.Drawing.Size(84, 21);
            this.label4.TabIndex = 91;
            this.label4.Text = "操 ä½œ å‘˜ï¼š";
            // 
@@ -378,10 +366,9 @@
            // 
            this.cmdHSourceID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID.Image")));
            this.cmdHSourceID.Location = new System.Drawing.Point(401, 405);
            this.cmdHSourceID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHSourceID.Location = new System.Drawing.Point(301, 324);
            this.cmdHSourceID.Name = "cmdHSourceID";
            this.cmdHSourceID.Size = new System.Drawing.Size(35, 35);
            this.cmdHSourceID.Size = new System.Drawing.Size(26, 28);
            this.cmdHSourceID.TabIndex = 96;
            this.cmdHSourceID.TabStop = false;
            this.cmdHSourceID.UseVisualStyleBackColor = false;
@@ -392,10 +379,9 @@
            this.txtHSourceID.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHSourceID.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID.Location = new System.Drawing.Point(153, 405);
            this.txtHSourceID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceID.Location = new System.Drawing.Point(115, 324);
            this.txtHSourceID.Name = "txtHSourceID";
            this.txtHSourceID.Size = new System.Drawing.Size(121, 34);
            this.txtHSourceID.Size = new System.Drawing.Size(92, 28);
            this.txtHSourceID.TabIndex = 95;
            this.txtHSourceID.TabStop = false;
            this.txtHSourceID.Tag = "0";
@@ -407,10 +393,9 @@
            this.label5.AutoSize = true;
            this.label5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label5.ForeColor = System.Drawing.Color.Yellow;
            this.label5.Location = new System.Drawing.Point(16, 410);
            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label5.Location = new System.Drawing.Point(12, 328);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(112, 27);
            this.label5.Size = new System.Drawing.Size(90, 21);
            this.label5.TabIndex = 94;
            this.label5.Text = "生产资源:";
            // 
@@ -419,11 +404,10 @@
            this.txtHICMOQty.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHICMOQty.ForeColor = System.Drawing.Color.Green;
            this.txtHICMOQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHICMOQty.Location = new System.Drawing.Point(153, 332);
            this.txtHICMOQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHICMOQty.Location = new System.Drawing.Point(115, 266);
            this.txtHICMOQty.Name = "txtHICMOQty";
            this.txtHICMOQty.ReadOnly = true;
            this.txtHICMOQty.Size = new System.Drawing.Size(249, 34);
            this.txtHICMOQty.Size = new System.Drawing.Size(188, 28);
            this.txtHICMOQty.TabIndex = 98;
            this.txtHICMOQty.TabStop = false;
            this.txtHICMOQty.Tag = "0";
@@ -434,10 +418,9 @@
            this.label6.BackColor = System.Drawing.Color.Gray;
            this.label6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label6.ForeColor = System.Drawing.Color.Yellow;
            this.label6.Location = new System.Drawing.Point(485, 44);
            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label6.Location = new System.Drawing.Point(364, 35);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(135, 27);
            this.label6.Size = new System.Drawing.Size(109, 21);
            this.label6.TabIndex = 97;
            this.label6.Text = "进站 PCS数:";
            // 
@@ -446,11 +429,10 @@
            this.txtHPlanQty.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHPlanQty.ForeColor = System.Drawing.Color.Green;
            this.txtHPlanQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHPlanQty.Location = new System.Drawing.Point(168, 186);
            this.txtHPlanQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHPlanQty.Location = new System.Drawing.Point(126, 149);
            this.txtHPlanQty.Name = "txtHPlanQty";
            this.txtHPlanQty.ReadOnly = true;
            this.txtHPlanQty.Size = new System.Drawing.Size(248, 34);
            this.txtHPlanQty.Size = new System.Drawing.Size(187, 28);
            this.txtHPlanQty.TabIndex = 100;
            this.txtHPlanQty.TabStop = false;
            this.txtHPlanQty.Tag = "0";
@@ -461,10 +443,9 @@
            this.label7.BackColor = System.Drawing.Color.Gray;
            this.label7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label7.ForeColor = System.Drawing.Color.Yellow;
            this.label7.Location = new System.Drawing.Point(453, 192);
            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label7.Location = new System.Drawing.Point(340, 154);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(112, 27);
            this.label7.Size = new System.Drawing.Size(90, 21);
            this.label7.TabIndex = 99;
            this.label7.Text = "合格数量:";
            // 
@@ -472,10 +453,9 @@
            // 
            this.cmdHGroupID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHGroupID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHGroupID.Image")));
            this.cmdHGroupID.Location = new System.Drawing.Point(818, 6);
            this.cmdHGroupID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHGroupID.Location = new System.Drawing.Point(614, 5);
            this.cmdHGroupID.Name = "cmdHGroupID";
            this.cmdHGroupID.Size = new System.Drawing.Size(35, 35);
            this.cmdHGroupID.Size = new System.Drawing.Size(26, 28);
            this.cmdHGroupID.TabIndex = 103;
            this.cmdHGroupID.UseVisualStyleBackColor = false;
            this.cmdHGroupID.Click += new System.EventHandler(this.cmdHGroupID_Click);
@@ -486,10 +466,9 @@
            this.txtHGroupID.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHGroupID.ForeColor = System.Drawing.Color.Green;
            this.txtHGroupID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHGroupID.Location = new System.Drawing.Point(568, 6);
            this.txtHGroupID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHGroupID.Location = new System.Drawing.Point(426, 5);
            this.txtHGroupID.Name = "txtHGroupID";
            this.txtHGroupID.Size = new System.Drawing.Size(111, 34);
            this.txtHGroupID.Size = new System.Drawing.Size(84, 28);
            this.txtHGroupID.TabIndex = 102;
            this.txtHGroupID.TabStop = false;
            this.txtHGroupID.Tag = "0";
@@ -501,10 +480,9 @@
            this.label8.AutoSize = true;
            this.label8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label8.ForeColor = System.Drawing.Color.Yellow;
            this.label8.Location = new System.Drawing.Point(453, 11);
            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label8.Location = new System.Drawing.Point(340, 9);
            this.label8.Name = "label8";
            this.label8.Size = new System.Drawing.Size(112, 27);
            this.label8.Size = new System.Drawing.Size(90, 21);
            this.label8.TabIndex = 101;
            this.label8.Text = "生产班组:";
            // 
@@ -513,10 +491,9 @@
            this.cmdHProcID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHProcID.Enabled = false;
            this.cmdHProcID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHProcID.Image")));
            this.cmdHProcID.Location = new System.Drawing.Point(404, 115);
            this.cmdHProcID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHProcID.Location = new System.Drawing.Point(303, 92);
            this.cmdHProcID.Name = "cmdHProcID";
            this.cmdHProcID.Size = new System.Drawing.Size(35, 35);
            this.cmdHProcID.Size = new System.Drawing.Size(26, 28);
            this.cmdHProcID.TabIndex = 106;
            this.cmdHProcID.TabStop = false;
            this.cmdHProcID.UseVisualStyleBackColor = false;
@@ -529,11 +506,10 @@
            this.txtHProcID.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHProcID.ForeColor = System.Drawing.Color.Green;
            this.txtHProcID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcID.Location = new System.Drawing.Point(153, 115);
            this.txtHProcID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHProcID.Location = new System.Drawing.Point(115, 92);
            this.txtHProcID.Name = "txtHProcID";
            this.txtHProcID.ReadOnly = true;
            this.txtHProcID.Size = new System.Drawing.Size(249, 34);
            this.txtHProcID.Size = new System.Drawing.Size(188, 28);
            this.txtHProcID.TabIndex = 105;
            this.txtHProcID.TabStop = false;
            this.txtHProcID.Tag = "0";
@@ -546,10 +522,9 @@
            this.label10.BackColor = System.Drawing.Color.Gray;
            this.label10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label10.ForeColor = System.Drawing.Color.Yellow;
            this.label10.Location = new System.Drawing.Point(16, 120);
            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label10.Location = new System.Drawing.Point(12, 96);
            this.label10.Name = "label10";
            this.label10.Size = new System.Drawing.Size(112, 27);
            this.label10.Size = new System.Drawing.Size(90, 21);
            this.label10.TabIndex = 104;
            this.label10.Text = "当前工序:";
            // 
@@ -559,11 +534,10 @@
            this.txtHMaterName.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHMaterName.ForeColor = System.Drawing.Color.Green;
            this.txtHMaterName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMaterName.Location = new System.Drawing.Point(153, 187);
            this.txtHMaterName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMaterName.Location = new System.Drawing.Point(115, 150);
            this.txtHMaterName.Name = "txtHMaterName";
            this.txtHMaterName.ReadOnly = true;
            this.txtHMaterName.Size = new System.Drawing.Size(249, 34);
            this.txtHMaterName.Size = new System.Drawing.Size(188, 28);
            this.txtHMaterName.TabIndex = 108;
            this.txtHMaterName.TabStop = false;
            this.txtHMaterName.Tag = "0";
@@ -574,10 +548,9 @@
            this.label11.BackColor = System.Drawing.Color.Gray;
            this.label11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label11.ForeColor = System.Drawing.Color.Yellow;
            this.label11.Location = new System.Drawing.Point(16, 192);
            this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label11.Location = new System.Drawing.Point(12, 154);
            this.label11.Name = "label11";
            this.label11.Size = new System.Drawing.Size(112, 27);
            this.label11.Size = new System.Drawing.Size(90, 21);
            this.label11.TabIndex = 107;
            this.label11.Text = "产品名称:";
            // 
@@ -588,10 +561,8 @@
            this.gbUp.Controls.Add(this.tabControl2);
            this.gbUp.Dock = System.Windows.Forms.DockStyle.Top;
            this.gbUp.Location = new System.Drawing.Point(0, 0);
            this.gbUp.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.gbUp.Name = "gbUp";
            this.gbUp.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.gbUp.Size = new System.Drawing.Size(935, 606);
            this.gbUp.Size = new System.Drawing.Size(935, 485);
            this.gbUp.TabIndex = 114;
            this.gbUp.TabStop = false;
            // 
@@ -601,11 +572,11 @@
            this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.groupBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.groupBox1.ForeColor = System.Drawing.Color.Yellow;
            this.groupBox1.Location = new System.Drawing.Point(903, 22);
            this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.groupBox1.Location = new System.Drawing.Point(677, 17);
            this.groupBox1.Margin = new System.Windows.Forms.Padding(2);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.groupBox1.Size = new System.Drawing.Size(28, 580);
            this.groupBox1.Padding = new System.Windows.Forms.Padding(2);
            this.groupBox1.Size = new System.Drawing.Size(255, 465);
            this.groupBox1.TabIndex = 181;
            this.groupBox1.TabStop = false;
            this.groupBox1.Text = "本站工单";
@@ -614,12 +585,12 @@
            // 
            this.grdCardList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdCardList.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdCardList.Location = new System.Drawing.Point(3, 25);
            this.grdCardList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.grdCardList.Location = new System.Drawing.Point(2, 21);
            this.grdCardList.Margin = new System.Windows.Forms.Padding(2);
            this.grdCardList.Name = "grdCardList";
            this.grdCardList.RowHeadersWidth = 51;
            this.grdCardList.RowTemplate.Height = 27;
            this.grdCardList.Size = new System.Drawing.Size(22, 553);
            this.grdCardList.Size = new System.Drawing.Size(251, 442);
            this.grdCardList.TabIndex = 150;
            // 
            // tabControl2
@@ -627,11 +598,11 @@
            this.tabControl2.Controls.Add(this.tabPage2);
            this.tabControl2.Controls.Add(this.tabPage3);
            this.tabControl2.Dock = System.Windows.Forms.DockStyle.Left;
            this.tabControl2.Location = new System.Drawing.Point(4, 22);
            this.tabControl2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabControl2.Location = new System.Drawing.Point(3, 17);
            this.tabControl2.Margin = new System.Windows.Forms.Padding(2);
            this.tabControl2.Name = "tabControl2";
            this.tabControl2.SelectedIndex = 0;
            this.tabControl2.Size = new System.Drawing.Size(899, 580);
            this.tabControl2.Size = new System.Drawing.Size(674, 465);
            this.tabControl2.TabIndex = 180;
            // 
            // tabPage2
@@ -712,11 +683,11 @@
            this.tabPage2.Controls.Add(this.label8);
            this.tabPage2.Controls.Add(this.label18);
            this.tabPage2.Controls.Add(this.label25);
            this.tabPage2.Location = new System.Drawing.Point(4, 25);
            this.tabPage2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage2.Location = new System.Drawing.Point(4, 22);
            this.tabPage2.Margin = new System.Windows.Forms.Padding(2);
            this.tabPage2.Name = "tabPage2";
            this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage2.Size = new System.Drawing.Size(891, 551);
            this.tabPage2.Padding = new System.Windows.Forms.Padding(2);
            this.tabPage2.Size = new System.Drawing.Size(666, 439);
            this.tabPage2.TabIndex = 0;
            this.tabPage2.Text = "基本信息";
            // 
@@ -725,10 +696,9 @@
            this.txtHSourceNameList.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHSourceNameList.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceNameList.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceNameList.Location = new System.Drawing.Point(153, 441);
            this.txtHSourceNameList.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceNameList.Location = new System.Drawing.Point(115, 353);
            this.txtHSourceNameList.Name = "txtHSourceNameList";
            this.txtHSourceNameList.Size = new System.Drawing.Size(249, 34);
            this.txtHSourceNameList.Size = new System.Drawing.Size(188, 28);
            this.txtHSourceNameList.TabIndex = 180;
            this.txtHSourceNameList.TabStop = false;
            this.txtHSourceNameList.Tag = "0";
@@ -739,14 +709,26 @@
            this.txtHGroupName.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHGroupName.ForeColor = System.Drawing.Color.Green;
            this.txtHGroupName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHGroupName.Location = new System.Drawing.Point(680, 6);
            this.txtHGroupName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHGroupName.Location = new System.Drawing.Point(510, 5);
            this.txtHGroupName.Name = "txtHGroupName";
            this.txtHGroupName.ReadOnly = true;
            this.txtHGroupName.Size = new System.Drawing.Size(137, 34);
            this.txtHGroupName.Size = new System.Drawing.Size(104, 28);
            this.txtHGroupName.TabIndex = 178;
            this.txtHGroupName.TabStop = false;
            this.txtHGroupName.Tag = "0";
            //
            // txtHBadCount
            //
            this.txtHBadCount.BackColor = System.Drawing.SystemColors.Window;
            this.txtHBadCount.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBadCount.ForeColor = System.Drawing.Color.Green;
            this.txtHBadCount.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBadCount.Location = new System.Drawing.Point(426, 208);
            this.txtHBadCount.Name = "txtHBadCount";
            this.txtHBadCount.Size = new System.Drawing.Size(187, 28);
            this.txtHBadCount.TabIndex = 114;
            this.txtHBadCount.TabStop = false;
            this.txtHBadCount.Tag = "0";
            // 
            // txtHQCCheckName
            // 
@@ -754,23 +736,32 @@
            this.txtHQCCheckName.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHQCCheckName.ForeColor = System.Drawing.Color.Green;
            this.txtHQCCheckName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHQCCheckName.Location = new System.Drawing.Point(681, 221);
            this.txtHQCCheckName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHQCCheckName.Location = new System.Drawing.Point(511, 177);
            this.txtHQCCheckName.Name = "txtHQCCheckName";
            this.txtHQCCheckName.ReadOnly = true;
            this.txtHQCCheckName.Size = new System.Drawing.Size(137, 38);
            this.txtHQCCheckName.Size = new System.Drawing.Size(104, 32);
            this.txtHQCCheckName.TabIndex = 177;
            this.txtHQCCheckName.TabStop = false;
            //
            // label17
            //
            this.label17.AutoSize = true;
            this.label17.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label17.ForeColor = System.Drawing.Color.Yellow;
            this.label17.Location = new System.Drawing.Point(340, 212);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(90, 21);
            this.label17.TabIndex = 113;
            this.label17.Text = "不良数量:";
            // 
            // txtHQCCheckID
            // 
            this.txtHQCCheckID.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHQCCheckID.ForeColor = System.Drawing.Color.Green;
            this.txtHQCCheckID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHQCCheckID.Location = new System.Drawing.Point(568, 224);
            this.txtHQCCheckID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHQCCheckID.Location = new System.Drawing.Point(426, 179);
            this.txtHQCCheckID.Name = "txtHQCCheckID";
            this.txtHQCCheckID.Size = new System.Drawing.Size(111, 34);
            this.txtHQCCheckID.Size = new System.Drawing.Size(84, 28);
            this.txtHQCCheckID.TabIndex = 174;
            this.txtHQCCheckID.Tag = "0";
            this.txtHQCCheckID.TextChanged += new System.EventHandler(this.txtHQCCheckID_TextChanged);
@@ -781,11 +772,10 @@
            this.txtHSourceName.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHSourceName.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceName.Location = new System.Drawing.Point(277, 405);
            this.txtHSourceName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceName.Location = new System.Drawing.Point(208, 324);
            this.txtHSourceName.Name = "txtHSourceName";
            this.txtHSourceName.ReadOnly = true;
            this.txtHSourceName.Size = new System.Drawing.Size(125, 34);
            this.txtHSourceName.Size = new System.Drawing.Size(95, 28);
            this.txtHSourceName.TabIndex = 1;
            this.txtHSourceName.Tag = "0";
            this.txtHSourceName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHSourceName_KeyDown);
@@ -794,10 +784,9 @@
            // 
            this.cmdHQCCheckID.BackColor = System.Drawing.Color.Transparent;
            this.cmdHQCCheckID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHQCCheckID.Image")));
            this.cmdHQCCheckID.Location = new System.Drawing.Point(818, 224);
            this.cmdHQCCheckID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHQCCheckID.Location = new System.Drawing.Point(614, 179);
            this.cmdHQCCheckID.Name = "cmdHQCCheckID";
            this.cmdHQCCheckID.Size = new System.Drawing.Size(35, 35);
            this.cmdHQCCheckID.Size = new System.Drawing.Size(26, 28);
            this.cmdHQCCheckID.TabIndex = 176;
            this.cmdHQCCheckID.UseVisualStyleBackColor = false;
            this.cmdHQCCheckID.Visible = false;
@@ -809,10 +798,9 @@
            this.txtHWorkTimes.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHWorkTimes.ForeColor = System.Drawing.Color.Green;
            this.txtHWorkTimes.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHWorkTimes.Location = new System.Drawing.Point(568, 296);
            this.txtHWorkTimes.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHWorkTimes.Location = new System.Drawing.Point(426, 237);
            this.txtHWorkTimes.Name = "txtHWorkTimes";
            this.txtHWorkTimes.Size = new System.Drawing.Size(249, 34);
            this.txtHWorkTimes.Size = new System.Drawing.Size(188, 28);
            this.txtHWorkTimes.TabIndex = 172;
            this.txtHWorkTimes.Tag = "0";
            // 
@@ -821,10 +809,9 @@
            this.txtHMouldNum.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHMouldNum.ForeColor = System.Drawing.Color.Green;
            this.txtHMouldNum.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHMouldNum.Location = new System.Drawing.Point(153, 477);
            this.txtHMouldNum.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHMouldNum.Location = new System.Drawing.Point(115, 382);
            this.txtHMouldNum.Name = "txtHMouldNum";
            this.txtHMouldNum.Size = new System.Drawing.Size(249, 34);
            this.txtHMouldNum.Size = new System.Drawing.Size(188, 28);
            this.txtHMouldNum.TabIndex = 171;
            this.txtHMouldNum.TabStop = false;
            this.txtHMouldNum.Tag = "0";
@@ -835,11 +822,10 @@
            this.txtHEmpName5.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpName5.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpName5.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpName5.Location = new System.Drawing.Point(680, 438);
            this.txtHEmpName5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEmpName5.Location = new System.Drawing.Point(510, 350);
            this.txtHEmpName5.Name = "txtHEmpName5";
            this.txtHEmpName5.ReadOnly = true;
            this.txtHEmpName5.Size = new System.Drawing.Size(137, 38);
            this.txtHEmpName5.Size = new System.Drawing.Size(104, 32);
            this.txtHEmpName5.TabIndex = 167;
            this.txtHEmpName5.TabStop = false;
            // 
@@ -849,11 +835,10 @@
            this.txtHEmpName4.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpName4.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpName4.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpName4.Location = new System.Drawing.Point(680, 402);
            this.txtHEmpName4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEmpName4.Location = new System.Drawing.Point(510, 322);
            this.txtHEmpName4.Name = "txtHEmpName4";
            this.txtHEmpName4.ReadOnly = true;
            this.txtHEmpName4.Size = new System.Drawing.Size(137, 38);
            this.txtHEmpName4.Size = new System.Drawing.Size(104, 32);
            this.txtHEmpName4.TabIndex = 166;
            this.txtHEmpName4.TabStop = false;
            // 
@@ -863,11 +848,10 @@
            this.txtHEmpName3.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpName3.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpName3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpName3.Location = new System.Drawing.Point(680, 366);
            this.txtHEmpName3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEmpName3.Location = new System.Drawing.Point(510, 293);
            this.txtHEmpName3.Name = "txtHEmpName3";
            this.txtHEmpName3.ReadOnly = true;
            this.txtHEmpName3.Size = new System.Drawing.Size(137, 38);
            this.txtHEmpName3.Size = new System.Drawing.Size(104, 32);
            this.txtHEmpName3.TabIndex = 165;
            this.txtHEmpName3.TabStop = false;
            // 
@@ -877,11 +861,10 @@
            this.txtHEmpName2.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpName2.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpName2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpName2.Location = new System.Drawing.Point(680, 330);
            this.txtHEmpName2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEmpName2.Location = new System.Drawing.Point(510, 264);
            this.txtHEmpName2.Name = "txtHEmpName2";
            this.txtHEmpName2.ReadOnly = true;
            this.txtHEmpName2.Size = new System.Drawing.Size(137, 38);
            this.txtHEmpName2.Size = new System.Drawing.Size(104, 32);
            this.txtHEmpName2.TabIndex = 164;
            this.txtHEmpName2.TabStop = false;
            // 
@@ -891,11 +874,10 @@
            this.txtHBillNo.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBillNo.ForeColor = System.Drawing.Color.Green;
            this.txtHBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBillNo.Location = new System.Drawing.Point(153, 260);
            this.txtHBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHBillNo.Location = new System.Drawing.Point(115, 208);
            this.txtHBillNo.Name = "txtHBillNo";
            this.txtHBillNo.ReadOnly = true;
            this.txtHBillNo.Size = new System.Drawing.Size(249, 34);
            this.txtHBillNo.Size = new System.Drawing.Size(188, 28);
            this.txtHBillNo.TabIndex = 117;
            this.txtHBillNo.TabStop = false;
            // 
@@ -903,10 +885,9 @@
            // 
            this.cmdHEmpID5.BackColor = System.Drawing.Color.Transparent;
            this.cmdHEmpID5.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID5.Image")));
            this.cmdHEmpID5.Location = new System.Drawing.Point(818, 441);
            this.cmdHEmpID5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHEmpID5.Location = new System.Drawing.Point(614, 353);
            this.cmdHEmpID5.Name = "cmdHEmpID5";
            this.cmdHEmpID5.Size = new System.Drawing.Size(35, 35);
            this.cmdHEmpID5.Size = new System.Drawing.Size(26, 28);
            this.cmdHEmpID5.TabIndex = 162;
            this.cmdHEmpID5.UseVisualStyleBackColor = false;
            this.cmdHEmpID5.Click += new System.EventHandler(this.cmdHEmpID5_Click);
@@ -917,11 +898,10 @@
            this.txtHCenterID.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHCenterID.ForeColor = System.Drawing.Color.Green;
            this.txtHCenterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHCenterID.Location = new System.Drawing.Point(153, 78);
            this.txtHCenterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHCenterID.Location = new System.Drawing.Point(115, 62);
            this.txtHCenterID.Name = "txtHCenterID";
            this.txtHCenterID.ReadOnly = true;
            this.txtHCenterID.Size = new System.Drawing.Size(249, 34);
            this.txtHCenterID.Size = new System.Drawing.Size(188, 28);
            this.txtHCenterID.TabIndex = 141;
            this.txtHCenterID.TabStop = false;
            // 
@@ -929,10 +909,9 @@
            // 
            this.cmdHEmpID4.BackColor = System.Drawing.Color.Transparent;
            this.cmdHEmpID4.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID4.Image")));
            this.cmdHEmpID4.Location = new System.Drawing.Point(818, 405);
            this.cmdHEmpID4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHEmpID4.Location = new System.Drawing.Point(614, 324);
            this.cmdHEmpID4.Name = "cmdHEmpID4";
            this.cmdHEmpID4.Size = new System.Drawing.Size(35, 35);
            this.cmdHEmpID4.Size = new System.Drawing.Size(26, 28);
            this.cmdHEmpID4.TabIndex = 159;
            this.cmdHEmpID4.UseVisualStyleBackColor = false;
            this.cmdHEmpID4.Click += new System.EventHandler(this.cmdHEmpID4_Click);
@@ -941,10 +920,9 @@
            // 
            this.cmdHEmpID3.BackColor = System.Drawing.Color.Transparent;
            this.cmdHEmpID3.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID3.Image")));
            this.cmdHEmpID3.Location = new System.Drawing.Point(818, 368);
            this.cmdHEmpID3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHEmpID3.Location = new System.Drawing.Point(614, 294);
            this.cmdHEmpID3.Name = "cmdHEmpID3";
            this.cmdHEmpID3.Size = new System.Drawing.Size(35, 35);
            this.cmdHEmpID3.Size = new System.Drawing.Size(26, 28);
            this.cmdHEmpID3.TabIndex = 156;
            this.cmdHEmpID3.UseVisualStyleBackColor = false;
            this.cmdHEmpID3.Click += new System.EventHandler(this.cmdHEmpID3_Click);
@@ -954,10 +932,9 @@
            this.txtHProcNo.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHProcNo.ForeColor = System.Drawing.Color.Green;
            this.txtHProcNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHProcNo.Location = new System.Drawing.Point(153, 42);
            this.txtHProcNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHProcNo.Location = new System.Drawing.Point(115, 34);
            this.txtHProcNo.Name = "txtHProcNo";
            this.txtHProcNo.Size = new System.Drawing.Size(249, 34);
            this.txtHProcNo.Size = new System.Drawing.Size(188, 28);
            this.txtHProcNo.TabIndex = 145;
            this.txtHProcNo.TabStop = false;
            this.txtHProcNo.Tag = "0";
@@ -967,10 +944,9 @@
            // 
            this.cmdHEmpID2.BackColor = System.Drawing.Color.Transparent;
            this.cmdHEmpID2.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID2.Image")));
            this.cmdHEmpID2.Location = new System.Drawing.Point(818, 332);
            this.cmdHEmpID2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHEmpID2.Location = new System.Drawing.Point(614, 266);
            this.cmdHEmpID2.Name = "cmdHEmpID2";
            this.cmdHEmpID2.Size = new System.Drawing.Size(35, 35);
            this.cmdHEmpID2.Size = new System.Drawing.Size(26, 28);
            this.cmdHEmpID2.TabIndex = 153;
            this.cmdHEmpID2.UseVisualStyleBackColor = false;
            this.cmdHEmpID2.Click += new System.EventHandler(this.cmdHEmpID2_Click);
@@ -980,10 +956,9 @@
            this.txtHRemark.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHRemark.ForeColor = System.Drawing.Color.Green;
            this.txtHRemark.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHRemark.Location = new System.Drawing.Point(568, 115);
            this.txtHRemark.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHRemark.Location = new System.Drawing.Point(426, 92);
            this.txtHRemark.Name = "txtHRemark";
            this.txtHRemark.Size = new System.Drawing.Size(249, 34);
            this.txtHRemark.Size = new System.Drawing.Size(188, 28);
            this.txtHRemark.TabIndex = 169;
            this.txtHRemark.TabStop = false;
            this.txtHRemark.Tag = "0";
@@ -993,10 +968,9 @@
            this.txtHEmpID5.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID5.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpID5.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID5.Location = new System.Drawing.Point(568, 441);
            this.txtHEmpID5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEmpID5.Location = new System.Drawing.Point(426, 353);
            this.txtHEmpID5.Name = "txtHEmpID5";
            this.txtHEmpID5.Size = new System.Drawing.Size(111, 34);
            this.txtHEmpID5.Size = new System.Drawing.Size(84, 28);
            this.txtHEmpID5.TabIndex = 160;
            this.txtHEmpID5.Tag = "0";
            this.txtHEmpID5.TextChanged += new System.EventHandler(this.txtHEmpID5_TextChanged);
@@ -1008,11 +982,10 @@
            this.txtHOrderProcNO.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHOrderProcNO.ForeColor = System.Drawing.Color.Green;
            this.txtHOrderProcNO.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHOrderProcNO.Location = new System.Drawing.Point(153, 296);
            this.txtHOrderProcNO.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHOrderProcNO.Location = new System.Drawing.Point(115, 237);
            this.txtHOrderProcNO.Name = "txtHOrderProcNO";
            this.txtHOrderProcNO.ReadOnly = true;
            this.txtHOrderProcNO.Size = new System.Drawing.Size(249, 34);
            this.txtHOrderProcNO.Size = new System.Drawing.Size(188, 28);
            this.txtHOrderProcNO.TabIndex = 147;
            this.txtHOrderProcNO.TabStop = false;
            this.txtHOrderProcNO.Tag = "0";
@@ -1022,10 +995,9 @@
            this.txtHEmpID4.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID4.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpID4.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID4.Location = new System.Drawing.Point(568, 405);
            this.txtHEmpID4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEmpID4.Location = new System.Drawing.Point(426, 324);
            this.txtHEmpID4.Name = "txtHEmpID4";
            this.txtHEmpID4.Size = new System.Drawing.Size(111, 34);
            this.txtHEmpID4.Size = new System.Drawing.Size(84, 28);
            this.txtHEmpID4.TabIndex = 157;
            this.txtHEmpID4.Tag = "0";
            this.txtHEmpID4.TextChanged += new System.EventHandler(this.txtHEmpID4_TextChanged);
@@ -1036,10 +1008,9 @@
            this.txtHEmpID3.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID3.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpID3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID3.Location = new System.Drawing.Point(568, 368);
            this.txtHEmpID3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEmpID3.Location = new System.Drawing.Point(426, 294);
            this.txtHEmpID3.Name = "txtHEmpID3";
            this.txtHEmpID3.Size = new System.Drawing.Size(111, 34);
            this.txtHEmpID3.Size = new System.Drawing.Size(84, 28);
            this.txtHEmpID3.TabIndex = 154;
            this.txtHEmpID3.Tag = "0";
            this.txtHEmpID3.TextChanged += new System.EventHandler(this.txtHEmpID3_TextChanged);
@@ -1051,11 +1022,10 @@
            this.txtHEmpName.Font = new System.Drawing.Font("微软雅黑", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpName.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpName.Location = new System.Drawing.Point(681, 148);
            this.txtHEmpName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEmpName.Location = new System.Drawing.Point(511, 118);
            this.txtHEmpName.Name = "txtHEmpName";
            this.txtHEmpName.ReadOnly = true;
            this.txtHEmpName.Size = new System.Drawing.Size(137, 38);
            this.txtHEmpName.Size = new System.Drawing.Size(104, 32);
            this.txtHEmpName.TabIndex = 163;
            this.txtHEmpName.TabStop = false;
            // 
@@ -1064,10 +1034,9 @@
            this.txtHEmpID2.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHEmpID2.ForeColor = System.Drawing.Color.Green;
            this.txtHEmpID2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHEmpID2.Location = new System.Drawing.Point(568, 332);
            this.txtHEmpID2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHEmpID2.Location = new System.Drawing.Point(426, 266);
            this.txtHEmpID2.Name = "txtHEmpID2";
            this.txtHEmpID2.Size = new System.Drawing.Size(111, 34);
            this.txtHEmpID2.Size = new System.Drawing.Size(84, 28);
            this.txtHEmpID2.TabIndex = 151;
            this.txtHEmpID2.Tag = "0";
            this.txtHEmpID2.TextChanged += new System.EventHandler(this.txtHEmpID2_TextChanged);
@@ -1079,11 +1048,10 @@
            this.txtHStationOutTime.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHStationOutTime.ForeColor = System.Drawing.Color.Green;
            this.txtHStationOutTime.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHStationOutTime.Location = new System.Drawing.Point(568, 42);
            this.txtHStationOutTime.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHStationOutTime.Location = new System.Drawing.Point(426, 34);
            this.txtHStationOutTime.Name = "txtHStationOutTime";
            this.txtHStationOutTime.ReadOnly = true;
            this.txtHStationOutTime.Size = new System.Drawing.Size(249, 34);
            this.txtHStationOutTime.Size = new System.Drawing.Size(188, 28);
            this.txtHStationOutTime.TabIndex = 112;
            this.txtHStationOutTime.TabStop = false;
            this.txtHStationOutTime.Tag = "0";
@@ -1093,10 +1061,9 @@
            this.txtHQty.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHQty.ForeColor = System.Drawing.Color.Green;
            this.txtHQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHQty.Location = new System.Drawing.Point(568, 187);
            this.txtHQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHQty.Location = new System.Drawing.Point(426, 150);
            this.txtHQty.Name = "txtHQty";
            this.txtHQty.Size = new System.Drawing.Size(249, 34);
            this.txtHQty.Size = new System.Drawing.Size(188, 28);
            this.txtHQty.TabIndex = 4;
            this.txtHQty.Tag = "0";
            this.txtHQty.TextChanged += new System.EventHandler(this.txtHQty_TextChanged);
@@ -1110,10 +1077,9 @@
            this.txtHWasterQty.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHWasterQty.ForeColor = System.Drawing.Color.Green;
            this.txtHWasterQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHWasterQty.Location = new System.Drawing.Point(568, 477);
            this.txtHWasterQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHWasterQty.Location = new System.Drawing.Point(426, 382);
            this.txtHWasterQty.Name = "txtHWasterQty";
            this.txtHWasterQty.Size = new System.Drawing.Size(249, 34);
            this.txtHWasterQty.Size = new System.Drawing.Size(188, 28);
            this.txtHWasterQty.TabIndex = 5;
            this.txtHWasterQty.Tag = "0";
            this.txtHWasterQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHWasterQty_KeyDown);
@@ -1125,10 +1091,9 @@
            this.txtHPayProcID.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHPayProcID.ForeColor = System.Drawing.Color.Green;
            this.txtHPayProcID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHPayProcID.Location = new System.Drawing.Point(568, 78);
            this.txtHPayProcID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHPayProcID.Location = new System.Drawing.Point(426, 62);
            this.txtHPayProcID.Name = "txtHPayProcID";
            this.txtHPayProcID.Size = new System.Drawing.Size(167, 34);
            this.txtHPayProcID.Size = new System.Drawing.Size(126, 28);
            this.txtHPayProcID.TabIndex = 149;
            this.txtHPayProcID.TabStop = false;
            this.txtHPayProcID.Tag = "0";
@@ -1143,10 +1108,10 @@
            this.chkHLastSubProc.Enabled = false;
            this.chkHLastSubProc.Font = new System.Drawing.Font("宋体", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.chkHLastSubProc.ForeColor = System.Drawing.Color.Yellow;
            this.chkHLastSubProc.Location = new System.Drawing.Point(742, 85);
            this.chkHLastSubProc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.chkHLastSubProc.Location = new System.Drawing.Point(556, 68);
            this.chkHLastSubProc.Margin = new System.Windows.Forms.Padding(2);
            this.chkHLastSubProc.Name = "chkHLastSubProc";
            this.chkHLastSubProc.Size = new System.Drawing.Size(111, 23);
            this.chkHLastSubProc.Size = new System.Drawing.Size(90, 19);
            this.chkHLastSubProc.TabIndex = 150;
            this.chkHLastSubProc.Text = "转下工序";
            this.chkHLastSubProc.UseVisualStyleBackColor = true;
@@ -1156,10 +1121,9 @@
            this.label40.AutoSize = true;
            this.label40.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label40.ForeColor = System.Drawing.Color.Yellow;
            this.label40.Location = new System.Drawing.Point(14, 446);
            this.label40.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label40.Location = new System.Drawing.Point(10, 357);
            this.label40.Name = "label40";
            this.label40.Size = new System.Drawing.Size(112, 27);
            this.label40.Size = new System.Drawing.Size(90, 21);
            this.label40.TabIndex = 179;
            this.label40.Text = "设备清单:";
            // 
@@ -1169,10 +1133,9 @@
            this.label39.BackColor = System.Drawing.Color.Gray;
            this.label39.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label39.ForeColor = System.Drawing.Color.Yellow;
            this.label39.Location = new System.Drawing.Point(453, 228);
            this.label39.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label39.Location = new System.Drawing.Point(340, 182);
            this.label39.Name = "label39";
            this.label39.Size = new System.Drawing.Size(110, 27);
            this.label39.Size = new System.Drawing.Size(89, 21);
            this.label39.TabIndex = 175;
            this.label39.Text = "检  éªŒ å‘˜ï¼š";
            this.label39.Click += new System.EventHandler(this.label39_Click);
@@ -1183,10 +1146,9 @@
            this.label38.BackColor = System.Drawing.Color.Gray;
            this.label38.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label38.ForeColor = System.Drawing.Color.Yellow;
            this.label38.Location = new System.Drawing.Point(453, 301);
            this.label38.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label38.Location = new System.Drawing.Point(340, 241);
            this.label38.Name = "label38";
            this.label38.Size = new System.Drawing.Size(72, 27);
            this.label38.Size = new System.Drawing.Size(58, 21);
            this.label38.TabIndex = 173;
            this.label38.Text = "工时:";
            // 
@@ -1195,10 +1157,9 @@
            this.label37.AutoSize = true;
            this.label37.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label37.ForeColor = System.Drawing.Color.Yellow;
            this.label37.Location = new System.Drawing.Point(16, 484);
            this.label37.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label37.Location = new System.Drawing.Point(12, 387);
            this.label37.Name = "label37";
            this.label37.Size = new System.Drawing.Size(92, 27);
            this.label37.Size = new System.Drawing.Size(74, 21);
            this.label37.TabIndex = 170;
            this.label37.Text = "模穴号:";
            // 
@@ -1208,10 +1169,9 @@
            this.label13.BackColor = System.Drawing.Color.Gray;
            this.label13.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label13.ForeColor = System.Drawing.Color.Yellow;
            this.label13.Location = new System.Drawing.Point(16, 337);
            this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label13.Location = new System.Drawing.Point(12, 270);
            this.label13.Name = "label13";
            this.label13.Size = new System.Drawing.Size(132, 27);
            this.label13.Size = new System.Drawing.Size(106, 21);
            this.label13.TabIndex = 119;
            this.label13.Text = "任务单数量:";
            // 
@@ -1221,10 +1181,9 @@
            this.label12.BackColor = System.Drawing.Color.Gray;
            this.label12.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label12.ForeColor = System.Drawing.Color.Yellow;
            this.label12.Location = new System.Drawing.Point(16, 265);
            this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label12.Location = new System.Drawing.Point(12, 212);
            this.label12.Name = "label12";
            this.label12.Size = new System.Drawing.Size(104, 27);
            this.label12.Size = new System.Drawing.Size(84, 21);
            this.label12.TabIndex = 116;
            this.label12.Text = "单 æ® å·ï¼š";
            // 
@@ -1234,10 +1193,9 @@
            this.label20.BackColor = System.Drawing.Color.Gray;
            this.label20.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label20.ForeColor = System.Drawing.Color.Yellow;
            this.label20.Location = new System.Drawing.Point(16, 84);
            this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label20.Location = new System.Drawing.Point(12, 67);
            this.label20.Name = "label20";
            this.label20.Size = new System.Drawing.Size(112, 27);
            this.label20.Size = new System.Drawing.Size(90, 21);
            this.label20.TabIndex = 140;
            this.label20.Text = "工作中心:";
            this.label20.Click += new System.EventHandler(this.label20_Click);
@@ -1248,10 +1206,9 @@
            this.label23.BackColor = System.Drawing.Color.Gray;
            this.label23.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label23.ForeColor = System.Drawing.Color.Yellow;
            this.label23.Location = new System.Drawing.Point(16, 47);
            this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label23.Location = new System.Drawing.Point(12, 38);
            this.label23.Name = "label23";
            this.label23.Size = new System.Drawing.Size(92, 27);
            this.label23.Size = new System.Drawing.Size(74, 21);
            this.label23.TabIndex = 144;
            this.label23.Text = "流水号:";
            // 
@@ -1261,10 +1218,9 @@
            this.label29.BackColor = System.Drawing.Color.Gray;
            this.label29.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label29.ForeColor = System.Drawing.Color.Yellow;
            this.label29.Location = new System.Drawing.Point(453, 446);
            this.label29.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label29.Location = new System.Drawing.Point(340, 357);
            this.label29.Name = "label29";
            this.label29.Size = new System.Drawing.Size(104, 27);
            this.label29.Size = new System.Drawing.Size(83, 21);
            this.label29.TabIndex = 161;
            this.label29.Text = "操作员5:";
            // 
@@ -1274,10 +1230,9 @@
            this.label24.BackColor = System.Drawing.Color.Gray;
            this.label24.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label24.ForeColor = System.Drawing.Color.Yellow;
            this.label24.Location = new System.Drawing.Point(16, 301);
            this.label24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label24.Location = new System.Drawing.Point(12, 241);
            this.label24.Name = "label24";
            this.label24.Size = new System.Drawing.Size(132, 27);
            this.label24.Size = new System.Drawing.Size(106, 21);
            this.label24.TabIndex = 146;
            this.label24.Text = "订单跟踪号:";
            // 
@@ -1287,10 +1242,9 @@
            this.label30.BackColor = System.Drawing.Color.Gray;
            this.label30.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label30.ForeColor = System.Drawing.Color.Yellow;
            this.label30.Location = new System.Drawing.Point(453, 120);
            this.label30.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label30.Location = new System.Drawing.Point(340, 96);
            this.label30.Name = "label30";
            this.label30.Size = new System.Drawing.Size(72, 27);
            this.label30.Size = new System.Drawing.Size(58, 21);
            this.label30.TabIndex = 168;
            this.label30.Text = "备注:";
            // 
@@ -1300,10 +1254,9 @@
            this.label28.BackColor = System.Drawing.Color.Gray;
            this.label28.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label28.ForeColor = System.Drawing.Color.Yellow;
            this.label28.Location = new System.Drawing.Point(453, 410);
            this.label28.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label28.Location = new System.Drawing.Point(340, 328);
            this.label28.Name = "label28";
            this.label28.Size = new System.Drawing.Size(104, 27);
            this.label28.Size = new System.Drawing.Size(83, 21);
            this.label28.TabIndex = 158;
            this.label28.Text = "操作员4:";
            // 
@@ -1313,10 +1266,9 @@
            this.label27.BackColor = System.Drawing.Color.Gray;
            this.label27.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label27.ForeColor = System.Drawing.Color.Yellow;
            this.label27.Location = new System.Drawing.Point(453, 374);
            this.label27.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label27.Location = new System.Drawing.Point(340, 299);
            this.label27.Name = "label27";
            this.label27.Size = new System.Drawing.Size(104, 27);
            this.label27.Size = new System.Drawing.Size(83, 21);
            this.label27.TabIndex = 155;
            this.label27.Text = "操作员3:";
            // 
@@ -1326,10 +1278,9 @@
            this.label26.BackColor = System.Drawing.Color.Gray;
            this.label26.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label26.ForeColor = System.Drawing.Color.Yellow;
            this.label26.Location = new System.Drawing.Point(453, 337);
            this.label26.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label26.Location = new System.Drawing.Point(340, 270);
            this.label26.Name = "label26";
            this.label26.Size = new System.Drawing.Size(104, 27);
            this.label26.Size = new System.Drawing.Size(83, 21);
            this.label26.TabIndex = 152;
            this.label26.Text = "操作员2:";
            this.label26.Click += new System.EventHandler(this.label26_Click);
@@ -1340,10 +1291,9 @@
            this.label18.BackColor = System.Drawing.Color.Gray;
            this.label18.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label18.ForeColor = System.Drawing.Color.Yellow;
            this.label18.Location = new System.Drawing.Point(450, 482);
            this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label18.Location = new System.Drawing.Point(338, 386);
            this.label18.Name = "label18";
            this.label18.Size = new System.Drawing.Size(112, 27);
            this.label18.Size = new System.Drawing.Size(90, 21);
            this.label18.TabIndex = 124;
            this.label18.Text = "报废数量:";
            // 
@@ -1353,10 +1303,9 @@
            this.label25.BackColor = System.Drawing.Color.Gray;
            this.label25.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label25.ForeColor = System.Drawing.Color.Yellow;
            this.label25.Location = new System.Drawing.Point(453, 84);
            this.label25.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label25.Location = new System.Drawing.Point(340, 67);
            this.label25.Name = "label25";
            this.label25.Size = new System.Drawing.Size(112, 27);
            this.label25.Size = new System.Drawing.Size(90, 21);
            this.label25.TabIndex = 148;
            this.label25.Text = "核算工序:";
            // 
@@ -1400,11 +1349,11 @@
            this.tabPage3.Controls.Add(this.label6);
            this.tabPage3.Controls.Add(this.label15);
            this.tabPage3.Controls.Add(this.label22);
            this.tabPage3.Location = new System.Drawing.Point(4, 25);
            this.tabPage3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage3.Location = new System.Drawing.Point(4, 22);
            this.tabPage3.Margin = new System.Windows.Forms.Padding(2);
            this.tabPage3.Name = "tabPage3";
            this.tabPage3.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
            this.tabPage3.Size = new System.Drawing.Size(891, 551);
            this.tabPage3.Padding = new System.Windows.Forms.Padding(2);
            this.tabPage3.Size = new System.Drawing.Size(666, 439);
            this.tabPage3.TabIndex = 1;
            this.tabPage3.Text = "其他信息";
            // 
@@ -1413,10 +1362,9 @@
            this.txtHDSQty.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHDSQty.ForeColor = System.Drawing.Color.Green;
            this.txtHDSQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHDSQty.Location = new System.Drawing.Point(168, 114);
            this.txtHDSQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHDSQty.Location = new System.Drawing.Point(126, 91);
            this.txtHDSQty.Name = "txtHDSQty";
            this.txtHDSQty.Size = new System.Drawing.Size(249, 34);
            this.txtHDSQty.Size = new System.Drawing.Size(188, 28);
            this.txtHDSQty.TabIndex = 172;
            this.txtHDSQty.Tag = "0";
            this.txtHDSQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHDSQty_KeyDown);
@@ -1426,37 +1374,21 @@
            this.txtHPriceRate.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHPriceRate.ForeColor = System.Drawing.Color.Green;
            this.txtHPriceRate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHPriceRate.Location = new System.Drawing.Point(619, 185);
            this.txtHPriceRate.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHPriceRate.Location = new System.Drawing.Point(464, 148);
            this.txtHPriceRate.Name = "txtHPriceRate";
            this.txtHPriceRate.ReadOnly = true;
            this.txtHPriceRate.Size = new System.Drawing.Size(249, 34);
            this.txtHPriceRate.Size = new System.Drawing.Size(188, 28);
            this.txtHPriceRate.TabIndex = 178;
            this.txtHPriceRate.Tag = "0";
            //
            // txtHBadCount
            //
            this.txtHBadCount.BackColor = System.Drawing.SystemColors.Window;
            this.txtHBadCount.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBadCount.ForeColor = System.Drawing.Color.Green;
            this.txtHBadCount.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBadCount.Location = new System.Drawing.Point(568, 260);
            this.txtHBadCount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHBadCount.Name = "txtHBadCount";
            this.txtHBadCount.Size = new System.Drawing.Size(248, 34);
            this.txtHBadCount.TabIndex = 114;
            this.txtHBadCount.TabStop = false;
            this.txtHBadCount.Tag = "0";
            // 
            // txtHWWWorkOrderBillNo
            // 
            this.txtHWWWorkOrderBillNo.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHWWWorkOrderBillNo.ForeColor = System.Drawing.Color.Green;
            this.txtHWWWorkOrderBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHWWWorkOrderBillNo.Location = new System.Drawing.Point(167, 222);
            this.txtHWWWorkOrderBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHWWWorkOrderBillNo.Location = new System.Drawing.Point(125, 178);
            this.txtHWWWorkOrderBillNo.Name = "txtHWWWorkOrderBillNo";
            this.txtHWWWorkOrderBillNo.Size = new System.Drawing.Size(249, 34);
            this.txtHWWWorkOrderBillNo.Size = new System.Drawing.Size(188, 28);
            this.txtHWWWorkOrderBillNo.TabIndex = 171;
            this.txtHWWWorkOrderBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHWWWorkOrderBillNo_KeyDown);
            // 
@@ -1465,11 +1397,10 @@
            this.txtHPlanPieceQty.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHPlanPieceQty.ForeColor = System.Drawing.Color.Green;
            this.txtHPlanPieceQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHPlanPieceQty.Location = new System.Drawing.Point(169, 42);
            this.txtHPlanPieceQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHPlanPieceQty.Location = new System.Drawing.Point(127, 34);
            this.txtHPlanPieceQty.Name = "txtHPlanPieceQty";
            this.txtHPlanPieceQty.ReadOnly = true;
            this.txtHPlanPieceQty.Size = new System.Drawing.Size(249, 34);
            this.txtHPlanPieceQty.Size = new System.Drawing.Size(188, 28);
            this.txtHPlanPieceQty.TabIndex = 127;
            this.txtHPlanPieceQty.TabStop = false;
            this.txtHPlanPieceQty.Tag = "0";
@@ -1479,11 +1410,10 @@
            this.txtHUnitChongQty.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHUnitChongQty.ForeColor = System.Drawing.Color.Green;
            this.txtHUnitChongQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHUnitChongQty.Location = new System.Drawing.Point(619, 149);
            this.txtHUnitChongQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHUnitChongQty.Location = new System.Drawing.Point(464, 119);
            this.txtHUnitChongQty.Name = "txtHUnitChongQty";
            this.txtHUnitChongQty.ReadOnly = true;
            this.txtHUnitChongQty.Size = new System.Drawing.Size(249, 34);
            this.txtHUnitChongQty.Size = new System.Drawing.Size(188, 28);
            this.txtHUnitChongQty.TabIndex = 176;
            this.txtHUnitChongQty.Tag = "0";
            // 
@@ -1492,10 +1422,9 @@
            this.txtHBadPNL.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBadPNL.ForeColor = System.Drawing.Color.Green;
            this.txtHBadPNL.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBadPNL.Location = new System.Drawing.Point(169, 78);
            this.txtHBadPNL.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHBadPNL.Location = new System.Drawing.Point(127, 62);
            this.txtHBadPNL.Name = "txtHBadPNL";
            this.txtHBadPNL.Size = new System.Drawing.Size(249, 34);
            this.txtHBadPNL.Size = new System.Drawing.Size(188, 28);
            this.txtHBadPNL.TabIndex = 6;
            this.txtHBadPNL.Tag = "0";
            this.txtHBadPNL.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBadPNL_KeyDown);
@@ -1506,10 +1435,9 @@
            this.txtHPieceQty.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHPieceQty.ForeColor = System.Drawing.Color.Green;
            this.txtHPieceQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHPieceQty.Location = new System.Drawing.Point(619, 41);
            this.txtHPieceQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHPieceQty.Location = new System.Drawing.Point(464, 33);
            this.txtHPieceQty.Name = "txtHPieceQty";
            this.txtHPieceQty.Size = new System.Drawing.Size(249, 34);
            this.txtHPieceQty.Size = new System.Drawing.Size(188, 28);
            this.txtHPieceQty.TabIndex = 3;
            this.txtHPieceQty.Tag = "0";
            this.txtHPieceQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHPieceQty_KeyDown);
@@ -1520,10 +1448,9 @@
            this.txtHChongQty.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHChongQty.ForeColor = System.Drawing.Color.Green;
            this.txtHChongQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHChongQty.Location = new System.Drawing.Point(168, 150);
            this.txtHChongQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHChongQty.Location = new System.Drawing.Point(126, 120);
            this.txtHChongQty.Name = "txtHChongQty";
            this.txtHChongQty.Size = new System.Drawing.Size(249, 34);
            this.txtHChongQty.Size = new System.Drawing.Size(188, 28);
            this.txtHChongQty.TabIndex = 174;
            this.txtHChongQty.Tag = "0";
            // 
@@ -1533,10 +1460,9 @@
            this.txtHChecker.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHChecker.ForeColor = System.Drawing.Color.Green;
            this.txtHChecker.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHChecker.Location = new System.Drawing.Point(619, 112);
            this.txtHChecker.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHChecker.Location = new System.Drawing.Point(464, 90);
            this.txtHChecker.Name = "txtHChecker";
            this.txtHChecker.Size = new System.Drawing.Size(249, 34);
            this.txtHChecker.Size = new System.Drawing.Size(188, 28);
            this.txtHChecker.TabIndex = 142;
            this.txtHChecker.Tag = "0";
            // 
@@ -1545,10 +1471,9 @@
            this.label41.AutoSize = true;
            this.label41.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label41.ForeColor = System.Drawing.Color.Yellow;
            this.label41.Location = new System.Drawing.Point(31, 392);
            this.label41.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label41.Location = new System.Drawing.Point(23, 314);
            this.label41.Name = "label41";
            this.label41.Size = new System.Drawing.Size(124, 27);
            this.label41.Size = new System.Drawing.Size(99, 21);
            this.label41.TabIndex = 192;
            this.label41.Text = "生产资源5:";
            // 
@@ -1558,11 +1483,10 @@
            this.txtHSourceName5.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceName5.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceName5.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceName5.Location = new System.Drawing.Point(272, 391);
            this.txtHSourceName5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceName5.Location = new System.Drawing.Point(204, 313);
            this.txtHSourceName5.Name = "txtHSourceName5";
            this.txtHSourceName5.ReadOnly = true;
            this.txtHSourceName5.Size = new System.Drawing.Size(151, 38);
            this.txtHSourceName5.Size = new System.Drawing.Size(114, 32);
            this.txtHSourceName5.TabIndex = 195;
            this.txtHSourceName5.Tag = "0";
            // 
@@ -1571,10 +1495,9 @@
            this.txtHSourceID5.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceID5.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceID5.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID5.Location = new System.Drawing.Point(165, 391);
            this.txtHSourceID5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceID5.Location = new System.Drawing.Point(124, 313);
            this.txtHSourceID5.Name = "txtHSourceID5";
            this.txtHSourceID5.Size = new System.Drawing.Size(104, 38);
            this.txtHSourceID5.Size = new System.Drawing.Size(79, 32);
            this.txtHSourceID5.TabIndex = 193;
            this.txtHSourceID5.Tag = "0";
            // 
@@ -1582,10 +1505,9 @@
            // 
            this.cmdHSourceID5.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID5.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID5.Image")));
            this.cmdHSourceID5.Location = new System.Drawing.Point(424, 391);
            this.cmdHSourceID5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHSourceID5.Location = new System.Drawing.Point(318, 313);
            this.cmdHSourceID5.Name = "cmdHSourceID5";
            this.cmdHSourceID5.Size = new System.Drawing.Size(40, 40);
            this.cmdHSourceID5.Size = new System.Drawing.Size(30, 32);
            this.cmdHSourceID5.TabIndex = 194;
            this.cmdHSourceID5.UseVisualStyleBackColor = false;
            this.cmdHSourceID5.Click += new System.EventHandler(this.cmdHSourceID5_Click);
@@ -1595,10 +1517,9 @@
            this.label42.AutoSize = true;
            this.label42.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label42.ForeColor = System.Drawing.Color.Yellow;
            this.label42.Location = new System.Drawing.Point(31, 352);
            this.label42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label42.Location = new System.Drawing.Point(23, 282);
            this.label42.Name = "label42";
            this.label42.Size = new System.Drawing.Size(124, 27);
            this.label42.Size = new System.Drawing.Size(99, 21);
            this.label42.TabIndex = 188;
            this.label42.Text = "生产资源4:";
            // 
@@ -1608,11 +1529,10 @@
            this.txtHSourceName4.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceName4.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceName4.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceName4.Location = new System.Drawing.Point(272, 352);
            this.txtHSourceName4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceName4.Location = new System.Drawing.Point(204, 282);
            this.txtHSourceName4.Name = "txtHSourceName4";
            this.txtHSourceName4.ReadOnly = true;
            this.txtHSourceName4.Size = new System.Drawing.Size(151, 38);
            this.txtHSourceName4.Size = new System.Drawing.Size(114, 32);
            this.txtHSourceName4.TabIndex = 191;
            this.txtHSourceName4.Tag = "0";
            // 
@@ -1621,10 +1541,9 @@
            this.txtHSourceID4.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceID4.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceID4.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID4.Location = new System.Drawing.Point(165, 352);
            this.txtHSourceID4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceID4.Location = new System.Drawing.Point(124, 282);
            this.txtHSourceID4.Name = "txtHSourceID4";
            this.txtHSourceID4.Size = new System.Drawing.Size(104, 38);
            this.txtHSourceID4.Size = new System.Drawing.Size(79, 32);
            this.txtHSourceID4.TabIndex = 189;
            this.txtHSourceID4.Tag = "0";
            // 
@@ -1632,10 +1551,9 @@
            // 
            this.cmdHSourceID4.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID4.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID4.Image")));
            this.cmdHSourceID4.Location = new System.Drawing.Point(424, 352);
            this.cmdHSourceID4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHSourceID4.Location = new System.Drawing.Point(318, 282);
            this.cmdHSourceID4.Name = "cmdHSourceID4";
            this.cmdHSourceID4.Size = new System.Drawing.Size(40, 40);
            this.cmdHSourceID4.Size = new System.Drawing.Size(30, 32);
            this.cmdHSourceID4.TabIndex = 190;
            this.cmdHSourceID4.UseVisualStyleBackColor = false;
            this.cmdHSourceID4.Click += new System.EventHandler(this.cmdHSourceID4_Click);
@@ -1645,10 +1563,9 @@
            this.label43.AutoSize = true;
            this.label43.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label43.ForeColor = System.Drawing.Color.Yellow;
            this.label43.Location = new System.Drawing.Point(31, 314);
            this.label43.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label43.Location = new System.Drawing.Point(23, 251);
            this.label43.Name = "label43";
            this.label43.Size = new System.Drawing.Size(124, 27);
            this.label43.Size = new System.Drawing.Size(99, 21);
            this.label43.TabIndex = 184;
            this.label43.Text = "生产资源3:";
            // 
@@ -1658,11 +1575,10 @@
            this.txtHSourceName3.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceName3.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceName3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceName3.Location = new System.Drawing.Point(272, 312);
            this.txtHSourceName3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceName3.Location = new System.Drawing.Point(204, 250);
            this.txtHSourceName3.Name = "txtHSourceName3";
            this.txtHSourceName3.ReadOnly = true;
            this.txtHSourceName3.Size = new System.Drawing.Size(151, 38);
            this.txtHSourceName3.Size = new System.Drawing.Size(114, 32);
            this.txtHSourceName3.TabIndex = 187;
            this.txtHSourceName3.Tag = "0";
            // 
@@ -1671,10 +1587,9 @@
            this.txtHSourceID3.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceID3.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceID3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID3.Location = new System.Drawing.Point(165, 312);
            this.txtHSourceID3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceID3.Location = new System.Drawing.Point(124, 250);
            this.txtHSourceID3.Name = "txtHSourceID3";
            this.txtHSourceID3.Size = new System.Drawing.Size(104, 38);
            this.txtHSourceID3.Size = new System.Drawing.Size(79, 32);
            this.txtHSourceID3.TabIndex = 185;
            this.txtHSourceID3.Tag = "0";
            // 
@@ -1682,10 +1597,9 @@
            // 
            this.cmdHSourceID3.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID3.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID3.Image")));
            this.cmdHSourceID3.Location = new System.Drawing.Point(424, 312);
            this.cmdHSourceID3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHSourceID3.Location = new System.Drawing.Point(318, 250);
            this.cmdHSourceID3.Name = "cmdHSourceID3";
            this.cmdHSourceID3.Size = new System.Drawing.Size(40, 40);
            this.cmdHSourceID3.Size = new System.Drawing.Size(30, 32);
            this.cmdHSourceID3.TabIndex = 186;
            this.cmdHSourceID3.UseVisualStyleBackColor = false;
            this.cmdHSourceID3.Click += new System.EventHandler(this.cmdHSourceID3_Click);
@@ -1695,10 +1609,9 @@
            this.label44.AutoSize = true;
            this.label44.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label44.ForeColor = System.Drawing.Color.Yellow;
            this.label44.Location = new System.Drawing.Point(31, 275);
            this.label44.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label44.Location = new System.Drawing.Point(23, 220);
            this.label44.Name = "label44";
            this.label44.Size = new System.Drawing.Size(124, 27);
            this.label44.Size = new System.Drawing.Size(99, 21);
            this.label44.TabIndex = 180;
            this.label44.Text = "生产资源2:";
            // 
@@ -1708,11 +1621,10 @@
            this.txtHSourceName2.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceName2.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceName2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceName2.Location = new System.Drawing.Point(272, 274);
            this.txtHSourceName2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceName2.Location = new System.Drawing.Point(204, 219);
            this.txtHSourceName2.Name = "txtHSourceName2";
            this.txtHSourceName2.ReadOnly = true;
            this.txtHSourceName2.Size = new System.Drawing.Size(151, 38);
            this.txtHSourceName2.Size = new System.Drawing.Size(114, 32);
            this.txtHSourceName2.TabIndex = 183;
            this.txtHSourceName2.Tag = "0";
            // 
@@ -1721,10 +1633,9 @@
            this.txtHSourceID2.Font = new System.Drawing.Font("微软雅黑", 13.8F);
            this.txtHSourceID2.ForeColor = System.Drawing.Color.Green;
            this.txtHSourceID2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHSourceID2.Location = new System.Drawing.Point(165, 274);
            this.txtHSourceID2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHSourceID2.Location = new System.Drawing.Point(124, 219);
            this.txtHSourceID2.Name = "txtHSourceID2";
            this.txtHSourceID2.Size = new System.Drawing.Size(104, 38);
            this.txtHSourceID2.Size = new System.Drawing.Size(79, 32);
            this.txtHSourceID2.TabIndex = 181;
            this.txtHSourceID2.Tag = "0";
            // 
@@ -1732,10 +1643,9 @@
            // 
            this.cmdHSourceID2.BackColor = System.Drawing.Color.Transparent;
            this.cmdHSourceID2.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID2.Image")));
            this.cmdHSourceID2.Location = new System.Drawing.Point(424, 274);
            this.cmdHSourceID2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHSourceID2.Location = new System.Drawing.Point(318, 219);
            this.cmdHSourceID2.Name = "cmdHSourceID2";
            this.cmdHSourceID2.Size = new System.Drawing.Size(40, 40);
            this.cmdHSourceID2.Size = new System.Drawing.Size(30, 32);
            this.cmdHSourceID2.TabIndex = 182;
            this.cmdHSourceID2.UseVisualStyleBackColor = false;
            this.cmdHSourceID2.Click += new System.EventHandler(this.cmdHSourceID2_Click);
@@ -1746,24 +1656,11 @@
            this.label31.BackColor = System.Drawing.Color.Gray;
            this.label31.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label31.ForeColor = System.Drawing.Color.Yellow;
            this.label31.Location = new System.Drawing.Point(31, 218);
            this.label31.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label31.Location = new System.Drawing.Point(23, 174);
            this.label31.Name = "label31";
            this.label31.Size = new System.Drawing.Size(132, 27);
            this.label31.Size = new System.Drawing.Size(106, 21);
            this.label31.TabIndex = 170;
            this.label31.Text = "委外工单号:";
            //
            // label17
            //
            this.label17.AutoSize = true;
            this.label17.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label17.ForeColor = System.Drawing.Color.Yellow;
            this.label17.Location = new System.Drawing.Point(453, 265);
            this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label17.Name = "label17";
            this.label17.Size = new System.Drawing.Size(112, 27);
            this.label17.TabIndex = 113;
            this.label17.Text = "不良数量:";
            // 
            // label19
            // 
@@ -1771,10 +1668,9 @@
            this.label19.BackColor = System.Drawing.Color.Gray;
            this.label19.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label19.ForeColor = System.Drawing.Color.Yellow;
            this.label19.Location = new System.Drawing.Point(31, 48);
            this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label19.Location = new System.Drawing.Point(23, 38);
            this.label19.Name = "label19";
            this.label19.Size = new System.Drawing.Size(136, 27);
            this.label19.Size = new System.Drawing.Size(110, 21);
            this.label19.TabIndex = 126;
            this.label19.Text = "进站 PNL数:";
            // 
@@ -1784,10 +1680,9 @@
            this.label35.BackColor = System.Drawing.Color.Gray;
            this.label35.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label35.ForeColor = System.Drawing.Color.Yellow;
            this.label35.Location = new System.Drawing.Point(485, 192);
            this.label35.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label35.Location = new System.Drawing.Point(364, 154);
            this.label35.Name = "label35";
            this.label35.Size = new System.Drawing.Size(108, 27);
            this.label35.Size = new System.Drawing.Size(88, 21);
            this.label35.TabIndex = 179;
            this.label35.Text = "ç³»      æ•°ï¼š";
            // 
@@ -1797,10 +1692,9 @@
            this.label34.BackColor = System.Drawing.Color.Gray;
            this.label34.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label34.ForeColor = System.Drawing.Color.Yellow;
            this.label34.Location = new System.Drawing.Point(485, 155);
            this.label34.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label34.Location = new System.Drawing.Point(364, 124);
            this.label34.Name = "label34";
            this.label34.Size = new System.Drawing.Size(112, 27);
            this.label34.Size = new System.Drawing.Size(91, 21);
            this.label34.TabIndex = 177;
            this.label34.Text = "NCT单次:";
            // 
@@ -1810,10 +1704,9 @@
            this.label21.BackColor = System.Drawing.Color.Gray;
            this.label21.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label21.ForeColor = System.Drawing.Color.Yellow;
            this.label21.Location = new System.Drawing.Point(31, 81);
            this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label21.Location = new System.Drawing.Point(23, 65);
            this.label21.Name = "label21";
            this.label21.Size = new System.Drawing.Size(130, 27);
            this.label21.Size = new System.Drawing.Size(105, 21);
            this.label21.TabIndex = 139;
            this.label21.Text = "报废PNL数:";
            // 
@@ -1823,10 +1716,9 @@
            this.label14.BackColor = System.Drawing.Color.Gray;
            this.label14.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label14.ForeColor = System.Drawing.Color.Yellow;
            this.label14.Location = new System.Drawing.Point(485, 81);
            this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label14.Location = new System.Drawing.Point(364, 65);
            this.label14.Name = "label14";
            this.label14.Size = new System.Drawing.Size(108, 27);
            this.label14.Size = new System.Drawing.Size(88, 21);
            this.label14.TabIndex = 120;
            this.label14.Text = "机      å°ï¼š";
            // 
@@ -1836,10 +1728,9 @@
            this.label32.BackColor = System.Drawing.Color.Gray;
            this.label32.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label32.ForeColor = System.Drawing.Color.Yellow;
            this.label32.Location = new System.Drawing.Point(31, 115);
            this.label32.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label32.Location = new System.Drawing.Point(23, 92);
            this.label32.Name = "label32";
            this.label32.Size = new System.Drawing.Size(112, 27);
            this.label32.Size = new System.Drawing.Size(90, 21);
            this.label32.TabIndex = 173;
            this.label32.Text = "折弯刀数:";
            // 
@@ -1849,10 +1740,9 @@
            this.label33.BackColor = System.Drawing.Color.Gray;
            this.label33.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label33.ForeColor = System.Drawing.Color.Yellow;
            this.label33.Location = new System.Drawing.Point(31, 149);
            this.label33.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label33.Location = new System.Drawing.Point(23, 119);
            this.label33.Name = "label33";
            this.label33.Size = new System.Drawing.Size(132, 27);
            this.label33.Size = new System.Drawing.Size(107, 21);
            this.label33.TabIndex = 175;
            this.label33.Text = "NCT冲次数:";
            // 
@@ -1862,10 +1752,9 @@
            this.label15.BackColor = System.Drawing.Color.Gray;
            this.label15.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label15.ForeColor = System.Drawing.Color.Yellow;
            this.label15.Location = new System.Drawing.Point(31, 182);
            this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label15.Location = new System.Drawing.Point(23, 146);
            this.label15.Name = "label15";
            this.label15.Size = new System.Drawing.Size(130, 27);
            this.label15.Size = new System.Drawing.Size(105, 21);
            this.label15.TabIndex = 122;
            this.label15.Text = "移交PNL数:";
            // 
@@ -1875,10 +1764,9 @@
            this.label22.BackColor = System.Drawing.Color.Gray;
            this.label22.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label22.ForeColor = System.Drawing.Color.Yellow;
            this.label22.Location = new System.Drawing.Point(485, 118);
            this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label22.Location = new System.Drawing.Point(364, 94);
            this.label22.Name = "label22";
            this.label22.Size = new System.Drawing.Size(132, 27);
            this.label22.Size = new System.Drawing.Size(106, 21);
            this.label22.TabIndex = 143;
            this.label22.Text = "品质确认人:";
            // 
@@ -1889,6 +1777,7 @@
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this.cmdBFChecker);
            this.panel1.Controls.Add(this.cmdXZ);
            this.panel1.Controls.Add(this.cmdHPrintCusCard);
            this.panel1.Controls.Add(this.cmdHPrint);
@@ -1903,18 +1792,26 @@
            this.panel1.Controls.Add(this.cmdCancel);
            this.panel1.Controls.Add(this.cmdOK);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel1.Location = new System.Drawing.Point(57, 730);
            this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.panel1.Location = new System.Drawing.Point(43, 584);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(1286, 98);
            this.panel1.Size = new System.Drawing.Size(964, 78);
            this.panel1.TabIndex = 116;
            //
            // cmdBFChecker
            //
            this.cmdBFChecker.Location = new System.Drawing.Point(178, 4);
            this.cmdBFChecker.Name = "cmdBFChecker";
            this.cmdBFChecker.Size = new System.Drawing.Size(70, 40);
            this.cmdBFChecker.TabIndex = 151;
            this.cmdBFChecker.Text = "报废品质确认";
            this.cmdBFChecker.UseVisualStyleBackColor = true;
            this.cmdBFChecker.Click += new System.EventHandler(this.cmdBFChecker_Click);
            // 
            // cmdXZ
            // 
            this.cmdXZ.Location = new System.Drawing.Point(21, 5);
            this.cmdXZ.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdXZ.Location = new System.Drawing.Point(16, 4);
            this.cmdXZ.Name = "cmdXZ";
            this.cmdXZ.Size = new System.Drawing.Size(93, 50);
            this.cmdXZ.Size = new System.Drawing.Size(70, 40);
            this.cmdXZ.TabIndex = 150;
            this.cmdXZ.Text = "新    å¢ž";
            this.cmdXZ.UseVisualStyleBackColor = true;
@@ -1922,10 +1819,9 @@
            // 
            // cmdHPrintCusCard
            // 
            this.cmdHPrintCusCard.Location = new System.Drawing.Point(1101, 5);
            this.cmdHPrintCusCard.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHPrintCusCard.Location = new System.Drawing.Point(826, 4);
            this.cmdHPrintCusCard.Name = "cmdHPrintCusCard";
            this.cmdHPrintCusCard.Size = new System.Drawing.Size(93, 50);
            this.cmdHPrintCusCard.Size = new System.Drawing.Size(70, 40);
            this.cmdHPrintCusCard.TabIndex = 149;
            this.cmdHPrintCusCard.Text = "打印客户码";
            this.cmdHPrintCusCard.UseVisualStyleBackColor = true;
@@ -1934,10 +1830,9 @@
            // 
            // cmdHPrint
            // 
            this.cmdHPrint.Location = new System.Drawing.Point(993, 5);
            this.cmdHPrint.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdHPrint.Location = new System.Drawing.Point(745, 4);
            this.cmdHPrint.Name = "cmdHPrint";
            this.cmdHPrint.Size = new System.Drawing.Size(93, 50);
            this.cmdHPrint.Size = new System.Drawing.Size(70, 40);
            this.cmdHPrint.TabIndex = 148;
            this.cmdHPrint.Text = "打印标识卡";
            this.cmdHPrint.UseVisualStyleBackColor = true;
@@ -1947,10 +1842,9 @@
            // button2
            // 
            this.button2.Enabled = false;
            this.button2.Location = new System.Drawing.Point(777, 5);
            this.button2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.button2.Location = new System.Drawing.Point(583, 4);
            this.button2.Name = "button2";
            this.button2.Size = new System.Drawing.Size(93, 50);
            this.button2.Size = new System.Drawing.Size(70, 40);
            this.button2.TabIndex = 147;
            this.button2.Text = "反审核";
            this.button2.UseVisualStyleBackColor = true;
@@ -1958,10 +1852,9 @@
            // 
            // cmdAddNew
            // 
            this.cmdAddNew.Location = new System.Drawing.Point(885, 5);
            this.cmdAddNew.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdAddNew.Location = new System.Drawing.Point(664, 4);
            this.cmdAddNew.Name = "cmdAddNew";
            this.cmdAddNew.Size = new System.Drawing.Size(93, 50);
            this.cmdAddNew.Size = new System.Drawing.Size(70, 40);
            this.cmdAddNew.TabIndex = 115;
            this.cmdAddNew.Text = "清    ç©º";
            this.cmdAddNew.UseVisualStyleBackColor = true;
@@ -1971,10 +1864,9 @@
            // button1
            // 
            this.button1.Enabled = false;
            this.button1.Location = new System.Drawing.Point(669, 5);
            this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.button1.Location = new System.Drawing.Point(502, 4);
            this.button1.Name = "button1";
            this.button1.Size = new System.Drawing.Size(93, 50);
            this.button1.Size = new System.Drawing.Size(70, 40);
            this.button1.TabIndex = 146;
            this.button1.Text = "审  æ ¸";
            this.button1.UseVisualStyleBackColor = true;
@@ -1982,10 +1874,9 @@
            // 
            // cmdDelBill
            // 
            this.cmdDelBill.Location = new System.Drawing.Point(237, 5);
            this.cmdDelBill.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdDelBill.Location = new System.Drawing.Point(829, 40);
            this.cmdDelBill.Name = "cmdDelBill";
            this.cmdDelBill.Size = new System.Drawing.Size(93, 50);
            this.cmdDelBill.Size = new System.Drawing.Size(70, 40);
            this.cmdDelBill.TabIndex = 145;
            this.cmdDelBill.Text = "删除入库单";
            this.cmdDelBill.UseVisualStyleBackColor = true;
@@ -1994,21 +1885,19 @@
            // 
            // cmdChecker
            // 
            this.cmdChecker.Location = new System.Drawing.Point(345, 5);
            this.cmdChecker.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdChecker.Location = new System.Drawing.Point(259, 4);
            this.cmdChecker.Name = "cmdChecker";
            this.cmdChecker.Size = new System.Drawing.Size(93, 50);
            this.cmdChecker.Size = new System.Drawing.Size(70, 40);
            this.cmdChecker.TabIndex = 144;
            this.cmdChecker.Text = "品质确认";
            this.cmdChecker.Text = "不良品质确认";
            this.cmdChecker.UseVisualStyleBackColor = true;
            this.cmdChecker.Click += new System.EventHandler(this.cmdChecker_Click);
            // 
            // cmdXG
            // 
            this.cmdXG.Location = new System.Drawing.Point(129, 5);
            this.cmdXG.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdXG.Location = new System.Drawing.Point(97, 4);
            this.cmdXG.Name = "cmdXG";
            this.cmdXG.Size = new System.Drawing.Size(93, 50);
            this.cmdXG.Size = new System.Drawing.Size(70, 40);
            this.cmdXG.TabIndex = 119;
            this.cmdXG.Text = "ä¿®    æ”¹";
            this.cmdXG.UseVisualStyleBackColor = true;
@@ -2016,10 +1905,9 @@
            // 
            // cmdBF
            // 
            this.cmdBF.Location = new System.Drawing.Point(1333, 4);
            this.cmdBF.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdBF.Location = new System.Drawing.Point(1000, 3);
            this.cmdBF.Name = "cmdBF";
            this.cmdBF.Size = new System.Drawing.Size(85, 52);
            this.cmdBF.Size = new System.Drawing.Size(64, 42);
            this.cmdBF.TabIndex = 118;
            this.cmdBF.Text = "报    åºŸ";
            this.cmdBF.UseVisualStyleBackColor = true;
@@ -2028,10 +1916,9 @@
            // 
            // bclk
            // 
            this.bclk.Location = new System.Drawing.Point(1209, 5);
            this.bclk.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.bclk.Location = new System.Drawing.Point(907, 4);
            this.bclk.Name = "bclk";
            this.bclk.Size = new System.Drawing.Size(93, 50);
            this.bclk.Size = new System.Drawing.Size(70, 40);
            this.bclk.TabIndex = 116;
            this.bclk.Text = "保存列宽";
            this.bclk.UseVisualStyleBackColor = true;
@@ -2040,10 +1927,9 @@
            // 
            // cmdCancel
            // 
            this.cmdCancel.Location = new System.Drawing.Point(561, 5);
            this.cmdCancel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdCancel.Location = new System.Drawing.Point(421, 4);
            this.cmdCancel.Name = "cmdCancel";
            this.cmdCancel.Size = new System.Drawing.Size(93, 50);
            this.cmdCancel.Size = new System.Drawing.Size(70, 40);
            this.cmdCancel.TabIndex = 110;
            this.cmdCancel.Text = "取  æ¶ˆ";
            this.cmdCancel.UseVisualStyleBackColor = true;
@@ -2051,10 +1937,9 @@
            // 
            // cmdOK
            // 
            this.cmdOK.Location = new System.Drawing.Point(453, 5);
            this.cmdOK.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.cmdOK.Location = new System.Drawing.Point(340, 4);
            this.cmdOK.Name = "cmdOK";
            this.cmdOK.Size = new System.Drawing.Size(93, 50);
            this.cmdOK.Size = new System.Drawing.Size(70, 40);
            this.cmdOK.TabIndex = 109;
            this.cmdOK.Text = "汇  æŠ¥";
            this.cmdOK.UseVisualStyleBackColor = true;
@@ -2064,10 +1949,9 @@
            // 
            this.panel2.Controls.Add(this.tabControl1);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel2.Location = new System.Drawing.Point(0, 606);
            this.panel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.panel2.Location = new System.Drawing.Point(0, 485);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(935, 0);
            this.panel2.Size = new System.Drawing.Size(935, 18);
            this.panel2.TabIndex = 117;
            // 
            // tabControl1
@@ -2075,10 +1959,9 @@
            this.tabControl1.Controls.Add(this.tabPage1);
            this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl1.Location = new System.Drawing.Point(0, 0);
            this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.tabControl1.Name = "tabControl1";
            this.tabControl1.SelectedIndex = 0;
            this.tabControl1.Size = new System.Drawing.Size(935, 0);
            this.tabControl1.Size = new System.Drawing.Size(935, 18);
            this.tabControl1.TabIndex = 24;
            this.tabControl1.Visible = false;
            // 
@@ -2086,10 +1969,9 @@
            // 
            this.tabPage1.BackColor = System.Drawing.SystemColors.GrayText;
            this.tabPage1.Controls.Add(this.grdSub);
            this.tabPage1.Location = new System.Drawing.Point(4, 25);
            this.tabPage1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.tabPage1.Location = new System.Drawing.Point(4, 22);
            this.tabPage1.Name = "tabPage1";
            this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage1.Size = new System.Drawing.Size(927, 0);
            this.tabPage1.TabIndex = 0;
            this.tabPage1.Text = "职员清单";
@@ -2102,13 +1984,12 @@
            this.grdSub.BackgroundColor = System.Drawing.SystemColors.InactiveCaption;
            this.grdSub.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdSub.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdSub.Location = new System.Drawing.Point(4, 4);
            this.grdSub.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.grdSub.Location = new System.Drawing.Point(3, 3);
            this.grdSub.Name = "grdSub";
            this.grdSub.ReadOnly = true;
            this.grdSub.RowHeadersWidth = 51;
            this.grdSub.RowTemplate.Height = 23;
            this.grdSub.Size = new System.Drawing.Size(919, 0);
            this.grdSub.Size = new System.Drawing.Size(921, 0);
            this.grdSub.TabIndex = 20;
            this.grdSub.RowHeadersWidthChanged += new System.EventHandler(this.grdSub_RowHeadersWidthChanged);
            this.grdSub.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.grdSub_CellBeginEdit);
@@ -2125,10 +2006,9 @@
            this.panel4.Controls.Add(this.label36);
            this.panel4.Controls.Add(this.lblCaption);
            this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel4.Location = new System.Drawing.Point(57, 0);
            this.panel4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.panel4.Location = new System.Drawing.Point(43, 0);
            this.panel4.Name = "panel4";
            this.panel4.Size = new System.Drawing.Size(1286, 65);
            this.panel4.Size = new System.Drawing.Size(964, 52);
            this.panel4.TabIndex = 119;
            // 
            // txtHBarCode
@@ -2136,11 +2016,10 @@
            this.txtHBarCode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.txtHBarCode.ForeColor = System.Drawing.Color.Green;
            this.txtHBarCode.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txtHBarCode.Location = new System.Drawing.Point(325, 15);
            this.txtHBarCode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.txtHBarCode.Location = new System.Drawing.Point(244, 12);
            this.txtHBarCode.Multiline = true;
            this.txtHBarCode.Name = "txtHBarCode";
            this.txtHBarCode.Size = new System.Drawing.Size(304, 40);
            this.txtHBarCode.Size = new System.Drawing.Size(229, 33);
            this.txtHBarCode.TabIndex = 115;
            this.txtHBarCode.Tag = "0";
            this.txtHBarCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBarCode_KeyDown);
@@ -2151,10 +2030,9 @@
            this.label36.BackColor = System.Drawing.Color.Gray;
            this.label36.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label36.ForeColor = System.Drawing.Color.Yellow;
            this.label36.Location = new System.Drawing.Point(227, 19);
            this.label36.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.label36.Location = new System.Drawing.Point(170, 15);
            this.label36.Name = "label36";
            this.label36.Size = new System.Drawing.Size(92, 27);
            this.label36.Size = new System.Drawing.Size(74, 21);
            this.label36.TabIndex = 114;
            this.label36.Text = "条形码:";
            // 
@@ -2163,10 +2041,9 @@
            this.lblCaption.AutoSize = true;
            this.lblCaption.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblCaption.ForeColor = System.Drawing.Color.LimeGreen;
            this.lblCaption.Location = new System.Drawing.Point(8, 9);
            this.lblCaption.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
            this.lblCaption.Location = new System.Drawing.Point(6, 7);
            this.lblCaption.Name = "lblCaption";
            this.lblCaption.Size = new System.Drawing.Size(134, 31);
            this.lblCaption.Size = new System.Drawing.Size(107, 26);
            this.lblCaption.TabIndex = 112;
            this.lblCaption.Text = "出站汇报单";
            // 
@@ -2174,18 +2051,16 @@
            // 
            this.panel5.Dock = System.Windows.Forms.DockStyle.Left;
            this.panel5.Location = new System.Drawing.Point(0, 0);
            this.panel5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.panel5.Name = "panel5";
            this.panel5.Size = new System.Drawing.Size(57, 828);
            this.panel5.Size = new System.Drawing.Size(43, 662);
            this.panel5.TabIndex = 120;
            // 
            // panel6
            // 
            this.panel6.Dock = System.Windows.Forms.DockStyle.Right;
            this.panel6.Location = new System.Drawing.Point(1343, 0);
            this.panel6.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.panel6.Location = new System.Drawing.Point(1007, 0);
            this.panel6.Name = "panel6";
            this.panel6.Size = new System.Drawing.Size(28, 828);
            this.panel6.Size = new System.Drawing.Size(21, 662);
            this.panel6.TabIndex = 125;
            // 
            // panel7
@@ -2194,17 +2069,15 @@
            this.panel7.Controls.Add(this.gbUp);
            this.panel7.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel7.Location = new System.Drawing.Point(0, 0);
            this.panel7.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.panel7.Name = "panel7";
            this.panel7.Size = new System.Drawing.Size(935, 602);
            this.panel7.Size = new System.Drawing.Size(935, 503);
            this.panel7.TabIndex = 126;
            // 
            // splitContainer1
            // 
            this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer1.Location = new System.Drawing.Point(57, 65);
            this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.splitContainer1.Location = new System.Drawing.Point(43, 52);
            this.splitContainer1.Name = "splitContainer1";
            this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
            // 
@@ -2215,9 +2088,8 @@
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.splitContainer1_Panel2_Paint);
            this.splitContainer1.Size = new System.Drawing.Size(1286, 665);
            this.splitContainer1.SplitterDistance = 602;
            this.splitContainer1.SplitterWidth = 5;
            this.splitContainer1.Size = new System.Drawing.Size(964, 532);
            this.splitContainer1.SplitterDistance = 503;
            this.splitContainer1.TabIndex = 127;
            // 
            // splitContainer2
@@ -2225,23 +2097,21 @@
            this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
            this.splitContainer2.Location = new System.Drawing.Point(0, 0);
            this.splitContainer2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.splitContainer2.Name = "splitContainer2";
            // 
            // splitContainer2.Panel1
            // 
            this.splitContainer2.Panel1.Controls.Add(this.panel7);
            this.splitContainer2.Size = new System.Drawing.Size(1286, 602);
            this.splitContainer2.Size = new System.Drawing.Size(964, 503);
            this.splitContainer2.SplitterDistance = 935;
            this.splitContainer2.SplitterWidth = 5;
            this.splitContainer2.TabIndex = 0;
            // 
            // MES_StationOutBill
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.BackColor = System.Drawing.Color.Gray;
            this.ClientSize = new System.Drawing.Size(1371, 828);
            this.ClientSize = new System.Drawing.Size(1028, 662);
            this.Controls.Add(this.splitContainer1);
            this.Controls.Add(this.panel4);
            this.Controls.Add(this.panel1);
@@ -2249,7 +2119,6 @@
            this.Controls.Add(this.panel5);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.KeyPreview = true;
            this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
            this.Name = "MES_StationOutBill";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "出站汇报单";
@@ -2431,5 +2300,6 @@
        private System.Windows.Forms.TextBox txtHSourceID2;
        private System.Windows.Forms.Button cmdHSourceID2;
        private System.Windows.Forms.Button cmdXZ;
        private System.Windows.Forms.Button cmdBFChecker;
    }
}
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationOutBillList_Bad.cs
@@ -496,7 +496,7 @@
            //LOT号
            if (txtHBillNo.Text.Trim() != "")
            {
                sFastSQL = sFastSQL + " and æµè½¬å¡å· like '%" + txtHBillNo.Text + "%'";
                sFastSQL = sFastSQL + " and å·¥åºæµè½¬å¡å· like '%" + txtHBillNo.Text + "%'";
            }
            //工作中心
            if (txtHCenterID.Text.Trim() != "")
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationOutBillList_Bad.designer.cs
@@ -111,8 +111,8 @@
            "未同步",
            "已同步",
            "全部"});
            this.cmbHStatus.Location = new System.Drawing.Point(346, 12);
            this.cmbHStatus.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
            this.cmbHStatus.Location = new System.Drawing.Point(346, 11);
            this.cmbHStatus.Margin = new System.Windows.Forms.Padding(2);
            this.cmbHStatus.Name = "cmbHStatus";
            this.cmbHStatus.Size = new System.Drawing.Size(92, 20);
            this.cmbHStatus.TabIndex = 20;
@@ -153,24 +153,27 @@
            // 
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Location = new System.Drawing.Point(472, 15);
            this.label2.Location = new System.Drawing.Point(813, 35);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(65, 12);
            this.label2.TabIndex = 14;
            this.label2.Text = "工作中心:";
            this.label2.Visible = false;
            // 
            // txtHCenterID
            // 
            this.txtHCenterID.Location = new System.Drawing.Point(540, 12);
            this.txtHCenterID.Location = new System.Drawing.Point(881, 32);
            this.txtHCenterID.Name = "txtHCenterID";
            this.txtHCenterID.Size = new System.Drawing.Size(162, 21);
            this.txtHCenterID.TabIndex = 15;
            this.txtHCenterID.Visible = false;
            this.txtHCenterID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHCenterID_KeyDown);
            // 
            // label1
            // 
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(708, 15);
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Location = new System.Drawing.Point(462, 15);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(65, 12);
            this.label1.TabIndex = 8;
@@ -178,7 +181,7 @@
            // 
            // txtHBillNo
            // 
            this.txtHBillNo.Location = new System.Drawing.Point(776, 12);
            this.txtHBillNo.Location = new System.Drawing.Point(530, 11);
            this.txtHBillNo.Name = "txtHBillNo";
            this.txtHBillNo.Size = new System.Drawing.Size(162, 21);
            this.txtHBillNo.TabIndex = 9;
@@ -279,14 +282,14 @@
            // eXCELToolStripMenuItem
            // 
            this.eXCELToolStripMenuItem.Name = "eXCELToolStripMenuItem";
            this.eXCELToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
            this.eXCELToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
            this.eXCELToolStripMenuItem.Text = "EXCEL";
            this.eXCELToolStripMenuItem.Click += new System.EventHandler(this.eXCELToolStripMenuItem_Click);
            // 
            // cSVToolStripMenuItem
            // 
            this.cSVToolStripMenuItem.Name = "cSVToolStripMenuItem";
            this.cSVToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
            this.cSVToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
            this.cSVToolStripMenuItem.Text = "CSV";
            this.cSVToolStripMenuItem.Click += new System.EventHandler(this.cSVToolStripMenuItem_Click);
            // 
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationOutBillList_BaoFei.cs
New file
@@ -0,0 +1,633 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using gregn6Lib;
using SQLHelper;
using DBUtility;
using System.IO;
using System.Reflection;
namespace WorkM
{
    public partial class MES_StationOutBillList_BaoFei : Form
    {
        public MES_StationOutBillList_BaoFei()
        {
            InitializeComponent();
        }
        public DBUtility.frmBillQueryCondition_New frmCondition;
        public string ViewName = "h_v_MES_StationOutBillList_BaoFei";
        public string ModCaption = "工序报废品报表";
        public const string ModName = "3791";
        public const string ModRightName = "MES_StationOutBill";
        public const string ModRightNameEdit = ModRightName + "_Edit";
        public const string ModRightNameCheck = ModRightName + "_Check";
        public const string ModRightNameClose = ModRightName + "_Close";
        public const string ModRightNameDelete = ModRightName + "_Delete";
        DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill();
        public MES_StationOutBill oFrm;
        Pub_Class.ClsGridListSum oSumGrid = new Pub_Class.ClsGridListSum();
        public string sDlgWhere = "";  //外窗体递入
        //
        private void initGrid()
        {
            DBUtility.Xt_BaseBillFun.initGridList(grdMain,this.Name);
        }
        //
        private void Display()
        {
            ClsCN SubCn = new ClsCN();
            DataSet DSet;
            string sSql = "";
            string sWhere = "";
            if (frmCondition.SqlStr.Trim().Length == 0)
            {
                sSql = "Select top 5000 * from " + ViewName + " Where 1=1 " + sWhere + sDlgWhere + " order by hmainid desc ";
            }
            else
            {
                sSql = frmCondition.SqlStr + sWhere + sDlgWhere + " order by hmainid desc ";
            }
            //
            DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo);
            //生成首行标题
            if (DSet == null)
            {
                MessageBox.Show("没有返回任何结果,请在过滤框中点击【恢复】按钮,尝试再次查询!" + DBUtility.ClsPub.sExeReturnInfo);
                return;
            }
            //释放冻结
            DBUtility.Xt_BaseBillFun.CancelFrozenCol(grdMain);
            //
            grdMain.DataSource = DSet.Tables[0].DefaultView;
            //设置合计列
            string sTotalCol = "";
            sTotalCol = DBUtility.Gy_BaseFun.GetTotalCols(DSet);
            string[] sT;
            sT = sTotalCol.Split(Convert.ToChar(","));
            oSumGrid.BuildTotalCols(sT);
            //
            //冻结
            int FrCol = DBUtility.ClsPub.isInt(frmCondition.txtFrozenCol.Text);
            string s = frmCondition.cmbHComplete.Text;
            DBUtility.Xt_BaseBillFun.DisplayGrid(grdMain, this.Name, s, FrCol);
            //画线
            GraphLine();
            Total();
            //
        }
        //
        private void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Enabled=false;
            initGrid();
            Display();
        }
        private void tc_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        private void sx_Click(object sender, EventArgs e)
        {
            timer1.Enabled = true;
        }
        private void dj_Click(object sender, EventArgs e)
        {
            Sub_ShowBill();
        }
        //显示单据
        private void Sub_ShowBill()
        {
            Int64 lngBillKey = 0;
            if (grdMain.CurrentRow == null)
                return;
            lngBillKey =DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value);
            if (lngBillKey == 0)
                return;
            DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill();
            if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
            {
                oFrm = new MES_StationOutBill();
                oFrm.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
                oFrm.BillOld = oBill;
                oFrm.ShowDialog();
                if (oFrm.BillChange)
                {
                    if (MessageBox.Show("单据列表已经发生变化,是否刷新", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK)
                    {
                        timer1.Enabled = true;
                    }
                }
            }
            else
            {
                MessageBox.Show("单据未找到", "提示");
            }
            oBill = null;
        }
        //
        private Int32 Fun_GetCol(string sCol)
        {
            return DBUtility.Xt_BaseBillFun.Fun_GetCol(sCol, grdMain);
        }
        //
        private void MES_StationOutBillList_BaoFei_Load(object sender, EventArgs e)
        {
            //
            frmCondition = new frmBillQueryCondition_New();
            this.Text = ModCaption;
            lblCaption.Text = ModCaption;
            oSumGrid.ogrdMain = grdMain;  //初始化 new
            oSumGrid.oGridsum = grdSum;
            initGrid();
        }
        private void grdMain_DblClick(object sender, EventArgs e)
        {
            Sub_ShowBill();
        }
        private void cx_Click(object sender, EventArgs e)
        {
            frmCondition = new frmBillQueryCondition_New();
            SetCondition(frmCondition, ViewName, this.Name);
            frmCondition.ShowDialog();
            if (frmCondition.Tag.ToString() == "OK")
            {
                Display();
            }
        }
        public void SetCondition(frmBillQueryCondition_New frmCondition, string ViewName, string Name)
        {
            frmCondition.Tag = "";
            frmCondition.ViewName = ViewName;
            frmCondition.ModName = Name;
        }
        private void xz_Click(object sender, EventArgs e)
        {
            //
            MES_StationOutBill oMES_StationOutBill = new MES_StationOutBill();
            oMES_StationOutBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
            oMES_StationOutBill.ModCaption = "工序出站汇报不良品清单";
            oMES_StationOutBill.ShowDialog();
        }
        private void sc_Click(object sender, EventArgs e)
        {
            Sub_DeleteBill();
        }
        //删除
        private void Sub_DeleteBill()
        {
            //编辑权限
            if (!DBUtility.ClsPub.Security_Log(ModRightNameDelete, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            //
            Int64 lngBillKey = 0;
            if (grdMain.CurrentRow == null)
                return;
            lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value);
            if (lngBillKey == 0)
                return;
            DAL.ClsSc_StationOutBill  oBill = new DAL.ClsSc_StationOutBill();
            if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
            {
                if (MessageBox.Show("确定要删除当前单据?", "提示", MessageBoxButtons.OKCancel)==DialogResult.OK)
                {
                    if (oBill.omodel.HMaker != ClsPub.CurUserName && (ClsPub.CurUserName != "admin" && ClsPub.CurUserName != "Admin"))
                    {
                        MessageBox.Show("只能删除本人的单据!", "提示");
                        return;
                    }
                    string c = "";
                    SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
                    DataSet ds;
                    //判断生产订单是否已结案,要求计划手工反结案  åˆ¤æ–­æ˜¯å¦å­˜åœ¨ ç›¸åŒå•据号 çš„入库单 , ä¸‹é“工序是否进站
                    ds = oCn.RunProcReturn("exec h_p_MES_StationOutBill_DelCtrl  '" + oBill.omodel.HBillNo + "'", "h_p_MES_StationOutBill_DelCtrl");
                    if (ds == null)
                    {
                        MessageBox.Show("判断关联失败!");
                        return;
                    }
                    if (ds.Tables[0].Rows.Count > 0 && Pub_Class.ClsPub.isInt(ds.Tables[0].Rows[0][0]) == 2)
                    {
                        MessageBox.Show(Pub_Class.ClsPub.isStrNull(ds.Tables[0].Rows[0][1]));
                        return;
                    }
                    //if (oBill.DeleteCheck(oBill.omodel.HInterID,"出站单", ref c) == false)
                    //{
                    //    MessageBox.Show(c, "提示");
                    //    return;
                    //}
                    //if (oBill.omodel.HChecker != "")
                    //{
                    //    MessageBox.Show("单据已经审核,不能删除!", "提示");
                    //    return;
                    //}
                    //if (!oBill.DeleteBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo))
                    //写入删除日志
                    string WorkList = "删除出站单:" + oBill.omodel.HBillNo;
                    //BLL.ClsPub_BLL.System_Log_DropAdd(WorkList);
                    if (!oBill.DeleteBill(oBill.omodel.HInterID, oBill.omodel.HProcExchInterID, oBill.omodel.HProcExchEntryID, ref DBUtility.ClsPub.sExeReturnInfo))
                    {
                        MessageBox.Show(DBUtility.ClsPub.sExeReturnInfo, "提示");
                        return;
                    }
                    else
                    {
                        Display();
                    }
                }
            }
            else
            {
                MessageBox.Show("单据未找到", "提示");
            }
        }
        private void timer2_Tick(object sender, EventArgs e)
        {
            timer2.Enabled = false;
            frmCondition = new frmBillQueryCondition_New();
            SetCondition(frmCondition, ViewName, this.Name);
            frmCondition.ShowDialog();
            if (frmCondition.Tag.ToString() == "OK")
            {
                timer1.Enabled = true;
            }
        }
        private void bclk_Click(object sender, EventArgs e)
        {
            //保存列宽
            DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name);
        }
        private void mrlk_Click(object sender, EventArgs e)
        {
            DBUtility.Xt_BaseBillFun.DefaultGridView(grdMain, this.Name);
        }
        //
        private void GraphLine()
        {
            int MainIDCol = Fun_GetCol("hmainid");
            int SubIDCol = Fun_GetCol("hsubid");
            string s = frmCondition.cmbHComplete.Text;
            long n=0;
            DBUtility.Xt_BaseBillFun.GraphLine(grdMain, MainIDCol, SubIDCol, s,ref n);
            //显示
            lbldj.Text = "查询出 " + n.ToString() + " å¼ å•据";
            lbljl.Text = "共有 " + grdMain.RowCount.ToString() + " æ¡è®°å½•";
        }
        //审核
        private void sh_Click(object sender, EventArgs e)
        {
            this.Sub_CheckBill();
        }
        //审核单据
        private void Sub_CheckBill()
        {
            //审核权限
            if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            //
            Int64 lngBillKey = 0;
            if (grdMain.CurrentRow == null)
                return;
            lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value);
            if (lngBillKey == 0)
                return;
            DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill();
            //查看是否已审核,关闭,作废
            if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
            {
                if (oBill.omodel.HChecker.Trim() != "")
                {
                    MessageBox.Show("单据已审核!不能再次审核", "提示");
                    return;
                }
            }
            else
            {
                MessageBox.Show("单据不存在!原因:" + DBUtility.ClsPub.sExeReturnInfo, "提示");
                return;
            }
            //审核
            if (oBill.CheckBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true)
            {
                MessageBox.Show("审核成功!", "提示");
                return;
            }
            else
            {
                MessageBox.Show("审核失败!原因:" + DBUtility.ClsPub.sExeReturnInfo, "提示");
                return;
            }
        }
        //反审单据
        private void Sub_AbandonCheck()
        {
            //审核权限
            if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true,DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            //
            Int64 lngBillKey = 0;
            if (grdMain.CurrentRow == null)
                return;
            lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value);
            if (lngBillKey == 0)
                return;
            DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill();
            //查看是否已审核,关闭,作废
            if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
            {
                if (oBill.omodel.HChecker.Trim() == "")
                {
                    MessageBox.Show("单据未审核!不需要反审核!", "提示");
                    return;
                }
            }
            else
            {
                MessageBox.Show("单据不存在!原因:" + DBUtility.ClsPub.sExeReturnInfo, "提示");
                return;
            }
            //反审核
            if (oBill.AbandonCheck(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true)
            {
                MessageBox.Show("反审核成功!", "提示");
                return;
            }
            else
            {
                MessageBox.Show("反审核失败!原因:" + DBUtility.ClsPub.sExeReturnInfo, "提示");
                return;
            }
        }
        //反审核
        private void qsh_Click(object sender, EventArgs e)
        {
            Sub_AbandonCheck();
        }
        private void GraphicsGrid()
        {
            DBUtility.Xt_BaseBillFun.GraphicsGrid(grdMain);
        }
        #region  //打印设置
        GridppReport Report;
        //预览
        private void yl_Click(object sender, EventArgs e)
        {
            //选择打印模板
            BLL.Gy_OpenTmp oFrm = new BLL.Gy_OpenTmp();
            oFrm.sBillName = ModName;
            oFrm.sBillModel = ModCaption;
            oFrm.ShowDialog();
            if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK)
            {
                //
                Sub_SetReport(oFrm.sOpenTmp);
                Report.PrintPreview(true);
            }
        }
        private void Sub_SetReport(string sOpenTmp)
        {
            //判断行数
            for (int i = 0; i < grdMain.Rows.Count; i++)
            {
                grdMain.Rows[i].Cells[0].Value = "";
            }
            for (int i = 0; i < grdMain.SelectedRows.Count; i++)
            {
                grdMain.Rows[grdMain.SelectedRows[i].Index].Cells[0].Value = "*";
            }
            //
            //
            Report = new GridppReport();
            Report.LoadFromFile(DBUtility.ClsPub.AppPath + @"\" + sOpenTmp + ".grf");  //here .
            Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecordByDataTable);
        }
        private void ReportFetchRecordByDataTable()
        {
            DataTable dt = new DataTable();
            BLL.Utility.FillRecordToReport_Sel(Report, grdMain, dt, Fun_GetCol("选择"));
        }
        #endregion
        //
        private void grdMain_Paint(object sender, PaintEventArgs e)
        {
            GraphicsGrid();
        }
        //合计 new
        private void Total()
        {
            if (grdMain.Rows.Count > 0 &&  grdMain.ColumnCount>0)
            {
                oSumGrid.SetGridsum();
                //oSumGrid.Total();
                oSumGrid.TotalAll();
            }
        }
        //合计 new
        private void grdMain_ColumnWidthChanged(object sender, DataGridViewColumnEventArgs e)
        {
            Total();
        }
        //合计 new
        private void grdMain_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e)
        {
            //Total();
        }
        //引出EXCEL
        private void dc_Click(object sender, EventArgs e)
        {
            //DBUtility.Gy_BaseFun.DataToExcel(this.Text, grdMain);
            DataGridViewToExcel2();
        }
        private void txtHBillNo_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                Sub_FastQuery();
            }
        }
        //快速过滤
        private void Sub_FastQuery()
        {
            string sFastSQL = "";
            //LOT号
            if (txtHBillNo.Text.Trim() != "")
            {
                sFastSQL = sFastSQL + " and å·¥åºæµè½¬å¡å· like '%" + txtHBillNo.Text + "%'";
            }
            //工作中心
            if (txtHCenterID.Text.Trim() != "")
            {
                sFastSQL = sFastSQL + " and (工作中心 like '%" + txtHCenterID.Text + "%' or å·¥ä½œä¸­å¿ƒä»£ç  like '%" + txtHCenterID.Text + "%') ";
            }
            //订单跟踪号
            if (txtHOrderProcNO.Text.Trim() != "")
            {
                sFastSQL = sFastSQL + " and (订单跟踪号 like '%" + txtHOrderProcNO.Text + "%'  ) ";
            }
            //同步状态
            if(cmbHStatus.Text.Trim()=="未同步")
            {
                sFastSQL = sFastSQL + " and (同步状态='" + cmbHStatus.Text.Trim() + "'  ) ";
            }
            if (cmbHStatus.Text.Trim() == "已同步")
            {
                sFastSQL = sFastSQL + " and (同步状态='" + cmbHStatus.Text.Trim() + "'  ) ";
            }
            sDlgWhere = sFastSQL;
            Display();
        }
        private void DataGridViewToExcel2()
        {
            SaveFileDialog saveFileDialog = new SaveFileDialog();
            saveFileDialog.Filter = "Execl文件(*.xls)|*.xls";
            saveFileDialog.FilterIndex = 0;
            saveFileDialog.RestoreDirectory = true;
            saveFileDialog.CreatePrompt = true;
            saveFileDialog.Title = "数据视图导出EXCEL文件";
            saveFileDialog.ShowDialog();
            if (saveFileDialog.FileName == "")
            {
                return;
            }
            Stream myStream;
            myStream = saveFileDialog.OpenFile();
            StreamWriter sw = new StreamWriter(myStream, System.Text.Encoding.GetEncoding("gb2312"));
            string str = "";
            DateTime start = DateTime.Now;
            try
            {
                //写标题
                for (int i = 0; i < grdMain.ColumnCount; i++)
                {
                    if (i > 0)
                    {
                        str += "\t";
                    }
                    str += grdMain.Columns[i].HeaderText;
                }
                sw.WriteLine(str);
                //写内容
                for (int j = 0; j < grdMain.Rows.Count; j++)
                {
                    string tempStr = "";
                    for (int k = 0; k < grdMain.Columns.Count; k++)
                    {
                        if (k > 0)
                        {
                            tempStr += "\t";
                        }
                        if (grdMain.Rows[j].Cells[k].Value == null)
                        {
                            tempStr += string.Empty;
                        }
                        else
                        {
                            tempStr += grdMain.Rows[j].Cells[k].Value.ToString();
                        }
                    }
                    sw.WriteLine(tempStr);
                }
                sw.Close();
                myStream.Close();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            finally
            {
                sw.Close();
                myStream.Close();
            }
            MessageBox.Show("将此工作表导出为excel共耗时:" + DateTime.Now.Subtract(start).TotalMilliseconds.ToString() + "毫秒");
        }
        private void txtHCenterID_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                Sub_FastQuery();
            }
        }
        private void grdMain_Scroll(object sender, ScrollEventArgs e)
        {
            if (e.ScrollOrientation == ScrollOrientation.HorizontalScroll)
            {
                Total();
            }
        }
        private void txtHOrderProcNO_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                Sub_FastQuery();
            }
        }
        private void eXCELToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DBUtility.Gy_BaseFun.DataToExcel(this.Text, grdMain);
        }
        private void cSVToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DBUtility.Gy_BaseFun.DataGridViewToExcel2(grdMain, this.Text, this.Text);
        }
        private void cmbHStatus_SelectedIndexChanged(object sender, EventArgs e)
        {
            Sub_FastQuery();
        }
    }
}
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationOutBillList_BaoFei.designer.cs
New file
@@ -0,0 +1,638 @@
namespace WorkM
{
    partial class MES_StationOutBillList_BaoFei
    {
        /// <summary>
        /// å¿…需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        /// <summary>
        /// æ¸…理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
        #region Windows çª—体设计器生成的代码
        /// <summary>
        /// è®¾è®¡å™¨æ”¯æŒæ‰€éœ€çš„æ–¹æ³• - ä¸è¦
        /// ä½¿ç”¨ä»£ç ç¼–辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MES_StationOutBillList_BaoFei));
            this.pPic = new System.Windows.Forms.Panel();
            this.cmbHStatus = new System.Windows.Forms.ComboBox();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.txtHOrderProcNO = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.txtHCenterID = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.txtHBillNo = new System.Windows.Forms.TextBox();
            this.panel1 = new System.Windows.Forms.Panel();
            this.lbljl = new System.Windows.Forms.Label();
            this.lbldj = new System.Windows.Forms.Label();
            this.lblCaption = new System.Windows.Forms.Label();
            this.Tool = new System.Windows.Forms.ToolStrip();
            this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton();
            this.eXCELToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.cSVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.dc = new System.Windows.Forms.ToolStripButton();
            this.yl = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.cx = new System.Windows.Forms.ToolStripButton();
            this.sx = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.xz = new System.Windows.Forms.ToolStripButton();
            this.dj = new System.Windows.Forms.ToolStripButton();
            this.sc = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
            this.sh = new System.Windows.Forms.ToolStripButton();
            this.qsh = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
            this.tc = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
            this.mrlk = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
            this.bclk = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.timer2 = new System.Windows.Forms.Timer(this.components);
            this.grdMain = new System.Windows.Forms.DataGridView();
            this.grdPrint = new System.Windows.Forms.DataGridView();
            this.grdSum = new System.Windows.Forms.DataGridView();
            this.pPic.SuspendLayout();
            this.panel1.SuspendLayout();
            this.Tool.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdSum)).BeginInit();
            this.SuspendLayout();
            //
            // pPic
            //
            this.pPic.BackColor = System.Drawing.Color.White;
            this.pPic.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pPic.BackgroundImage")));
            this.pPic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            this.pPic.Controls.Add(this.cmbHStatus);
            this.pPic.Controls.Add(this.label4);
            this.pPic.Controls.Add(this.label3);
            this.pPic.Controls.Add(this.txtHOrderProcNO);
            this.pPic.Controls.Add(this.label2);
            this.pPic.Controls.Add(this.txtHCenterID);
            this.pPic.Controls.Add(this.label1);
            this.pPic.Controls.Add(this.txtHBillNo);
            this.pPic.Controls.Add(this.panel1);
            this.pPic.Controls.Add(this.lblCaption);
            this.pPic.Dock = System.Windows.Forms.DockStyle.Top;
            this.pPic.Location = new System.Drawing.Point(0, 50);
            this.pPic.Name = "pPic";
            this.pPic.Size = new System.Drawing.Size(1246, 53);
            this.pPic.TabIndex = 15;
            //
            // cmbHStatus
            //
            this.cmbHStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbHStatus.FormattingEnabled = true;
            this.cmbHStatus.Items.AddRange(new object[] {
            "未同步",
            "已同步",
            "全部"});
            this.cmbHStatus.Location = new System.Drawing.Point(346, 11);
            this.cmbHStatus.Margin = new System.Windows.Forms.Padding(2);
            this.cmbHStatus.Name = "cmbHStatus";
            this.cmbHStatus.Size = new System.Drawing.Size(92, 20);
            this.cmbHStatus.TabIndex = 20;
            this.cmbHStatus.SelectedIndexChanged += new System.EventHandler(this.cmbHStatus_SelectedIndexChanged);
            //
            // label4
            //
            this.label4.AutoSize = true;
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.Location = new System.Drawing.Point(280, 15);
            this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(53, 12);
            this.label4.TabIndex = 19;
            this.label4.Text = "同步状态";
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Location = new System.Drawing.Point(569, 42);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(77, 12);
            this.label3.TabIndex = 18;
            this.label3.Text = "订单跟踪号:";
            this.label3.Visible = false;
            //
            // txtHOrderProcNO
            //
            this.txtHOrderProcNO.Location = new System.Drawing.Point(649, 38);
            this.txtHOrderProcNO.Name = "txtHOrderProcNO";
            this.txtHOrderProcNO.Size = new System.Drawing.Size(162, 21);
            this.txtHOrderProcNO.TabIndex = 17;
            this.txtHOrderProcNO.Visible = false;
            this.txtHOrderProcNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHOrderProcNO_KeyDown);
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Location = new System.Drawing.Point(813, 29);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(65, 12);
            this.label2.TabIndex = 14;
            this.label2.Text = "工作中心:";
            this.label2.Visible = false;
            //
            // txtHCenterID
            //
            this.txtHCenterID.Location = new System.Drawing.Point(881, 26);
            this.txtHCenterID.Name = "txtHCenterID";
            this.txtHCenterID.Size = new System.Drawing.Size(162, 21);
            this.txtHCenterID.TabIndex = 15;
            this.txtHCenterID.Visible = false;
            this.txtHCenterID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHCenterID_KeyDown);
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Location = new System.Drawing.Point(452, 15);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(65, 12);
            this.label1.TabIndex = 8;
            this.label1.Text = "流转卡号:";
            //
            // txtHBillNo
            //
            this.txtHBillNo.Location = new System.Drawing.Point(520, 11);
            this.txtHBillNo.Name = "txtHBillNo";
            this.txtHBillNo.Size = new System.Drawing.Size(162, 21);
            this.txtHBillNo.TabIndex = 9;
            this.txtHBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBillNo_KeyDown);
            //
            // panel1
            //
            this.panel1.Controls.Add(this.lbljl);
            this.panel1.Controls.Add(this.lbldj);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
            this.panel1.Location = new System.Drawing.Point(1049, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(197, 53);
            this.panel1.TabIndex = 7;
            //
            // lbljl
            //
            this.lbljl.AutoSize = true;
            this.lbljl.Location = new System.Drawing.Point(24, 30);
            this.lbljl.Name = "lbljl";
            this.lbljl.Size = new System.Drawing.Size(11, 12);
            this.lbljl.TabIndex = 1;
            this.lbljl.Text = " ";
            //
            // lbldj
            //
            this.lbldj.AutoSize = true;
            this.lbldj.Location = new System.Drawing.Point(24, 12);
            this.lbldj.Name = "lbldj";
            this.lbldj.Size = new System.Drawing.Size(0, 12);
            this.lbldj.TabIndex = 0;
            //
            // lblCaption
            //
            this.lblCaption.AutoSize = true;
            this.lblCaption.BackColor = System.Drawing.Color.Transparent;
            this.lblCaption.Cursor = System.Windows.Forms.Cursors.No;
            this.lblCaption.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblCaption.Location = new System.Drawing.Point(12, 15);
            this.lblCaption.Name = "lblCaption";
            this.lblCaption.Size = new System.Drawing.Size(164, 21);
            this.lblCaption.TabIndex = 4;
            this.lblCaption.Text = "工序报废品报表";
            this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // Tool
            //
            this.Tool.AutoSize = false;
            this.Tool.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Tool.BackgroundImage")));
            this.Tool.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.Tool.ImageScalingSize = new System.Drawing.Size(22, 22);
            this.Tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripDropDownButton1,
            this.dc,
            this.yl,
            this.toolStripSeparator2,
            this.cx,
            this.sx,
            this.toolStripSeparator1,
            this.xz,
            this.dj,
            this.sc,
            this.toolStripSeparator5,
            this.sh,
            this.qsh,
            this.toolStripSeparator6,
            this.tc,
            this.toolStripSeparator3,
            this.toolStripSeparator9,
            this.mrlk,
            this.toolStripSeparator7,
            this.bclk,
            this.toolStripSeparator8});
            this.Tool.Location = new System.Drawing.Point(0, 0);
            this.Tool.Name = "Tool";
            this.Tool.Padding = new System.Windows.Forms.Padding(0);
            this.Tool.Size = new System.Drawing.Size(1246, 50);
            this.Tool.Stretch = true;
            this.Tool.TabIndex = 16;
            this.Tool.Text = "toolStrip1";
            //
            // toolStripDropDownButton1
            //
            this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.eXCELToolStripMenuItem,
            this.cSVToolStripMenuItem});
            this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image")));
            this.toolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";
            this.toolStripDropDownButton1.Size = new System.Drawing.Size(45, 47);
            this.toolStripDropDownButton1.Text = "引出";
            this.toolStripDropDownButton1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.toolStripDropDownButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            //
            // eXCELToolStripMenuItem
            //
            this.eXCELToolStripMenuItem.Name = "eXCELToolStripMenuItem";
            this.eXCELToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
            this.eXCELToolStripMenuItem.Text = "EXCEL";
            this.eXCELToolStripMenuItem.Click += new System.EventHandler(this.eXCELToolStripMenuItem_Click);
            //
            // cSVToolStripMenuItem
            //
            this.cSVToolStripMenuItem.Name = "cSVToolStripMenuItem";
            this.cSVToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
            this.cSVToolStripMenuItem.Text = "CSV";
            this.cSVToolStripMenuItem.Click += new System.EventHandler(this.cSVToolStripMenuItem_Click);
            //
            // dc
            //
            this.dc.AutoSize = false;
            this.dc.Image = ((System.Drawing.Image)(resources.GetObject("dc.Image")));
            this.dc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.dc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.dc.ImageTransparentColor = System.Drawing.Color.White;
            this.dc.Name = "dc";
            this.dc.Size = new System.Drawing.Size(36, 47);
            this.dc.Text = "引出";
            this.dc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.dc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.dc.Click += new System.EventHandler(this.dc_Click);
            //
            // yl
            //
            this.yl.AutoSize = false;
            this.yl.Image = ((System.Drawing.Image)(resources.GetObject("yl.Image")));
            this.yl.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.yl.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.yl.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.yl.Name = "yl";
            this.yl.Size = new System.Drawing.Size(36, 47);
            this.yl.Text = "预览";
            this.yl.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.yl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.yl.Click += new System.EventHandler(this.yl_Click);
            //
            // toolStripSeparator2
            //
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50);
            //
            // cx
            //
            this.cx.AutoSize = false;
            this.cx.Image = ((System.Drawing.Image)(resources.GetObject("cx.Image")));
            this.cx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.cx.ImageTransparentColor = System.Drawing.Color.White;
            this.cx.Name = "cx";
            this.cx.Size = new System.Drawing.Size(36, 47);
            this.cx.Text = "查询";
            this.cx.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.cx.Click += new System.EventHandler(this.cx_Click);
            //
            // sx
            //
            this.sx.AutoSize = false;
            this.sx.Image = ((System.Drawing.Image)(resources.GetObject("sx.Image")));
            this.sx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.sx.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.sx.Name = "sx";
            this.sx.Size = new System.Drawing.Size(36, 47);
            this.sx.Text = "刷新";
            this.sx.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.sx.Click += new System.EventHandler(this.sx_Click);
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator1.Visible = false;
            //
            // xz
            //
            this.xz.AutoSize = false;
            this.xz.Image = ((System.Drawing.Image)(resources.GetObject("xz.Image")));
            this.xz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.xz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.xz.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.xz.Name = "xz";
            this.xz.Size = new System.Drawing.Size(36, 47);
            this.xz.Text = "新增";
            this.xz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.xz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.xz.Visible = false;
            this.xz.Click += new System.EventHandler(this.xz_Click);
            //
            // dj
            //
            this.dj.AutoSize = false;
            this.dj.Image = ((System.Drawing.Image)(resources.GetObject("dj.Image")));
            this.dj.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.dj.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.dj.ImageTransparentColor = System.Drawing.Color.White;
            this.dj.Name = "dj";
            this.dj.Size = new System.Drawing.Size(36, 47);
            this.dj.Text = "单据";
            this.dj.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.dj.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.dj.Visible = false;
            this.dj.Click += new System.EventHandler(this.dj_Click);
            //
            // sc
            //
            this.sc.AutoSize = false;
            this.sc.Image = ((System.Drawing.Image)(resources.GetObject("sc.Image")));
            this.sc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.sc.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.sc.Name = "sc";
            this.sc.Size = new System.Drawing.Size(36, 47);
            this.sc.Text = "删除";
            this.sc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.sc.Visible = false;
            this.sc.Click += new System.EventHandler(this.sc_Click);
            //
            // toolStripSeparator5
            //
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator5.Visible = false;
            //
            // sh
            //
            this.sh.AutoSize = false;
            this.sh.Image = ((System.Drawing.Image)(resources.GetObject("sh.Image")));
            this.sh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.sh.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.sh.Name = "sh";
            this.sh.Size = new System.Drawing.Size(36, 47);
            this.sh.Text = "审核";
            this.sh.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.sh.Visible = false;
            this.sh.Click += new System.EventHandler(this.sh_Click);
            //
            // qsh
            //
            this.qsh.AutoSize = false;
            this.qsh.Image = ((System.Drawing.Image)(resources.GetObject("qsh.Image")));
            this.qsh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.qsh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.qsh.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.qsh.Name = "qsh";
            this.qsh.Size = new System.Drawing.Size(36, 47);
            this.qsh.Text = "反审";
            this.qsh.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.qsh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.qsh.Visible = false;
            this.qsh.Click += new System.EventHandler(this.qsh_Click);
            //
            // toolStripSeparator6
            //
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(6, 50);
            //
            // tc
            //
            this.tc.AutoSize = false;
            this.tc.Image = ((System.Drawing.Image)(resources.GetObject("tc.Image")));
            this.tc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.tc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.tc.ImageTransparentColor = System.Drawing.Color.White;
            this.tc.Name = "tc";
            this.tc.Size = new System.Drawing.Size(36, 47);
            this.tc.Text = "退出";
            this.tc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.tc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.tc.Click += new System.EventHandler(this.tc_Click);
            //
            // toolStripSeparator3
            //
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50);
            //
            // toolStripSeparator9
            //
            this.toolStripSeparator9.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator9.Name = "toolStripSeparator9";
            this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50);
            //
            // mrlk
            //
            this.mrlk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.mrlk.Image = ((System.Drawing.Image)(resources.GetObject("mrlk.Image")));
            this.mrlk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.mrlk.ImageTransparentColor = System.Drawing.Color.White;
            this.mrlk.Name = "mrlk";
            this.mrlk.Size = new System.Drawing.Size(60, 47);
            this.mrlk.Text = "默认列宽";
            this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.mrlk.Click += new System.EventHandler(this.mrlk_Click);
            //
            // toolStripSeparator7
            //
            this.toolStripSeparator7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator7.Name = "toolStripSeparator7";
            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 50);
            //
            // bclk
            //
            this.bclk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.bclk.Image = ((System.Drawing.Image)(resources.GetObject("bclk.Image")));
            this.bclk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.bclk.ImageTransparentColor = System.Drawing.Color.White;
            this.bclk.Name = "bclk";
            this.bclk.Size = new System.Drawing.Size(60, 47);
            this.bclk.Text = "保存列宽";
            this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.bclk.Click += new System.EventHandler(this.bclk_Click);
            //
            // toolStripSeparator8
            //
            this.toolStripSeparator8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50);
            //
            // timer1
            //
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            //
            // timer2
            //
            this.timer2.Enabled = true;
            this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
            //
            // grdMain
            //
            this.grdMain.AllowUserToAddRows = false;
            this.grdMain.AllowUserToDeleteRows = false;
            this.grdMain.BackgroundColor = System.Drawing.SystemColors.InactiveCaption;
            this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdMain.Location = new System.Drawing.Point(0, 103);
            this.grdMain.Name = "grdMain";
            this.grdMain.ReadOnly = true;
            this.grdMain.RowHeadersWidth = 51;
            this.grdMain.RowTemplate.Height = 23;
            this.grdMain.Size = new System.Drawing.Size(1246, 409);
            this.grdMain.TabIndex = 19;
            this.grdMain.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.grdMain_CellMouseUp);
            this.grdMain.ColumnWidthChanged += new System.Windows.Forms.DataGridViewColumnEventHandler(this.grdMain_ColumnWidthChanged);
            this.grdMain.Scroll += new System.Windows.Forms.ScrollEventHandler(this.grdMain_Scroll);
            this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint);
            this.grdMain.DoubleClick += new System.EventHandler(this.grdMain_DblClick);
            //
            // grdPrint
            //
            this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdPrint.Location = new System.Drawing.Point(772, 146);
            this.grdPrint.Name = "grdPrint";
            this.grdPrint.RowHeadersWidth = 51;
            this.grdPrint.RowTemplate.Height = 23;
            this.grdPrint.Size = new System.Drawing.Size(25, 24);
            this.grdPrint.TabIndex = 8;
            this.grdPrint.Visible = false;
            //
            // grdSum
            //
            this.grdSum.AllowUserToAddRows = false;
            this.grdSum.AllowUserToDeleteRows = false;
            this.grdSum.BackgroundColor = System.Drawing.SystemColors.Control;
            this.grdSum.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdSum.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.grdSum.Location = new System.Drawing.Point(0, 512);
            this.grdSum.Name = "grdSum";
            this.grdSum.ReadOnly = true;
            this.grdSum.RowHeadersWidth = 51;
            this.grdSum.RowTemplate.Height = 23;
            this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.grdSum.Size = new System.Drawing.Size(1246, 19);
            this.grdSum.TabIndex = 47;
            //
            // MES_StationOutBillList_BaoFei
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1246, 531);
            this.Controls.Add(this.grdMain);
            this.Controls.Add(this.grdSum);
            this.Controls.Add(this.pPic);
            this.Controls.Add(this.Tool);
            this.Controls.Add(this.grdPrint);
            this.Name = "MES_StationOutBillList_BaoFei";
            this.Text = "工序报废品报表";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.MES_StationOutBillList_BaoFei_Load);
            this.pPic.ResumeLayout(false);
            this.pPic.PerformLayout();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.Tool.ResumeLayout(false);
            this.Tool.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdSum)).EndInit();
            this.ResumeLayout(false);
        }
        #endregion
        private System.Windows.Forms.Panel pPic;
        private System.Windows.Forms.Label lblCaption;
        private System.Windows.Forms.ToolStrip Tool;
        private System.Windows.Forms.ToolStripButton yl;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
        private System.Windows.Forms.ToolStripButton cx;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
        private System.Windows.Forms.ToolStripButton tc;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
        public System.Windows.Forms.Timer timer1;
        private System.Windows.Forms.ToolStripButton sx;
        private System.Windows.Forms.ToolStripButton dj;
        private System.Windows.Forms.ToolStripButton xz;
        private System.Windows.Forms.ToolStripButton sc;
        private System.Windows.Forms.Timer timer2;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator9;
        private System.Windows.Forms.ToolStripButton mrlk;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
        private System.Windows.Forms.ToolStripButton bclk;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
        private System.Windows.Forms.ToolStripButton sh;
        private System.Windows.Forms.ToolStripButton qsh;
        private System.Windows.Forms.DataGridView grdMain;
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Label lbljl;
        private System.Windows.Forms.Label lbldj;
        private System.Windows.Forms.DataGridView grdPrint;
        private System.Windows.Forms.DataGridView grdSum;
        private System.Windows.Forms.ToolStripButton dc;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox txtHBillNo;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox txtHCenterID;
        private System.Windows.Forms.TextBox txtHOrderProcNO;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
        private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButton1;
        private System.Windows.Forms.ToolStripMenuItem eXCELToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem cSVToolStripMenuItem;
        private System.Windows.Forms.ComboBox cmbHStatus;
        private System.Windows.Forms.Label label4;
    }
}
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationOutBillList_BaoFei.resx
New file
Diff too large
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationOutBillList_GeLi.cs
New file
@@ -0,0 +1,633 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using gregn6Lib;
using SQLHelper;
using DBUtility;
using System.IO;
using System.Reflection;
namespace WorkM
{
    public partial class MES_StationOutBillList_GeLi : Form
    {
        public MES_StationOutBillList_GeLi()
        {
            InitializeComponent();
        }
        public DBUtility.frmBillQueryCondition_New frmCondition;
        public string ViewName = "h_v_MES_StationOutBillList_GeLi";
        public string ModCaption = "工序隔离品报表";
        public const string ModName = "3791";
        public const string ModRightName = "MES_StationOutBill";
        public const string ModRightNameEdit = ModRightName + "_Edit";
        public const string ModRightNameCheck = ModRightName + "_Check";
        public const string ModRightNameClose = ModRightName + "_Close";
        public const string ModRightNameDelete = ModRightName + "_Delete";
        DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill();
        public MES_StationOutBill oFrm;
        Pub_Class.ClsGridListSum oSumGrid = new Pub_Class.ClsGridListSum();
        public string sDlgWhere = "";  //外窗体递入
        //
        private void initGrid()
        {
            DBUtility.Xt_BaseBillFun.initGridList(grdMain,this.Name);
        }
        //
        private void Display()
        {
            ClsCN SubCn = new ClsCN();
            DataSet DSet;
            string sSql = "";
            string sWhere = "";
            if (frmCondition.SqlStr.Trim().Length == 0)
            {
                sSql = "Select top 5000 * from " + ViewName + " Where 1=1 " + sWhere + sDlgWhere + " order by hmainid desc ";
            }
            else
            {
                sSql = frmCondition.SqlStr + sWhere + sDlgWhere + " order by hmainid desc ";
            }
            //
            DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo);
            //生成首行标题
            if (DSet == null)
            {
                MessageBox.Show("没有返回任何结果,请在过滤框中点击【恢复】按钮,尝试再次查询!" + DBUtility.ClsPub.sExeReturnInfo);
                return;
            }
            //释放冻结
            DBUtility.Xt_BaseBillFun.CancelFrozenCol(grdMain);
            //
            grdMain.DataSource = DSet.Tables[0].DefaultView;
            //设置合计列
            string sTotalCol = "";
            sTotalCol = DBUtility.Gy_BaseFun.GetTotalCols(DSet);
            string[] sT;
            sT = sTotalCol.Split(Convert.ToChar(","));
            oSumGrid.BuildTotalCols(sT);
            //
            //冻结
            int FrCol = DBUtility.ClsPub.isInt(frmCondition.txtFrozenCol.Text);
            string s = frmCondition.cmbHComplete.Text;
            DBUtility.Xt_BaseBillFun.DisplayGrid(grdMain, this.Name, s, FrCol);
            //画线
            GraphLine();
            Total();
            //
        }
        //
        private void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Enabled=false;
            initGrid();
            Display();
        }
        private void tc_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        private void sx_Click(object sender, EventArgs e)
        {
            timer1.Enabled = true;
        }
        private void dj_Click(object sender, EventArgs e)
        {
            Sub_ShowBill();
        }
        //显示单据
        private void Sub_ShowBill()
        {
            Int64 lngBillKey = 0;
            if (grdMain.CurrentRow == null)
                return;
            lngBillKey =DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value);
            if (lngBillKey == 0)
                return;
            DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill();
            if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
            {
                oFrm = new MES_StationOutBill();
                oFrm.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View;
                oFrm.BillOld = oBill;
                oFrm.ShowDialog();
                if (oFrm.BillChange)
                {
                    if (MessageBox.Show("单据列表已经发生变化,是否刷新", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK)
                    {
                        timer1.Enabled = true;
                    }
                }
            }
            else
            {
                MessageBox.Show("单据未找到", "提示");
            }
            oBill = null;
        }
        //
        private Int32 Fun_GetCol(string sCol)
        {
            return DBUtility.Xt_BaseBillFun.Fun_GetCol(sCol, grdMain);
        }
        //
        private void MES_StationOutBillList_GeLi_Load(object sender, EventArgs e)
        {
            //
            frmCondition = new frmBillQueryCondition_New();
            this.Text = ModCaption;
            lblCaption.Text = ModCaption;
            oSumGrid.ogrdMain = grdMain;  //初始化 new
            oSumGrid.oGridsum = grdSum;
            initGrid();
        }
        private void grdMain_DblClick(object sender, EventArgs e)
        {
            Sub_ShowBill();
        }
        private void cx_Click(object sender, EventArgs e)
        {
            frmCondition = new frmBillQueryCondition_New();
            SetCondition(frmCondition, ViewName, this.Name);
            frmCondition.ShowDialog();
            if (frmCondition.Tag.ToString() == "OK")
            {
                Display();
            }
        }
        public void SetCondition(frmBillQueryCondition_New frmCondition, string ViewName, string Name)
        {
            frmCondition.Tag = "";
            frmCondition.ViewName = ViewName;
            frmCondition.ModName = Name;
        }
        private void xz_Click(object sender, EventArgs e)
        {
            //
            MES_StationOutBill oMES_StationOutBill = new MES_StationOutBill();
            oMES_StationOutBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
            oMES_StationOutBill.ModCaption = "工序出站汇报不良品清单";
            oMES_StationOutBill.ShowDialog();
        }
        private void sc_Click(object sender, EventArgs e)
        {
            Sub_DeleteBill();
        }
        //删除
        private void Sub_DeleteBill()
        {
            //编辑权限
            if (!DBUtility.ClsPub.Security_Log(ModRightNameDelete, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            //
            Int64 lngBillKey = 0;
            if (grdMain.CurrentRow == null)
                return;
            lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value);
            if (lngBillKey == 0)
                return;
            DAL.ClsSc_StationOutBill  oBill = new DAL.ClsSc_StationOutBill();
            if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
            {
                if (MessageBox.Show("确定要删除当前单据?", "提示", MessageBoxButtons.OKCancel)==DialogResult.OK)
                {
                    if (oBill.omodel.HMaker != ClsPub.CurUserName && (ClsPub.CurUserName != "admin" && ClsPub.CurUserName != "Admin"))
                    {
                        MessageBox.Show("只能删除本人的单据!", "提示");
                        return;
                    }
                    string c = "";
                    SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
                    DataSet ds;
                    //判断生产订单是否已结案,要求计划手工反结案  åˆ¤æ–­æ˜¯å¦å­˜åœ¨ ç›¸åŒå•据号 çš„入库单 , ä¸‹é“工序是否进站
                    ds = oCn.RunProcReturn("exec h_p_MES_StationOutBill_DelCtrl  '" + oBill.omodel.HBillNo + "'", "h_p_MES_StationOutBill_DelCtrl");
                    if (ds == null)
                    {
                        MessageBox.Show("判断关联失败!");
                        return;
                    }
                    if (ds.Tables[0].Rows.Count > 0 && Pub_Class.ClsPub.isInt(ds.Tables[0].Rows[0][0]) == 2)
                    {
                        MessageBox.Show(Pub_Class.ClsPub.isStrNull(ds.Tables[0].Rows[0][1]));
                        return;
                    }
                    //if (oBill.DeleteCheck(oBill.omodel.HInterID,"出站单", ref c) == false)
                    //{
                    //    MessageBox.Show(c, "提示");
                    //    return;
                    //}
                    //if (oBill.omodel.HChecker != "")
                    //{
                    //    MessageBox.Show("单据已经审核,不能删除!", "提示");
                    //    return;
                    //}
                    //if (!oBill.DeleteBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo))
                    //写入删除日志
                    string WorkList = "删除出站单:" + oBill.omodel.HBillNo;
                    //BLL.ClsPub_BLL.System_Log_DropAdd(WorkList);
                    if (!oBill.DeleteBill(oBill.omodel.HInterID, oBill.omodel.HProcExchInterID, oBill.omodel.HProcExchEntryID, ref DBUtility.ClsPub.sExeReturnInfo))
                    {
                        MessageBox.Show(DBUtility.ClsPub.sExeReturnInfo, "提示");
                        return;
                    }
                    else
                    {
                        Display();
                    }
                }
            }
            else
            {
                MessageBox.Show("单据未找到", "提示");
            }
        }
        private void timer2_Tick(object sender, EventArgs e)
        {
            timer2.Enabled = false;
            frmCondition = new frmBillQueryCondition_New();
            SetCondition(frmCondition, ViewName, this.Name);
            frmCondition.ShowDialog();
            if (frmCondition.Tag.ToString() == "OK")
            {
                timer1.Enabled = true;
            }
        }
        private void bclk_Click(object sender, EventArgs e)
        {
            //保存列宽
            DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name);
        }
        private void mrlk_Click(object sender, EventArgs e)
        {
            DBUtility.Xt_BaseBillFun.DefaultGridView(grdMain, this.Name);
        }
        //
        private void GraphLine()
        {
            int MainIDCol = Fun_GetCol("hmainid");
            int SubIDCol = Fun_GetCol("hsubid");
            string s = frmCondition.cmbHComplete.Text;
            long n=0;
            DBUtility.Xt_BaseBillFun.GraphLine(grdMain, MainIDCol, SubIDCol, s,ref n);
            //显示
            lbldj.Text = "查询出 " + n.ToString() + " å¼ å•据";
            lbljl.Text = "共有 " + grdMain.RowCount.ToString() + " æ¡è®°å½•";
        }
        //审核
        private void sh_Click(object sender, EventArgs e)
        {
            this.Sub_CheckBill();
        }
        //审核单据
        private void Sub_CheckBill()
        {
            //审核权限
            if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true, DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            //
            Int64 lngBillKey = 0;
            if (grdMain.CurrentRow == null)
                return;
            lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value);
            if (lngBillKey == 0)
                return;
            DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill();
            //查看是否已审核,关闭,作废
            if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
            {
                if (oBill.omodel.HChecker.Trim() != "")
                {
                    MessageBox.Show("单据已审核!不能再次审核", "提示");
                    return;
                }
            }
            else
            {
                MessageBox.Show("单据不存在!原因:" + DBUtility.ClsPub.sExeReturnInfo, "提示");
                return;
            }
            //审核
            if (oBill.CheckBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true)
            {
                MessageBox.Show("审核成功!", "提示");
                return;
            }
            else
            {
                MessageBox.Show("审核失败!原因:" + DBUtility.ClsPub.sExeReturnInfo, "提示");
                return;
            }
        }
        //反审单据
        private void Sub_AbandonCheck()
        {
            //审核权限
            if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true,DBUtility.ClsPub.CurUserName))
            {
                return;
            }
            //
            Int64 lngBillKey = 0;
            if (grdMain.CurrentRow == null)
                return;
            lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value);
            if (lngBillKey == 0)
                return;
            DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill();
            //查看是否已审核,关闭,作废
            if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo))
            {
                if (oBill.omodel.HChecker.Trim() == "")
                {
                    MessageBox.Show("单据未审核!不需要反审核!", "提示");
                    return;
                }
            }
            else
            {
                MessageBox.Show("单据不存在!原因:" + DBUtility.ClsPub.sExeReturnInfo, "提示");
                return;
            }
            //反审核
            if (oBill.AbandonCheck(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true)
            {
                MessageBox.Show("反审核成功!", "提示");
                return;
            }
            else
            {
                MessageBox.Show("反审核失败!原因:" + DBUtility.ClsPub.sExeReturnInfo, "提示");
                return;
            }
        }
        //反审核
        private void qsh_Click(object sender, EventArgs e)
        {
            Sub_AbandonCheck();
        }
        private void GraphicsGrid()
        {
            DBUtility.Xt_BaseBillFun.GraphicsGrid(grdMain);
        }
        #region  //打印设置
        GridppReport Report;
        //预览
        private void yl_Click(object sender, EventArgs e)
        {
            //选择打印模板
            BLL.Gy_OpenTmp oFrm = new BLL.Gy_OpenTmp();
            oFrm.sBillName = ModName;
            oFrm.sBillModel = ModCaption;
            oFrm.ShowDialog();
            if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK)
            {
                //
                Sub_SetReport(oFrm.sOpenTmp);
                Report.PrintPreview(true);
            }
        }
        private void Sub_SetReport(string sOpenTmp)
        {
            //判断行数
            for (int i = 0; i < grdMain.Rows.Count; i++)
            {
                grdMain.Rows[i].Cells[0].Value = "";
            }
            for (int i = 0; i < grdMain.SelectedRows.Count; i++)
            {
                grdMain.Rows[grdMain.SelectedRows[i].Index].Cells[0].Value = "*";
            }
            //
            //
            Report = new GridppReport();
            Report.LoadFromFile(DBUtility.ClsPub.AppPath + @"\" + sOpenTmp + ".grf");  //here .
            Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecordByDataTable);
        }
        private void ReportFetchRecordByDataTable()
        {
            DataTable dt = new DataTable();
            BLL.Utility.FillRecordToReport_Sel(Report, grdMain, dt, Fun_GetCol("选择"));
        }
        #endregion
        //
        private void grdMain_Paint(object sender, PaintEventArgs e)
        {
            GraphicsGrid();
        }
        //合计 new
        private void Total()
        {
            if (grdMain.Rows.Count > 0 &&  grdMain.ColumnCount>0)
            {
                oSumGrid.SetGridsum();
                //oSumGrid.Total();
                oSumGrid.TotalAll();
            }
        }
        //合计 new
        private void grdMain_ColumnWidthChanged(object sender, DataGridViewColumnEventArgs e)
        {
            Total();
        }
        //合计 new
        private void grdMain_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e)
        {
            //Total();
        }
        //引出EXCEL
        private void dc_Click(object sender, EventArgs e)
        {
            //DBUtility.Gy_BaseFun.DataToExcel(this.Text, grdMain);
            DataGridViewToExcel2();
        }
        private void txtHBillNo_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                Sub_FastQuery();
            }
        }
        //快速过滤
        private void Sub_FastQuery()
        {
            string sFastSQL = "";
            //LOT号
            if (txtHBillNo.Text.Trim() != "")
            {
                sFastSQL = sFastSQL + " and å·¥åºæµè½¬å¡å· like '%" + txtHBillNo.Text + "%'";
            }
            //工作中心
            if (txtHCenterID.Text.Trim() != "")
            {
                sFastSQL = sFastSQL + " and (工作中心 like '%" + txtHCenterID.Text + "%' or å·¥ä½œä¸­å¿ƒä»£ç  like '%" + txtHCenterID.Text + "%') ";
            }
            //订单跟踪号
            if (txtHOrderProcNO.Text.Trim() != "")
            {
                sFastSQL = sFastSQL + " and (订单跟踪号 like '%" + txtHOrderProcNO.Text + "%'  ) ";
            }
            //同步状态
            if(cmbHStatus.Text.Trim()=="未同步")
            {
                sFastSQL = sFastSQL + " and (同步状态='" + cmbHStatus.Text.Trim() + "'  ) ";
            }
            if (cmbHStatus.Text.Trim() == "已同步")
            {
                sFastSQL = sFastSQL + " and (同步状态='" + cmbHStatus.Text.Trim() + "'  ) ";
            }
            sDlgWhere = sFastSQL;
            Display();
        }
        private void DataGridViewToExcel2()
        {
            SaveFileDialog saveFileDialog = new SaveFileDialog();
            saveFileDialog.Filter = "Execl文件(*.xls)|*.xls";
            saveFileDialog.FilterIndex = 0;
            saveFileDialog.RestoreDirectory = true;
            saveFileDialog.CreatePrompt = true;
            saveFileDialog.Title = "数据视图导出EXCEL文件";
            saveFileDialog.ShowDialog();
            if (saveFileDialog.FileName == "")
            {
                return;
            }
            Stream myStream;
            myStream = saveFileDialog.OpenFile();
            StreamWriter sw = new StreamWriter(myStream, System.Text.Encoding.GetEncoding("gb2312"));
            string str = "";
            DateTime start = DateTime.Now;
            try
            {
                //写标题
                for (int i = 0; i < grdMain.ColumnCount; i++)
                {
                    if (i > 0)
                    {
                        str += "\t";
                    }
                    str += grdMain.Columns[i].HeaderText;
                }
                sw.WriteLine(str);
                //写内容
                for (int j = 0; j < grdMain.Rows.Count; j++)
                {
                    string tempStr = "";
                    for (int k = 0; k < grdMain.Columns.Count; k++)
                    {
                        if (k > 0)
                        {
                            tempStr += "\t";
                        }
                        if (grdMain.Rows[j].Cells[k].Value == null)
                        {
                            tempStr += string.Empty;
                        }
                        else
                        {
                            tempStr += grdMain.Rows[j].Cells[k].Value.ToString();
                        }
                    }
                    sw.WriteLine(tempStr);
                }
                sw.Close();
                myStream.Close();
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
            finally
            {
                sw.Close();
                myStream.Close();
            }
            MessageBox.Show("将此工作表导出为excel共耗时:" + DateTime.Now.Subtract(start).TotalMilliseconds.ToString() + "毫秒");
        }
        private void txtHCenterID_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                Sub_FastQuery();
            }
        }
        private void grdMain_Scroll(object sender, ScrollEventArgs e)
        {
            if (e.ScrollOrientation == ScrollOrientation.HorizontalScroll)
            {
                Total();
            }
        }
        private void txtHOrderProcNO_KeyDown(object sender, KeyEventArgs e)
        {
            if (e.KeyCode == Keys.Enter)
            {
                Sub_FastQuery();
            }
        }
        private void eXCELToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DBUtility.Gy_BaseFun.DataToExcel(this.Text, grdMain);
        }
        private void cSVToolStripMenuItem_Click(object sender, EventArgs e)
        {
            DBUtility.Gy_BaseFun.DataGridViewToExcel2(grdMain, this.Text, this.Text);
        }
        private void cmbHStatus_SelectedIndexChanged(object sender, EventArgs e)
        {
            Sub_FastQuery();
        }
    }
}
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationOutBillList_GeLi.designer.cs
New file
@@ -0,0 +1,638 @@
namespace WorkM
{
    partial class MES_StationOutBillList_GeLi
    {
        /// <summary>
        /// å¿…需的设计器变量。
        /// </summary>
        private System.ComponentModel.IContainer components = null;
        /// <summary>
        /// æ¸…理所有正在使用的资源。
        /// </summary>
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
        #region Windows çª—体设计器生成的代码
        /// <summary>
        /// è®¾è®¡å™¨æ”¯æŒæ‰€éœ€çš„æ–¹æ³• - ä¸è¦
        /// ä½¿ç”¨ä»£ç ç¼–辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MES_StationOutBillList_GeLi));
            this.pPic = new System.Windows.Forms.Panel();
            this.cmbHStatus = new System.Windows.Forms.ComboBox();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.txtHOrderProcNO = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.txtHCenterID = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.txtHBillNo = new System.Windows.Forms.TextBox();
            this.panel1 = new System.Windows.Forms.Panel();
            this.lbljl = new System.Windows.Forms.Label();
            this.lbldj = new System.Windows.Forms.Label();
            this.lblCaption = new System.Windows.Forms.Label();
            this.Tool = new System.Windows.Forms.ToolStrip();
            this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton();
            this.eXCELToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.cSVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
            this.dc = new System.Windows.Forms.ToolStripButton();
            this.yl = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.cx = new System.Windows.Forms.ToolStripButton();
            this.sx = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.xz = new System.Windows.Forms.ToolStripButton();
            this.dj = new System.Windows.Forms.ToolStripButton();
            this.sc = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
            this.sh = new System.Windows.Forms.ToolStripButton();
            this.qsh = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
            this.tc = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
            this.mrlk = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
            this.bclk = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.timer2 = new System.Windows.Forms.Timer(this.components);
            this.grdMain = new System.Windows.Forms.DataGridView();
            this.grdPrint = new System.Windows.Forms.DataGridView();
            this.grdSum = new System.Windows.Forms.DataGridView();
            this.pPic.SuspendLayout();
            this.panel1.SuspendLayout();
            this.Tool.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdSum)).BeginInit();
            this.SuspendLayout();
            //
            // pPic
            //
            this.pPic.BackColor = System.Drawing.Color.White;
            this.pPic.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pPic.BackgroundImage")));
            this.pPic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
            this.pPic.Controls.Add(this.cmbHStatus);
            this.pPic.Controls.Add(this.label4);
            this.pPic.Controls.Add(this.label3);
            this.pPic.Controls.Add(this.txtHOrderProcNO);
            this.pPic.Controls.Add(this.label2);
            this.pPic.Controls.Add(this.txtHCenterID);
            this.pPic.Controls.Add(this.label1);
            this.pPic.Controls.Add(this.txtHBillNo);
            this.pPic.Controls.Add(this.panel1);
            this.pPic.Controls.Add(this.lblCaption);
            this.pPic.Dock = System.Windows.Forms.DockStyle.Top;
            this.pPic.Location = new System.Drawing.Point(0, 50);
            this.pPic.Name = "pPic";
            this.pPic.Size = new System.Drawing.Size(1246, 53);
            this.pPic.TabIndex = 15;
            //
            // cmbHStatus
            //
            this.cmbHStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
            this.cmbHStatus.FormattingEnabled = true;
            this.cmbHStatus.Items.AddRange(new object[] {
            "未同步",
            "已同步",
            "全部"});
            this.cmbHStatus.Location = new System.Drawing.Point(346, 11);
            this.cmbHStatus.Margin = new System.Windows.Forms.Padding(2);
            this.cmbHStatus.Name = "cmbHStatus";
            this.cmbHStatus.Size = new System.Drawing.Size(92, 20);
            this.cmbHStatus.TabIndex = 20;
            this.cmbHStatus.SelectedIndexChanged += new System.EventHandler(this.cmbHStatus_SelectedIndexChanged);
            //
            // label4
            //
            this.label4.AutoSize = true;
            this.label4.BackColor = System.Drawing.Color.Transparent;
            this.label4.Location = new System.Drawing.Point(280, 15);
            this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(53, 12);
            this.label4.TabIndex = 19;
            this.label4.Text = "同步状态";
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.BackColor = System.Drawing.Color.Transparent;
            this.label3.Location = new System.Drawing.Point(569, 42);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(77, 12);
            this.label3.TabIndex = 18;
            this.label3.Text = "订单跟踪号:";
            this.label3.Visible = false;
            //
            // txtHOrderProcNO
            //
            this.txtHOrderProcNO.Location = new System.Drawing.Point(649, 38);
            this.txtHOrderProcNO.Name = "txtHOrderProcNO";
            this.txtHOrderProcNO.Size = new System.Drawing.Size(162, 21);
            this.txtHOrderProcNO.TabIndex = 17;
            this.txtHOrderProcNO.Visible = false;
            this.txtHOrderProcNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHOrderProcNO_KeyDown);
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.BackColor = System.Drawing.Color.Transparent;
            this.label2.Location = new System.Drawing.Point(817, 38);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(65, 12);
            this.label2.TabIndex = 14;
            this.label2.Text = "工作中心:";
            this.label2.Visible = false;
            //
            // txtHCenterID
            //
            this.txtHCenterID.Location = new System.Drawing.Point(885, 35);
            this.txtHCenterID.Name = "txtHCenterID";
            this.txtHCenterID.Size = new System.Drawing.Size(162, 21);
            this.txtHCenterID.TabIndex = 15;
            this.txtHCenterID.Visible = false;
            this.txtHCenterID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHCenterID_KeyDown);
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.BackColor = System.Drawing.Color.Transparent;
            this.label1.Location = new System.Drawing.Point(456, 15);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(65, 12);
            this.label1.TabIndex = 8;
            this.label1.Text = "流转卡号:";
            //
            // txtHBillNo
            //
            this.txtHBillNo.Location = new System.Drawing.Point(524, 11);
            this.txtHBillNo.Name = "txtHBillNo";
            this.txtHBillNo.Size = new System.Drawing.Size(162, 21);
            this.txtHBillNo.TabIndex = 9;
            this.txtHBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBillNo_KeyDown);
            //
            // panel1
            //
            this.panel1.Controls.Add(this.lbljl);
            this.panel1.Controls.Add(this.lbldj);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Right;
            this.panel1.Location = new System.Drawing.Point(1049, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(197, 53);
            this.panel1.TabIndex = 7;
            //
            // lbljl
            //
            this.lbljl.AutoSize = true;
            this.lbljl.Location = new System.Drawing.Point(24, 30);
            this.lbljl.Name = "lbljl";
            this.lbljl.Size = new System.Drawing.Size(11, 12);
            this.lbljl.TabIndex = 1;
            this.lbljl.Text = " ";
            //
            // lbldj
            //
            this.lbldj.AutoSize = true;
            this.lbldj.Location = new System.Drawing.Point(24, 12);
            this.lbldj.Name = "lbldj";
            this.lbldj.Size = new System.Drawing.Size(0, 12);
            this.lbldj.TabIndex = 0;
            //
            // lblCaption
            //
            this.lblCaption.AutoSize = true;
            this.lblCaption.BackColor = System.Drawing.Color.Transparent;
            this.lblCaption.Cursor = System.Windows.Forms.Cursors.No;
            this.lblCaption.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lblCaption.Location = new System.Drawing.Point(12, 15);
            this.lblCaption.Name = "lblCaption";
            this.lblCaption.Size = new System.Drawing.Size(164, 21);
            this.lblCaption.TabIndex = 4;
            this.lblCaption.Text = "工序隔离品报表";
            this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
            //
            // Tool
            //
            this.Tool.AutoSize = false;
            this.Tool.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Tool.BackgroundImage")));
            this.Tool.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
            this.Tool.ImageScalingSize = new System.Drawing.Size(22, 22);
            this.Tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripDropDownButton1,
            this.dc,
            this.yl,
            this.toolStripSeparator2,
            this.cx,
            this.sx,
            this.toolStripSeparator1,
            this.xz,
            this.dj,
            this.sc,
            this.toolStripSeparator5,
            this.sh,
            this.qsh,
            this.toolStripSeparator6,
            this.tc,
            this.toolStripSeparator3,
            this.toolStripSeparator9,
            this.mrlk,
            this.toolStripSeparator7,
            this.bclk,
            this.toolStripSeparator8});
            this.Tool.Location = new System.Drawing.Point(0, 0);
            this.Tool.Name = "Tool";
            this.Tool.Padding = new System.Windows.Forms.Padding(0);
            this.Tool.Size = new System.Drawing.Size(1246, 50);
            this.Tool.Stretch = true;
            this.Tool.TabIndex = 16;
            this.Tool.Text = "toolStrip1";
            //
            // toolStripDropDownButton1
            //
            this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.eXCELToolStripMenuItem,
            this.cSVToolStripMenuItem});
            this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image")));
            this.toolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.toolStripDropDownButton1.Name = "toolStripDropDownButton1";
            this.toolStripDropDownButton1.Size = new System.Drawing.Size(45, 47);
            this.toolStripDropDownButton1.Text = "引出";
            this.toolStripDropDownButton1.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.toolStripDropDownButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            //
            // eXCELToolStripMenuItem
            //
            this.eXCELToolStripMenuItem.Name = "eXCELToolStripMenuItem";
            this.eXCELToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
            this.eXCELToolStripMenuItem.Text = "EXCEL";
            this.eXCELToolStripMenuItem.Click += new System.EventHandler(this.eXCELToolStripMenuItem_Click);
            //
            // cSVToolStripMenuItem
            //
            this.cSVToolStripMenuItem.Name = "cSVToolStripMenuItem";
            this.cSVToolStripMenuItem.Size = new System.Drawing.Size(112, 22);
            this.cSVToolStripMenuItem.Text = "CSV";
            this.cSVToolStripMenuItem.Click += new System.EventHandler(this.cSVToolStripMenuItem_Click);
            //
            // dc
            //
            this.dc.AutoSize = false;
            this.dc.Image = ((System.Drawing.Image)(resources.GetObject("dc.Image")));
            this.dc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.dc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.dc.ImageTransparentColor = System.Drawing.Color.White;
            this.dc.Name = "dc";
            this.dc.Size = new System.Drawing.Size(36, 47);
            this.dc.Text = "引出";
            this.dc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.dc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.dc.Click += new System.EventHandler(this.dc_Click);
            //
            // yl
            //
            this.yl.AutoSize = false;
            this.yl.Image = ((System.Drawing.Image)(resources.GetObject("yl.Image")));
            this.yl.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.yl.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.yl.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.yl.Name = "yl";
            this.yl.Size = new System.Drawing.Size(36, 47);
            this.yl.Text = "预览";
            this.yl.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.yl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.yl.Click += new System.EventHandler(this.yl_Click);
            //
            // toolStripSeparator2
            //
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50);
            //
            // cx
            //
            this.cx.AutoSize = false;
            this.cx.Image = ((System.Drawing.Image)(resources.GetObject("cx.Image")));
            this.cx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.cx.ImageTransparentColor = System.Drawing.Color.White;
            this.cx.Name = "cx";
            this.cx.Size = new System.Drawing.Size(36, 47);
            this.cx.Text = "查询";
            this.cx.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.cx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.cx.Click += new System.EventHandler(this.cx_Click);
            //
            // sx
            //
            this.sx.AutoSize = false;
            this.sx.Image = ((System.Drawing.Image)(resources.GetObject("sx.Image")));
            this.sx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.sx.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.sx.Name = "sx";
            this.sx.Size = new System.Drawing.Size(36, 47);
            this.sx.Text = "刷新";
            this.sx.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.sx.Click += new System.EventHandler(this.sx_Click);
            //
            // toolStripSeparator1
            //
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator1.Visible = false;
            //
            // xz
            //
            this.xz.AutoSize = false;
            this.xz.Image = ((System.Drawing.Image)(resources.GetObject("xz.Image")));
            this.xz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.xz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.xz.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.xz.Name = "xz";
            this.xz.Size = new System.Drawing.Size(36, 47);
            this.xz.Text = "新增";
            this.xz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.xz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.xz.Visible = false;
            this.xz.Click += new System.EventHandler(this.xz_Click);
            //
            // dj
            //
            this.dj.AutoSize = false;
            this.dj.Image = ((System.Drawing.Image)(resources.GetObject("dj.Image")));
            this.dj.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.dj.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.dj.ImageTransparentColor = System.Drawing.Color.White;
            this.dj.Name = "dj";
            this.dj.Size = new System.Drawing.Size(36, 47);
            this.dj.Text = "单据";
            this.dj.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.dj.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.dj.Visible = false;
            this.dj.Click += new System.EventHandler(this.dj_Click);
            //
            // sc
            //
            this.sc.AutoSize = false;
            this.sc.Image = ((System.Drawing.Image)(resources.GetObject("sc.Image")));
            this.sc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.sc.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.sc.Name = "sc";
            this.sc.Size = new System.Drawing.Size(36, 47);
            this.sc.Text = "删除";
            this.sc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.sc.Visible = false;
            this.sc.Click += new System.EventHandler(this.sc_Click);
            //
            // toolStripSeparator5
            //
            this.toolStripSeparator5.Name = "toolStripSeparator5";
            this.toolStripSeparator5.Size = new System.Drawing.Size(6, 50);
            this.toolStripSeparator5.Visible = false;
            //
            // sh
            //
            this.sh.AutoSize = false;
            this.sh.Image = ((System.Drawing.Image)(resources.GetObject("sh.Image")));
            this.sh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.sh.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.sh.Name = "sh";
            this.sh.Size = new System.Drawing.Size(36, 47);
            this.sh.Text = "审核";
            this.sh.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.sh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.sh.Visible = false;
            this.sh.Click += new System.EventHandler(this.sh_Click);
            //
            // qsh
            //
            this.qsh.AutoSize = false;
            this.qsh.Image = ((System.Drawing.Image)(resources.GetObject("qsh.Image")));
            this.qsh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.qsh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.qsh.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.qsh.Name = "qsh";
            this.qsh.Size = new System.Drawing.Size(36, 47);
            this.qsh.Text = "反审";
            this.qsh.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.qsh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.qsh.Visible = false;
            this.qsh.Click += new System.EventHandler(this.qsh_Click);
            //
            // toolStripSeparator6
            //
            this.toolStripSeparator6.Name = "toolStripSeparator6";
            this.toolStripSeparator6.Size = new System.Drawing.Size(6, 50);
            //
            // tc
            //
            this.tc.AutoSize = false;
            this.tc.Image = ((System.Drawing.Image)(resources.GetObject("tc.Image")));
            this.tc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.tc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.tc.ImageTransparentColor = System.Drawing.Color.White;
            this.tc.Name = "tc";
            this.tc.Size = new System.Drawing.Size(36, 47);
            this.tc.Text = "退出";
            this.tc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.tc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.tc.Click += new System.EventHandler(this.tc_Click);
            //
            // toolStripSeparator3
            //
            this.toolStripSeparator3.Name = "toolStripSeparator3";
            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50);
            //
            // toolStripSeparator9
            //
            this.toolStripSeparator9.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator9.Name = "toolStripSeparator9";
            this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50);
            //
            // mrlk
            //
            this.mrlk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.mrlk.Image = ((System.Drawing.Image)(resources.GetObject("mrlk.Image")));
            this.mrlk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.mrlk.ImageTransparentColor = System.Drawing.Color.White;
            this.mrlk.Name = "mrlk";
            this.mrlk.Size = new System.Drawing.Size(60, 47);
            this.mrlk.Text = "默认列宽";
            this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.mrlk.Click += new System.EventHandler(this.mrlk_Click);
            //
            // toolStripSeparator7
            //
            this.toolStripSeparator7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator7.Name = "toolStripSeparator7";
            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 50);
            //
            // bclk
            //
            this.bclk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.bclk.Image = ((System.Drawing.Image)(resources.GetObject("bclk.Image")));
            this.bclk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.bclk.ImageTransparentColor = System.Drawing.Color.White;
            this.bclk.Name = "bclk";
            this.bclk.Size = new System.Drawing.Size(60, 47);
            this.bclk.Text = "保存列宽";
            this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.bclk.Click += new System.EventHandler(this.bclk_Click);
            //
            // toolStripSeparator8
            //
            this.toolStripSeparator8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
            this.toolStripSeparator8.Name = "toolStripSeparator8";
            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50);
            //
            // timer1
            //
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            //
            // timer2
            //
            this.timer2.Enabled = true;
            this.timer2.Tick += new System.EventHandler(this.timer2_Tick);
            //
            // grdMain
            //
            this.grdMain.AllowUserToAddRows = false;
            this.grdMain.AllowUserToDeleteRows = false;
            this.grdMain.BackgroundColor = System.Drawing.SystemColors.InactiveCaption;
            this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill;
            this.grdMain.Location = new System.Drawing.Point(0, 103);
            this.grdMain.Name = "grdMain";
            this.grdMain.ReadOnly = true;
            this.grdMain.RowHeadersWidth = 51;
            this.grdMain.RowTemplate.Height = 23;
            this.grdMain.Size = new System.Drawing.Size(1246, 409);
            this.grdMain.TabIndex = 19;
            this.grdMain.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.grdMain_CellMouseUp);
            this.grdMain.ColumnWidthChanged += new System.Windows.Forms.DataGridViewColumnEventHandler(this.grdMain_ColumnWidthChanged);
            this.grdMain.Scroll += new System.Windows.Forms.ScrollEventHandler(this.grdMain_Scroll);
            this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint);
            this.grdMain.DoubleClick += new System.EventHandler(this.grdMain_DblClick);
            //
            // grdPrint
            //
            this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdPrint.Location = new System.Drawing.Point(772, 146);
            this.grdPrint.Name = "grdPrint";
            this.grdPrint.RowHeadersWidth = 51;
            this.grdPrint.RowTemplate.Height = 23;
            this.grdPrint.Size = new System.Drawing.Size(25, 24);
            this.grdPrint.TabIndex = 8;
            this.grdPrint.Visible = false;
            //
            // grdSum
            //
            this.grdSum.AllowUserToAddRows = false;
            this.grdSum.AllowUserToDeleteRows = false;
            this.grdSum.BackgroundColor = System.Drawing.SystemColors.Control;
            this.grdSum.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdSum.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.grdSum.Location = new System.Drawing.Point(0, 512);
            this.grdSum.Name = "grdSum";
            this.grdSum.ReadOnly = true;
            this.grdSum.RowHeadersWidth = 51;
            this.grdSum.RowTemplate.Height = 23;
            this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.grdSum.Size = new System.Drawing.Size(1246, 19);
            this.grdSum.TabIndex = 47;
            //
            // MES_StationOutBillList_GeLi
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1246, 531);
            this.Controls.Add(this.grdMain);
            this.Controls.Add(this.grdSum);
            this.Controls.Add(this.pPic);
            this.Controls.Add(this.Tool);
            this.Controls.Add(this.grdPrint);
            this.Name = "MES_StationOutBillList_GeLi";
            this.Text = "工序隔离品报表";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.MES_StationOutBillList_GeLi_Load);
            this.pPic.ResumeLayout(false);
            this.pPic.PerformLayout();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            this.Tool.ResumeLayout(false);
            this.Tool.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdSum)).EndInit();
            this.ResumeLayout(false);
        }
        #endregion
        private System.Windows.Forms.Panel pPic;
        private System.Windows.Forms.Label lblCaption;
        private System.Windows.Forms.ToolStrip Tool;
        private System.Windows.Forms.ToolStripButton yl;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
        private System.Windows.Forms.ToolStripButton cx;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
        private System.Windows.Forms.ToolStripButton tc;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
        public System.Windows.Forms.Timer timer1;
        private System.Windows.Forms.ToolStripButton sx;
        private System.Windows.Forms.ToolStripButton dj;
        private System.Windows.Forms.ToolStripButton xz;
        private System.Windows.Forms.ToolStripButton sc;
        private System.Windows.Forms.Timer timer2;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator9;
        private System.Windows.Forms.ToolStripButton mrlk;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
        private System.Windows.Forms.ToolStripButton bclk;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator8;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
        private System.Windows.Forms.ToolStripButton sh;
        private System.Windows.Forms.ToolStripButton qsh;
        private System.Windows.Forms.DataGridView grdMain;
        private System.Windows.Forms.Panel panel1;
        private System.Windows.Forms.Label lbljl;
        private System.Windows.Forms.Label lbldj;
        private System.Windows.Forms.DataGridView grdPrint;
        private System.Windows.Forms.DataGridView grdSum;
        private System.Windows.Forms.ToolStripButton dc;
        private System.Windows.Forms.Label label1;
        private System.Windows.Forms.TextBox txtHBillNo;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox txtHCenterID;
        private System.Windows.Forms.TextBox txtHOrderProcNO;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
        private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButton1;
        private System.Windows.Forms.ToolStripMenuItem eXCELToolStripMenuItem;
        private System.Windows.Forms.ToolStripMenuItem cSVToolStripMenuItem;
        private System.Windows.Forms.ComboBox cmbHStatus;
        private System.Windows.Forms.Label label4;
    }
}
WorkM/Á÷ת¿¨¹ÜÀí/MES_StationOutBillList_GeLi.resx
New file
Diff too large
WorkM/³µ¼ä¹ÜÀí/QC_NoPassProdCheckBill.cs
@@ -19,6 +19,7 @@
        public long HProcExchInterID;
        public long HProcExchEntryID;
        public long HMainSourceInterID;
        public string HBillSubType;
        //定义列
        public const Int16 HTagCol = 0;
        public const Int16 HSnoCol = 1;
@@ -1236,6 +1237,7 @@
            BillNew.omodel.HGroupName = ClsPub.isStrNull(this.cmbHGroupName.Text);
            BillNew.omodel.HOrderProcNo = ClsPub.isStrNull(this.txtHOrderProcNo.Text);
            BillNew.omodel.HProcExchQty = ClsPub.isDoule(this.txtHProcExchQty.Text);
            BillNew.omodel.HBillSubType = HBillSubType;
            //明细类赋值
            BillNew.DetailColl=new List<Model.ClsQC_NoPassProdCheckBillSub>();