条码生成模块新增奇瑞条码生成规则;新增生产装箱追溯单列表模块
4个文件已修改
3个文件已添加
5603 ■■■■■ 已修改文件
NETSCM/ClsShowMod.cs 481 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/SCM.csproj 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/公用类/ClsPub1.cs 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/单据资料/Sc_PackUnionCarryUpBillList.cs 428 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/单据资料/Sc_PackUnionCarryUpBillList.designer.cs 551 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/单据资料/Sc_PackUnionCarryUpBillList.resx 4034 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/条码打印/Gy_BarCodeBill.cs 92 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
NETSCM/ClsShowMod.cs
@@ -2072,246 +2072,253 @@
                        oSc_DoorOutCheckBillList.Show();
                        oMainForm.AddTabPage(oSc_DoorOutCheckBillList);
                        break;
        //            case "sc_mouldprodoutbill":
        //                //
        //                Sc_MouldProdOutBill oSc_MouldProdOutBill = new Sc_MouldProdOutBill();
        //                oSc_MouldProdOutBill.ShowDialog();
        //                break;
        //            case "sc_mouldprodoutbilllist":
        //                //权限
        //                Sc_MouldProdOutBillList oSc_MouldProdOutBillList = new Sc_MouldProdOutBillList();
        //                oSc_MouldProdOutBillList.MdiParent = oMain;
        //                oSc_MouldProdOutBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldProdOutBillList);
        //                break;
        //            case "sc_mouldprodbackbill":
        //                //
        //                Sc_MouldProdBackBill oSc_MouldProdBackBill = new Sc_MouldProdBackBill();
        //                oSc_MouldProdBackBill.ShowDialog();
        //                break;
        //            case "sc_mouldprodbackbilllist":
        //                //权限
        //                Sc_MouldProdBackBillList oSc_MouldProdBackBillList = new Sc_MouldProdBackBillList();
        //                oSc_MouldProdBackBillList.MdiParent = oMain;
        //                oSc_MouldProdBackBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldProdBackBillList);
        //                break;
        //            case "sc_mouldprodinbill":
        //                //
        //                Sc_MouldProdInBill oSc_MouldProdInBill = new Sc_MouldProdInBill();
        //                oSc_MouldProdInBill.ShowDialog();
        //                break;
        //            case "sc_mouldprodinbilllist":
        //                //权限
        //                Sc_MouldProdInBillList oSc_MouldProdInBillList = new Sc_MouldProdInBillList();
        //                oSc_MouldProdInBillList.MdiParent = oMain;
        //                oSc_MouldProdInBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldProdInBillList);
        //                break;
        //            case "sc_mouldentrustoutplanbill":
        //                //
        //                Sc_MouldEntrustOutPlanBill oSc_MouldEntrustOutPlanBill = new Sc_MouldEntrustOutPlanBill();
        //                oSc_MouldEntrustOutPlanBill.ShowDialog();
        //                break;
        //            case "sc_mouldentrustoutplanbilllist":
        //                //权限
        //                Sc_MouldEntrustOutPlanBillList oSc_MouldEntrustOutPlanBillList = new Sc_MouldEntrustOutPlanBillList();
        //                oSc_MouldEntrustOutPlanBillList.MdiParent = oMain;
        //                oSc_MouldEntrustOutPlanBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldEntrustOutPlanBillList);
        //                break;
        //            case "sc_mouldplanbill":
        //                //
        //                Sc_MouldPlanBill oSc_MouldPlanBill = new Sc_MouldPlanBill();
        //                oSc_MouldPlanBill.ShowDialog();
        //                break;
        //            case "sc_mouldplanbilllist":
        //                //权限
        //                Sc_MouldPlanBillList oSc_MouldPlanBillList = new Sc_MouldPlanBillList();
        //                oSc_MouldPlanBillList.MdiParent = oMain;
        //                oSc_MouldPlanBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldPlanBillList);
        //                break;
        //            case "sc_moulddesignplanbill":
        //                //
        //                Sc_MouldDesignPlanBill oSc_MouldDesignPlanBill = new Sc_MouldDesignPlanBill();
        //                oSc_MouldDesignPlanBill.ShowDialog();
        //                break;
        //            case "sc_moulddesignplanbilllist":
        //                //权限
        //                Sc_MouldDesignPlanBillList oSc_MouldDesignPlanBillList = new Sc_MouldDesignPlanBillList();
        //                oSc_MouldDesignPlanBillList.MdiParent = oMain;
        //                oSc_MouldDesignPlanBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldDesignPlanBillList);
        //                break;
        //            case "sc_moulddesignrequestbill":
        //                //
        //                Sc_MouldDesignRequestBill oSc_MouldDesignRequestBill = new Sc_MouldDesignRequestBill();
        //                oSc_MouldDesignRequestBill.ShowDialog();
        //                break;
        //            case "sc_moulddesignrequestbilllist":
        //                //权限
        //                Sc_MouldDesignRequestBillList oSc_MouldDesignRequestBillList = new Sc_MouldDesignRequestBillList();
        //                oSc_MouldDesignRequestBillList.MdiParent = oMain;
        //                oSc_MouldDesignRequestBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldDesignRequestBillList);
        //                break;
        //            case "sc_mouldcostmoneybill":
        //                //
        //                Sc_MouldCostMoneyBill oSc_MouldCostMoneyBill = new Sc_MouldCostMoneyBill();
        //                oSc_MouldCostMoneyBill.ShowDialog();
        //                break;
        //            case "sc_mouldcostmoneybilllist":
        //                //权限
        //                Sc_MouldCostMoneyBillList oSc_MouldCostMoneyBillList = new Sc_MouldCostMoneyBillList();
        //                oSc_MouldCostMoneyBillList.MdiParent = oMain;
        //                oSc_MouldCostMoneyBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldCostMoneyBillList);
        //                break;
                    case "sc_packunioncarryupbilllist":
                        Sc_PackUnionCarryUpBillList oSc_PackUnionCarryUpBillList = new Sc_PackUnionCarryUpBillList();
                        oSc_PackUnionCarryUpBillList.MdiParent = oMain;
                        oSc_PackUnionCarryUpBillList.ModCaption = gnmc;
                        oSc_PackUnionCarryUpBillList.Show();
                        oMainForm.AddTabPage(oSc_PackUnionCarryUpBillList);
                        break;
                    //            case "sc_mouldprodoutbill":
                    //                //
                    //                Sc_MouldProdOutBill oSc_MouldProdOutBill = new Sc_MouldProdOutBill();
                    //                oSc_MouldProdOutBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldprodoutbilllist":
                    //                //权限
                    //                Sc_MouldProdOutBillList oSc_MouldProdOutBillList = new Sc_MouldProdOutBillList();
                    //                oSc_MouldProdOutBillList.MdiParent = oMain;
                    //                oSc_MouldProdOutBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldProdOutBillList);
                    //                break;
                    //            case "sc_mouldprodbackbill":
                    //                //
                    //                Sc_MouldProdBackBill oSc_MouldProdBackBill = new Sc_MouldProdBackBill();
                    //                oSc_MouldProdBackBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldprodbackbilllist":
                    //                //权限
                    //                Sc_MouldProdBackBillList oSc_MouldProdBackBillList = new Sc_MouldProdBackBillList();
                    //                oSc_MouldProdBackBillList.MdiParent = oMain;
                    //                oSc_MouldProdBackBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldProdBackBillList);
                    //                break;
                    //            case "sc_mouldprodinbill":
                    //                //
                    //                Sc_MouldProdInBill oSc_MouldProdInBill = new Sc_MouldProdInBill();
                    //                oSc_MouldProdInBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldprodinbilllist":
                    //                //权限
                    //                Sc_MouldProdInBillList oSc_MouldProdInBillList = new Sc_MouldProdInBillList();
                    //                oSc_MouldProdInBillList.MdiParent = oMain;
                    //                oSc_MouldProdInBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldProdInBillList);
                    //                break;
                    //            case "sc_mouldentrustoutplanbill":
                    //                //
                    //                Sc_MouldEntrustOutPlanBill oSc_MouldEntrustOutPlanBill = new Sc_MouldEntrustOutPlanBill();
                    //                oSc_MouldEntrustOutPlanBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldentrustoutplanbilllist":
                    //                //权限
                    //                Sc_MouldEntrustOutPlanBillList oSc_MouldEntrustOutPlanBillList = new Sc_MouldEntrustOutPlanBillList();
                    //                oSc_MouldEntrustOutPlanBillList.MdiParent = oMain;
                    //                oSc_MouldEntrustOutPlanBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldEntrustOutPlanBillList);
                    //                break;
                    //            case "sc_mouldplanbill":
                    //                //
                    //                Sc_MouldPlanBill oSc_MouldPlanBill = new Sc_MouldPlanBill();
                    //                oSc_MouldPlanBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldplanbilllist":
                    //                //权限
                    //                Sc_MouldPlanBillList oSc_MouldPlanBillList = new Sc_MouldPlanBillList();
                    //                oSc_MouldPlanBillList.MdiParent = oMain;
                    //                oSc_MouldPlanBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldPlanBillList);
                    //                break;
                    //            case "sc_moulddesignplanbill":
                    //                //
                    //                Sc_MouldDesignPlanBill oSc_MouldDesignPlanBill = new Sc_MouldDesignPlanBill();
                    //                oSc_MouldDesignPlanBill.ShowDialog();
                    //                break;
                    //            case "sc_moulddesignplanbilllist":
                    //                //权限
                    //                Sc_MouldDesignPlanBillList oSc_MouldDesignPlanBillList = new Sc_MouldDesignPlanBillList();
                    //                oSc_MouldDesignPlanBillList.MdiParent = oMain;
                    //                oSc_MouldDesignPlanBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldDesignPlanBillList);
                    //                break;
                    //            case "sc_moulddesignrequestbill":
                    //                //
                    //                Sc_MouldDesignRequestBill oSc_MouldDesignRequestBill = new Sc_MouldDesignRequestBill();
                    //                oSc_MouldDesignRequestBill.ShowDialog();
                    //                break;
                    //            case "sc_moulddesignrequestbilllist":
                    //                //权限
                    //                Sc_MouldDesignRequestBillList oSc_MouldDesignRequestBillList = new Sc_MouldDesignRequestBillList();
                    //                oSc_MouldDesignRequestBillList.MdiParent = oMain;
                    //                oSc_MouldDesignRequestBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldDesignRequestBillList);
                    //                break;
                    //            case "sc_mouldcostmoneybill":
                    //                //
                    //                Sc_MouldCostMoneyBill oSc_MouldCostMoneyBill = new Sc_MouldCostMoneyBill();
                    //                oSc_MouldCostMoneyBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldcostmoneybilllist":
                    //                //权限
                    //                Sc_MouldCostMoneyBillList oSc_MouldCostMoneyBillList = new Sc_MouldCostMoneyBillList();
                    //                oSc_MouldCostMoneyBillList.MdiParent = oMain;
                    //                oSc_MouldCostMoneyBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldCostMoneyBillList);
                    //                break;
        //            case "sc_mouldreportbill":
        //                //
        //                Sc_MouldReportBill oSc_MouldReportBill = new Sc_MouldReportBill();
        //                oSc_MouldReportBill.ShowDialog();
        //                break;
        //            case "sc_mouldreportbilllist":
        //                //权限
        //                Sc_MouldReportBillList oSc_MouldReportBillList = new Sc_MouldReportBillList();
        //                oSc_MouldReportBillList.MdiParent = oMain;
        //                oSc_MouldReportBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldReportBillList);
        //                break;
        //            case "sc_mouldentrustoutbill":
        //                //
        //                Sc_MouldEntrustOutBill oSc_MouldEntrustOutBill = new Sc_MouldEntrustOutBill();
        //                oSc_MouldEntrustOutBill.ShowDialog();
        //                break;
        //            case "sc_mouldentrustoutbilllist":
        //                //权限
        //                Sc_MouldEntrustOutBillList oSc_MouldEntrustOutBillList = new Sc_MouldEntrustOutBillList();
        //                oSc_MouldEntrustOutBillList.MdiParent = oMain;
        //                oSc_MouldEntrustOutBillList.Show();
        //                oMainForm.AddTabPage(oSc_MouldEntrustOutBillList);
        //                break;
        //            case "sb_mouldrepairworkbill":
        //                //
        //                Sb_MouldRepairWorkBill oSb_MouldRepairWorkBill = new Sb_MouldRepairWorkBill();
        //                oSb_MouldRepairWorkBill.ShowDialog();
        //                break;
        //            case "sb_mouldrepairworkbilllist":
        //                //权限
        //                Sb_MouldRepairWorkBillList oSb_MouldRepairWorkBillList = new Sb_MouldRepairWorkBillList();
        //                oSb_MouldRepairWorkBillList.MdiParent = oMain;
        //                oSb_MouldRepairWorkBillList.Show();
        //                oMainForm.AddTabPage(oSb_MouldRepairWorkBillList);
        //                break;
        //            case "sc_brfhkb":
        //                Sc_BRFHKB oSc_BRFHKB = new Sc_BRFHKB();
        //                oSc_BRFHKB.ShowDialog();
        //                break;
                    //            case "sc_mouldreportbill":
                    //                //
                    //                Sc_MouldReportBill oSc_MouldReportBill = new Sc_MouldReportBill();
                    //                oSc_MouldReportBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldreportbilllist":
                    //                //权限
                    //                Sc_MouldReportBillList oSc_MouldReportBillList = new Sc_MouldReportBillList();
                    //                oSc_MouldReportBillList.MdiParent = oMain;
                    //                oSc_MouldReportBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldReportBillList);
                    //                break;
                    //            case "sc_mouldentrustoutbill":
                    //                //
                    //                Sc_MouldEntrustOutBill oSc_MouldEntrustOutBill = new Sc_MouldEntrustOutBill();
                    //                oSc_MouldEntrustOutBill.ShowDialog();
                    //                break;
                    //            case "sc_mouldentrustoutbilllist":
                    //                //权限
                    //                Sc_MouldEntrustOutBillList oSc_MouldEntrustOutBillList = new Sc_MouldEntrustOutBillList();
                    //                oSc_MouldEntrustOutBillList.MdiParent = oMain;
                    //                oSc_MouldEntrustOutBillList.Show();
                    //                oMainForm.AddTabPage(oSc_MouldEntrustOutBillList);
                    //                break;
                    //            case "sb_mouldrepairworkbill":
                    //                //
                    //                Sb_MouldRepairWorkBill oSb_MouldRepairWorkBill = new Sb_MouldRepairWorkBill();
                    //                oSb_MouldRepairWorkBill.ShowDialog();
                    //                break;
                    //            case "sb_mouldrepairworkbilllist":
                    //                //权限
                    //                Sb_MouldRepairWorkBillList oSb_MouldRepairWorkBillList = new Sb_MouldRepairWorkBillList();
                    //                oSb_MouldRepairWorkBillList.MdiParent = oMain;
                    //                oSb_MouldRepairWorkBillList.Show();
                    //                oMainForm.AddTabPage(oSb_MouldRepairWorkBillList);
                    //                break;
                    //            case "sc_brfhkb":
                    //                Sc_BRFHKB oSc_BRFHKB = new Sc_BRFHKB();
                    //                oSc_BRFHKB.ShowDialog();
                    //                break;
        //            case "sc_brslkb":
        //                Sc_BRSLKB oSc_BRSLKB = new Sc_BRSLKB();
        //                oSc_BRSLKB.ShowDialog();
        //                break;
        //            case "sc_bjqlfxb":
        //                Sc_BJQLFXB oSc_BJQLFXB = new Sc_BJQLFXB();
        //                oSc_BJQLFXB.ShowDialog();
        //                break;
        //            case "sc_hzqlcgkb":
        //                Sc_HZQLCGKB oSc_HZQLCGKB = new Sc_HZQLCGKB();
        //                oSc_HZQLCGKB.ShowDialog();
        //                break;
                    //            case "sc_brslkb":
                    //                Sc_BRSLKB oSc_BRSLKB = new Sc_BRSLKB();
                    //                oSc_BRSLKB.ShowDialog();
                    //                break;
                    //            case "sc_bjqlfxb":
                    //                Sc_BJQLFXB oSc_BJQLFXB = new Sc_BJQLFXB();
                    //                oSc_BJQLFXB.ShowDialog();
                    //                break;
                    //            case "sc_hzqlcgkb":
                    //                Sc_HZQLCGKB oSc_HZQLCGKB = new Sc_HZQLCGKB();
                    //                oSc_HZQLCGKB.ShowDialog();
                    //                break;
        //            case "sc_processplanchangelist":
        //                //权限
        //                Sc_ProcessPlanChangeList oSc_ProcessPlanChangeList = new Sc_ProcessPlanChangeList();
        //                oSc_ProcessPlanChangeList.MdiParent = oMain;
        //                oSc_ProcessPlanChangeList.Show();
        //                oMainForm.AddTabPage(oSc_ProcessPlanChangeList);
        //                break;
        //            case "sc_processplanchangesec":
        //                //
        //                Sc_ProcessPlanChangeSec oSc_ProcessPlanChangeSec = new Sc_ProcessPlanChangeSec();
        //                oSc_ProcessPlanChangeSec.ShowDialog();
        //                break;
        //            case "sc_processplan":
        //                Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan();
        //                oSc_ProcessPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessPlan.ModCaption = gnmc;
        //                oSc_ProcessPlan.ShowDialog();
        //                break;
        //            case "sc_processplanlist":
        //                Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList();
        //                oSc_ProcessPlanList.MdiParent = oMain;
        //                oSc_ProcessPlanList.ModCaption = gnmc;
        //                oSc_ProcessPlanList.Show();
        //                oMainForm.AddTabPage(oSc_ProcessPlanList);
        //                break;
        //            case "sc_processreport":
        //                Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport();
        //                oSc_ProcessReport.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessReport.ModCaption = gnmc;
        //                oSc_ProcessReport.ShowDialog();
        //                break;
        //            case "sc_processreportlist":
        //                Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList();
        //                oSc_ProcessReportList.MdiParent = oMain;
        //                oSc_ProcessReportList.ModCaption = gnmc;
        //                oSc_ProcessReportList.Show();
        //                oMainForm.AddTabPage(oSc_ProcessReportList);
        //                break;
        //            case "sc_assemblybilllist":
        //                //权限
        //                Sc_AssemblyBillList oSc_AssemblyBillList = new Sc_AssemblyBillList();
        //                oSc_AssemblyBillList.MdiParent = oMain;
        //                oSc_AssemblyBillList.Show();
        //                oMainForm.AddTabPage(oSc_AssemblyBillList);
        //                break;
        //            case "sc_assemblybill":
        //                //
        //                Sc_AssemblyBill oSc_AssemblyBill = new Sc_AssemblyBill();
        //                oSc_AssemblyBill.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_AssemblyBill.ShowDialog();
        //                break;
        //            case "sc_processbackplan":
        //                Sc_ProcessBackPlan oSc_ProcessBackPlan = new Sc_ProcessBackPlan();
        //                oSc_ProcessBackPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
        //                oSc_ProcessBackPlan.ShowDialog();
        //                break;
        //            case "sc_processbackplanlist":
        //                Sc_ProcessBackPlanList oSc_ProcessBackPlanList = new Sc_ProcessBackPlanList();
        //                oSc_ProcessBackPlanList.MdiParent = oMain;
        //                oSc_ProcessBackPlanList.Show();
        //                oMainForm.AddTabPage(oSc_ProcessBackPlanList);
        //                break;
        //            //======================报表
        //            case "sc_monthsource":
        //                //权限
        //                Sc_MonthSource oSc_MonthSource = new Sc_MonthSource();
        //                oSc_MonthSource.MdiParent = oMain;
        //                oSc_MonthSource.Show();
        //                oMainForm.AddTabPage(oSc_MonthSource);
        //                break;
        //            case "sc_workprocreport":
        //                //Sc_WorkProcReport oSc_WorkProcReport = new Sc_WorkProcReport();
        //                //oSc_WorkProcReport.MdiParent = oMain;
        //                //oSc_WorkProcReport.ModCaption = gnmc;
        //                //oSc_WorkProcReport.Show();
        //                break;
        //            case "sc_workbillreport":
        //                //Sc_WorkBillReport oSc_WorkBillReport = new Sc_WorkBillReport();
        //                //oSc_WorkBillReport.MdiParent = oMain;
        //                //oSc_WorkBillReport.ModCaption = gnmc;
        //                //oSc_WorkBillReport.Show();
        //                break;
        //            case "sc_procprogressreport":
        //                Sc_ProcProgressReport oSc_ProcProgressReport = new Sc_ProcProgressReport();
        //                oSc_ProcProgressReport.MdiParent = oMain;
        //                oSc_ProcProgressReport.ModCaption = gnmc;
        //                oSc_ProcProgressReport.Show();
        //                oMainForm.AddTabPage(oSc_ProcProgressReport);
        //                break;
                    //            case "sc_processplanchangelist":
                    //                //权限
                    //                Sc_ProcessPlanChangeList oSc_ProcessPlanChangeList = new Sc_ProcessPlanChangeList();
                    //                oSc_ProcessPlanChangeList.MdiParent = oMain;
                    //                oSc_ProcessPlanChangeList.Show();
                    //                oMainForm.AddTabPage(oSc_ProcessPlanChangeList);
                    //                break;
                    //            case "sc_processplanchangesec":
                    //                //
                    //                Sc_ProcessPlanChangeSec oSc_ProcessPlanChangeSec = new Sc_ProcessPlanChangeSec();
                    //                oSc_ProcessPlanChangeSec.ShowDialog();
                    //                break;
                    //            case "sc_processplan":
                    //                Sc_ProcessPlan oSc_ProcessPlan = new Sc_ProcessPlan();
                    //                oSc_ProcessPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oSc_ProcessPlan.ModCaption = gnmc;
                    //                oSc_ProcessPlan.ShowDialog();
                    //                break;
                    //            case "sc_processplanlist":
                    //                Sc_ProcessPlanList oSc_ProcessPlanList = new Sc_ProcessPlanList();
                    //                oSc_ProcessPlanList.MdiParent = oMain;
                    //                oSc_ProcessPlanList.ModCaption = gnmc;
                    //                oSc_ProcessPlanList.Show();
                    //                oMainForm.AddTabPage(oSc_ProcessPlanList);
                    //                break;
                    //            case "sc_processreport":
                    //                Sc_ProcessReport oSc_ProcessReport = new Sc_ProcessReport();
                    //                oSc_ProcessReport.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oSc_ProcessReport.ModCaption = gnmc;
                    //                oSc_ProcessReport.ShowDialog();
                    //                break;
                    //            case "sc_processreportlist":
                    //                Sc_ProcessReportList oSc_ProcessReportList = new Sc_ProcessReportList();
                    //                oSc_ProcessReportList.MdiParent = oMain;
                    //                oSc_ProcessReportList.ModCaption = gnmc;
                    //                oSc_ProcessReportList.Show();
                    //                oMainForm.AddTabPage(oSc_ProcessReportList);
                    //                break;
                    //            case "sc_assemblybilllist":
                    //                //权限
                    //                Sc_AssemblyBillList oSc_AssemblyBillList = new Sc_AssemblyBillList();
                    //                oSc_AssemblyBillList.MdiParent = oMain;
                    //                oSc_AssemblyBillList.Show();
                    //                oMainForm.AddTabPage(oSc_AssemblyBillList);
                    //                break;
                    //            case "sc_assemblybill":
                    //                //
                    //                Sc_AssemblyBill oSc_AssemblyBill = new Sc_AssemblyBill();
                    //                oSc_AssemblyBill.BillStatus = Pub_Class.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oSc_AssemblyBill.ShowDialog();
                    //                break;
                    //            case "sc_processbackplan":
                    //                Sc_ProcessBackPlan oSc_ProcessBackPlan = new Sc_ProcessBackPlan();
                    //                oSc_ProcessBackPlan.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew;
                    //                oSc_ProcessBackPlan.ShowDialog();
                    //                break;
                    //            case "sc_processbackplanlist":
                    //                Sc_ProcessBackPlanList oSc_ProcessBackPlanList = new Sc_ProcessBackPlanList();
                    //                oSc_ProcessBackPlanList.MdiParent = oMain;
                    //                oSc_ProcessBackPlanList.Show();
                    //                oMainForm.AddTabPage(oSc_ProcessBackPlanList);
                    //                break;
                    //            //======================报表
                    //            case "sc_monthsource":
                    //                //权限
                    //                Sc_MonthSource oSc_MonthSource = new Sc_MonthSource();
                    //                oSc_MonthSource.MdiParent = oMain;
                    //                oSc_MonthSource.Show();
                    //                oMainForm.AddTabPage(oSc_MonthSource);
                    //                break;
                    //            case "sc_workprocreport":
                    //                //Sc_WorkProcReport oSc_WorkProcReport = new Sc_WorkProcReport();
                    //                //oSc_WorkProcReport.MdiParent = oMain;
                    //                //oSc_WorkProcReport.ModCaption = gnmc;
                    //                //oSc_WorkProcReport.Show();
                    //                break;
                    //            case "sc_workbillreport":
                    //                //Sc_WorkBillReport oSc_WorkBillReport = new Sc_WorkBillReport();
                    //                //oSc_WorkBillReport.MdiParent = oMain;
                    //                //oSc_WorkBillReport.ModCaption = gnmc;
                    //                //oSc_WorkBillReport.Show();
                    //                break;
                    //            case "sc_procprogressreport":
                    //                Sc_ProcProgressReport oSc_ProcProgressReport = new Sc_ProcProgressReport();
                    //                oSc_ProcProgressReport.MdiParent = oMain;
                    //                oSc_ProcProgressReport.ModCaption = gnmc;
                    //                oSc_ProcProgressReport.Show();
                    //                oMainForm.AddTabPage(oSc_ProcProgressReport);
                    //                break;
                    default:
                        break;
SCM/SCM.csproj
@@ -141,6 +141,12 @@
    <Compile Include="公用模块\frmHlpBillList_New.designer.cs">
      <DependentUpon>frmHlpBillList_New.cs</DependentUpon>
    </Compile>
    <Compile Include="单据资料\Sc_PackUnionCarryUpBillList.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="单据资料\Sc_PackUnionCarryUpBillList.designer.cs">
      <DependentUpon>Sc_PackUnionCarryUpBillList.cs</DependentUpon>
    </Compile>
    <Compile Include="单据资料\出入库单据\Kf_POStockInBillList.cs">
      <SubType>Form</SubType>
    </Compile>
@@ -600,6 +606,10 @@
      <DependentUpon>frmHlpBillList_New.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="单据资料\Sc_PackUnionCarryUpBillList.resx">
      <DependentUpon>Sc_PackUnionCarryUpBillList.cs</DependentUpon>
      <SubType>Designer</SubType>
    </EmbeddedResource>
    <EmbeddedResource Include="单据资料\出入库单据\Kf_POStockInBillList.resx">
      <DependentUpon>Kf_POStockInBillList.cs</DependentUpon>
      <SubType>Designer</SubType>
SCM/¹«ÓÃÀà/ClsPub1.cs
@@ -14,7 +14,7 @@
        //public static string WEBSURL = "http://124.70.129.242/WEBS-WMS/WebService1.asmx";             //雅琪诺
        //public static string WEBSURL = "http://192.168.1.29/WEBS-WMS/WebService1.asmx";               //圣龙    å†…网
        //public static string WEBSURL = "http://122.227.138.236/WEBS-WMS/WebService1.asmx";            //圣龙(不用)
        //public static string WEBSURL = "http://220.189.218.154:8092/WEBS-WMS/WebService1.asmx";   //四维尔    æ–°ä¸­é—´å±‚    å¤–网
        public static string WEBSURL = "http://220.189.218.154:8092/WEBS-WMS/WebService1.asmx";   //四维尔    æ–°ä¸­é—´å±‚    å¤–网
        //public static string WEBSURL = "http://192.168.0.178/WEBS-WMS/WebService1.asmx";          //四维尔    æ–°ä¸­é—´å±‚    å†…网
        //public static string WEBSURL = "http://122.227.199.62:5050/LMESWEBS/WebService1.asmx";        //韩电    å¤–网JIT(不用)
        //public static string WEBSURL = "http://122.227.199.62:5050/WMSWEBS/WebService1.asmx";         //韩电    å¤–网
@@ -22,12 +22,13 @@
        //public static string WEBSURL = "http://60.190.50.86:5050/WEBS_CE/WebService1.asmx";           //飞龙
        //public static string WEBSURL = "http://192.192.192.13/WMSWEBS/WebService1.asmx";              //卓力
        //public static string WEBSURL = "http://120.195.29.36:1230/WEBS-WMS/WebService1.asmx";         //江苏龙亨
        public static string WEBSURL = "http://60.191.27.141:8090/WEBS-WMS/WebService1.asmx";         //森楷
        //public static string WEBSURL = "http://60.191.27.141:8090/WEBS-WMS/WebService1.asmx";         //森楷
        //public static string WEBSURL = "http://192.168.63.195/WEBS-WMS/WebService1.asmx";
        //public static string WEBSURL = "http://192.168.2.18/WEBS-WMS/WebService1.asmx";              //公司台式机
        //public static string WEBSURL = "http://192.168.63.7/WEBS-WMS/WebService1.asmx";              //公司台式机
        //public static string WEBSURL = "http://192.168.0.107/WEBS-WMS/WebService1.asmx";              //å®¶
        //public static string WEBSURL = "http://47.96.97.237/WEBS-WMS/WebService1.asmx";              //公司服务器
        //public static string WEBSURL = "http://192.168.0.193/WEBS-WMS/WebService1.asmx";          //四维尔(条码数据库迁移测试)
        public static long HOrgID = 0;
        public static string HOrgNumber = "";
        public static long HPersonL = 2;   // ä»“库人员为1,车间人员为2
SCM/µ¥¾Ý×ÊÁÏ/Sc_PackUnionCarryUpBillList.cs
New file
@@ -0,0 +1,428 @@
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 DBUtility;
using System.Threading;
using System.IO;
namespace SCM
{
    public partial class Sc_PackUnionCarryUpBillList : Form
    {
        public Sc_PackUnionCarryUpBillList()
        {
            InitializeComponent();
        }
        public frmBillQueryCondition_Base frmCondition;
        public string ViewName = "h_v_Sc_PackUnionCarryUpBillList";
        public string ModCaption = "生产装箱追溯单列表";
        public const string ModName = "3704";
        public const string ModRightName = "Sc_PackUnionCarryUpBill";
        public const string ModRightNameDelete = ModRightName + "_Drop";
        public string sDlgWhere = "";  //外窗体递入
        public int selectRow = 0;
        Pub_Class.ClsGridListSum oSumGrid = new Pub_Class.ClsGridListSum();
        SCM.WMSWeb.WebService1 oWeb = new SCM.WMSWeb.WebService1();
        //
        private void initGrid()
        {
            ClsPub1.initGridList(grdMain, this.Name);
            grdMain.ReadOnly = false;
        }
        //
        private void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Enabled = false;
            initGrid();
            Display();
        }
        //
        private Int32 Fun_GetCol(string sCol)
        {
            return DBUtility.Xt_BaseBillFun.Fun_GetCol(sCol, grdMain);
        }
        //
        private void Sc_PackUnionCarryUpBillList_Load(object sender, EventArgs e)
        {
            //设置动态URL
            oWeb.Url = SCM.ClsPub1.WEBSURL;
            //
            frmCondition = new frmBillQueryCondition_Base();
            this.Text = ModCaption;
            oSumGrid.ogrdMain = grdMain;  //初始化 new
            oSumGrid.oGridsum = grdSum;
            lblCaption.Text = ModCaption;
            initGrid();
        }
        private void timer2_Tick(object sender, EventArgs e)
        {
            timer2.Enabled = false;
            frmCondition = new frmBillQueryCondition_Base();
            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 GraphicsGrid()
        {
            DBUtility.Xt_BaseBillFun.GraphicsGrid(grdMain);
        }
        //
        private void grdMain_Paint(object sender, PaintEventArgs e)
        {
            GraphicsGrid();
        }
        //合计 new
        private void grdMain_ColumnWidthChanged(object sender, DataGridViewColumnEventArgs e)
        {
            Total();
        }
        //合计 new
        private void grdMain_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e)
        {
            Total();
        }
        private void grdMain_CellBeginEdit(object sender, DataGridViewCellCancelEventArgs e)
        {
            int sHQtyCol = Fun_GetCol("数量");
            int i = grdMain.CurrentCell.ColumnIndex;
            if (i != sHQtyCol)
            {
                e.Cancel = true;
            }
        }
        //刷新
        private void sx_Click(object sender, EventArgs e)
        {
            timer1.Enabled = true;
        }
        //退出
        private void tc_Click(object sender, EventArgs e)
        {
            this.Close();
        }
        #region  //删除
        //删除
        private void sc_Click(object sender, EventArgs e)
        {
            Sub_DeleteBill();
        }
        //删除
        private void Sub_DeleteBill()
        {
            //WEBS
            if (!oWeb.getSecurity_Log(ModRightNameDelete, DBUtility.ClsPub.CurUserName, ref DBUtility.ClsPub.sExeReturnInfo))
            {
                MessageBox.Show("您没有删除权限!");
                return;
            }
            if (AllowRow())
            {
                if (MessageBox.Show("确定要删除当前所选单据?删除后不能恢复,请谨慎操作!", "提示", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK)
                {
                    long sHInterID;
                    string HBillNo = "";
                    string HBarCode = "";
                    sHInterID = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentCell.RowIndex].Cells[Fun_GetCol("hmainid")].Value);
                    HBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[grdMain.CurrentCell.RowIndex].Cells[Fun_GetCol("单据号")].Value);
                    HBarCode = DBUtility.ClsPub.isStrNull(grdMain.Rows[grdMain.CurrentCell.RowIndex].Cells[Fun_GetCol("HBarCode_Pack")].Value);
                    if (sHInterID == 0)
                        return;
                    try
                    {
                        DataSet DS = oWeb.getDataSetBySQL("exec h_p_Sc_PackUnionCarryUpBill_Delete " + sHInterID + ",'" + HBillNo + "','" + HBarCode + "','" + DBUtility.ClsPub.CurUserName + "','" + DBUtility.ClsPub.ComputerName + "','" + DBUtility.ClsPub.IPAddress + "'", "h_p_Sc_PackUnionCarryUpBill_Delete", ref DBUtility.ClsPub.sExeReturnInfo);
                        if (DS == null || DS.Tables[0].Rows.Count <= 0)
                        {
                            MessageBox.Show("删除失败!");
                            return;
                        }
                        else
                        {
                            if (DBUtility.ClsPub.isLong(DS.Tables[0].Rows[0][0]) == 1)
                            {
                                MessageBox.Show(DBUtility.ClsPub.isStrNull(DS.Tables[0].Rows[0]["HRemark"]));
                                return;
                            }
                            else
                            {
                                MessageBox.Show(DBUtility.ClsPub.isStrNull(DS.Tables[0].Rows[0]["HRemark"]));
                                Display();
                            }
                        }
                    }
                    catch (Exception e)
                    {
                        throw (e);
                    }
                }
            }
        }
        //选中行是否正常
        private bool AllowRow()
        {
            if (grdMain.CurrentRow == null)
            {
                return false;
            }
            if (grdMain.CurrentRow.Index >= 0 && grdMain.CurrentRow.Index <= grdMain.RowCount - 1)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
        #endregion
        #region  //查询功能
        //查询
        private void cx_Click(object sender, EventArgs e)
        {
            frmCondition = new frmBillQueryCondition_Base();
            SetCondition(frmCondition, ViewName, this.Name);
            frmCondition.ShowDialog();
            if (frmCondition.Tag.ToString() == "OK")
            {
                Display();
            }
        }
        public void SetCondition(frmBillQueryCondition_Base frmCondition, string ViewName, string Name)
        {
            frmCondition.Tag = "";
            frmCondition.ViewName = ViewName;
            frmCondition.ModName = Name;
        }
        private void Display()
        {
            DataSet DSet;
            string sSql = "";
            string sWhere = "";
            //过滤条件
            if (frmCondition.SqlStr.Trim().Length == 0)
            {
                sSql = "Select * from " + ViewName + " Where 1=1 " + sWhere + sDlgWhere + " order by å•据号 desc,hsubid  ";
            }
            else
            {
                sSql = frmCondition.SqlStr + sWhere + sDlgWhere + " order by å•据号 desc,hsubid  ";
            }
            //
            DSet = oWeb.getDataSetBySQL(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo);
            //生成首行标题
            if (DSet == null)
            {
                MessageBox.Show("没有返回任何结果,请在过滤框中点击【恢复】按钮,尝试再次查询!" + DBUtility.ClsPub.sExeReturnInfo);
                return;
            }
            //
            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;
            ClsPub1.DisplayGrid(grdMain, this.Name, s, FrCol);
            //画线
            GraphLine();
            //Total();
        }
        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() + " æ¡è®°å½•";
        }
        //合计 new
        private void Total()
        {
            if (grdMain.Rows.Count > 0 && grdMain.ColumnCount > 0)
            {
                oSumGrid.SetGridsum();
                oSumGrid.Total();
            }
        }
        #endregion
        #region  //引出功能
        private void yc_Click(object sender, EventArgs e)
        {
            DataGridViewToExcel2(grdMain, this.Text, this.Text);
        }
        /// <summary>
        /// ç½‘æ ¼ å¯¼å‡ºEXCEL   ç½‘格,文件名,标题名
        /// </summary>
        public static void DataGridViewToExcel2(DataGridView grdMain, string sText, string sBTText)
        {
            SaveFileDialog saveFileDialog = new SaveFileDialog();
            saveFileDialog.Filter = "Execl文件(*.xls)|*.xls";
            saveFileDialog.FilterIndex = 0;
            saveFileDialog.RestoreDirectory = true;
            saveFileDialog.CreatePrompt = true;
            saveFileDialog.Title = "数据视图导出EXCEL文件";
            saveFileDialog.FileName = sText;
            //saveFileDialog.ShowDialog();
            if (saveFileDialog.ShowDialog() == DialogResult.OK)
            {
                Stream myStream;
                myStream = saveFileDialog.OpenFile();
                StreamWriter sw = new StreamWriter(myStream, System.Text.Encoding.GetEncoding("gb2312"));
                string str = "";
                DateTime start = DateTime.Now;
                try
                {
                    if (sBTText != "")
                    {
                        sw.WriteLine(sBTText);
                    }
                    //写标题
                    bool sFirstCol = true;
                    for (int i = 0; i < grdMain.ColumnCount; i++)
                    {
                        if (i > 0 && grdMain.Columns[i].HeaderText.Substring(0, 1) != "h" && grdMain.Columns[i].HeaderText.Substring(0, 1) != "H" && sFirstCol != true)
                        {
                            str += "\t";
                        }
                        if (grdMain.Columns[i].HeaderText.Substring(0, 1) != "h" && grdMain.Columns[i].HeaderText.Substring(0, 1) != "H")
                        {
                            sFirstCol = false;
                            str += grdMain.Columns[i].HeaderText;
                        }
                    }
                    str = str.Replace("\n", "");
                    sw.WriteLine(str);
                    //写内容
                    for (int j = 0; j < grdMain.Rows.Count; j++)
                    {
                        string tempStr = "";
                        sFirstCol = true;
                        for (int k = 0; k < grdMain.Columns.Count; k++)
                        {
                            if (k > 0 && grdMain.Columns[k].HeaderText.Substring(0, 1) != "h" && grdMain.Columns[k].HeaderText.Substring(0, 1) != "H" && sFirstCol != true)
                            {
                                tempStr += "\t";
                            }
                            if (grdMain.Columns[k].HeaderText.Substring(0, 1) != "h" && grdMain.Columns[k].HeaderText.Substring(0, 1) != "H")
                            {
                                sFirstCol = false;
                                if (grdMain.Rows[j].Cells[k].Value == null)
                                {
                                    tempStr += string.Empty;
                                }
                                else
                                {
                                    tempStr += grdMain.Rows[j].Cells[k].Value.ToString();
                                }
                            }
                        }
                        tempStr = tempStr.Replace("\n", "");
                        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 dc_Click(object sender, EventArgs e)
        {
            SCM.公用类.Xt_BaseBillFun.DataToExcel(this.Text, grdMain);
        }
        #endregion
        //快速查询
        private void btnOK_Click(object sender, EventArgs e)
        {
            Sub_FastQuery();
        }
        //快速过滤
        private void Sub_FastQuery()
        {
            string sFastSQL = "";
            sFastSQL = sFastSQL + " and (CONVERT(varchar(10),制单日期,120) between '" + dtpHBDate.Value.ToShortDateString() + "' and '" + dtpHEDate.Value.ToShortDateString() + "')";
            sFastSQL = sFastSQL + " and (单据号 like '%" + txtHBillNo.Text.Trim() + "%')";
            sFastSQL = sFastSQL + " and (箱条码 like '%" + txtHBarCode_Pack.Text.Trim() + "%')";
            sFastSQL = sFastSQL + " and (SN条码 like '%" + txtHBarCode.Text.Trim() + "%')";
            if (sFastSQL.Trim() == "")
            {
                MessageBox.Show("没有输入条件!");
                return;
            }
            sDlgWhere = sFastSQL;
            Display();
            sDlgWhere = "";
        }
    }
}
SCM/µ¥¾Ý×ÊÁÏ/Sc_PackUnionCarryUpBillList.designer.cs
New file
@@ -0,0 +1,551 @@
namespace SCM
{
    partial class Sc_PackUnionCarryUpBillList
    {
        /// <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(Sc_PackUnionCarryUpBillList));
            this.pPic = new System.Windows.Forms.Panel();
            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.yc = new System.Windows.Forms.ToolStripButton();
            this.dc = 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.sc = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator4 = 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.groupBox1 = new System.Windows.Forms.GroupBox();
            this.txtHBillNo = new System.Windows.Forms.TextBox();
            this.label4 = new System.Windows.Forms.Label();
            this.btnOK = new System.Windows.Forms.Button();
            this.grdSum = new System.Windows.Forms.DataGridView();
            this.dtpHBDate = new System.Windows.Forms.DateTimePicker();
            this.dtpHEDate = new System.Windows.Forms.DateTimePicker();
            this.label5 = new System.Windows.Forms.Label();
            this.label6 = new System.Windows.Forms.Label();
            this.txtHBarCode_Pack = new System.Windows.Forms.TextBox();
            this.label1 = new System.Windows.Forms.Label();
            this.txtHBarCode = new System.Windows.Forms.TextBox();
            this.label2 = new System.Windows.Forms.Label();
            this.pPic.SuspendLayout();
            this.panel1.SuspendLayout();
            this.Tool.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit();
            this.groupBox1.SuspendLayout();
            ((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.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(1011, 33);
            this.pPic.TabIndex = 15;
            //
            // 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(875, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(136, 33);
            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, 7);
            this.lblCaption.Name = "lblCaption";
            this.lblCaption.Size = new System.Drawing.Size(98, 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.yc,
            this.dc,
            this.toolStripSeparator2,
            this.cx,
            this.sx,
            this.toolStripSeparator1,
            this.sc,
            this.toolStripSeparator4,
            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(1011, 50);
            this.Tool.Stretch = true;
            this.Tool.TabIndex = 16;
            this.Tool.Text = "toolStrip1";
            //
            // yc
            //
            this.yc.AutoSize = false;
            this.yc.Image = ((System.Drawing.Image)(resources.GetObject("yc.Image")));
            this.yc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.yc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
            this.yc.ImageTransparentColor = System.Drawing.Color.Magenta;
            this.yc.Name = "yc";
            this.yc.Size = new System.Drawing.Size(36, 47);
            this.yc.Text = "引出";
            this.yc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
            this.yc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
            this.yc.Click += new System.EventHandler(this.yc_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.Magenta;
            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);
            //
            // 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);
            //
            // 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.Click += new System.EventHandler(this.sc_Click);
            //
            // toolStripSeparator4
            //
            this.toolStripSeparator4.Name = "toolStripSeparator4";
            this.toolStripSeparator4.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, 126);
            this.grdMain.Name = "grdMain";
            this.grdMain.ReadOnly = true;
            this.grdMain.RowTemplate.Height = 23;
            this.grdMain.Size = new System.Drawing.Size(1011, 386);
            this.grdMain.TabIndex = 19;
            this.grdMain.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.grdMain_CellBeginEdit);
            this.grdMain.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.grdMain_CellMouseUp);
            this.grdMain.ColumnWidthChanged += new System.Windows.Forms.DataGridViewColumnEventHandler(this.grdMain_ColumnWidthChanged);
            this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint);
            //
            // grdPrint
            //
            this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
            this.grdPrint.Location = new System.Drawing.Point(772, 146);
            this.grdPrint.Name = "grdPrint";
            this.grdPrint.RowTemplate.Height = 23;
            this.grdPrint.Size = new System.Drawing.Size(25, 24);
            this.grdPrint.TabIndex = 8;
            this.grdPrint.Visible = false;
            //
            // groupBox1
            //
            this.groupBox1.BackColor = System.Drawing.Color.Lavender;
            this.groupBox1.Controls.Add(this.txtHBarCode);
            this.groupBox1.Controls.Add(this.label2);
            this.groupBox1.Controls.Add(this.txtHBarCode_Pack);
            this.groupBox1.Controls.Add(this.label1);
            this.groupBox1.Controls.Add(this.dtpHBDate);
            this.groupBox1.Controls.Add(this.dtpHEDate);
            this.groupBox1.Controls.Add(this.label5);
            this.groupBox1.Controls.Add(this.label6);
            this.groupBox1.Controls.Add(this.txtHBillNo);
            this.groupBox1.Controls.Add(this.label4);
            this.groupBox1.Controls.Add(this.btnOK);
            this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupBox1.Location = new System.Drawing.Point(0, 83);
            this.groupBox1.Name = "groupBox1";
            this.groupBox1.Size = new System.Drawing.Size(1011, 43);
            this.groupBox1.TabIndex = 51;
            this.groupBox1.TabStop = false;
            //
            // txtHBillNo
            //
            this.txtHBillNo.Location = new System.Drawing.Point(393, 13);
            this.txtHBillNo.Name = "txtHBillNo";
            this.txtHBillNo.Size = new System.Drawing.Size(99, 21);
            this.txtHBillNo.TabIndex = 12;
            //
            // label4
            //
            this.label4.AutoSize = true;
            this.label4.Location = new System.Drawing.Point(345, 17);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(53, 12);
            this.label4.TabIndex = 11;
            this.label4.Text = "单据号:";
            //
            // btnOK
            //
            this.btnOK.Location = new System.Drawing.Point(810, 11);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new System.Drawing.Size(73, 24);
            this.btnOK.TabIndex = 6;
            this.btnOK.Text = "快速查询";
            this.btnOK.UseVisualStyleBackColor = true;
            this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
            //
            // 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.RowTemplate.Height = 23;
            this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None;
            this.grdSum.Size = new System.Drawing.Size(1011, 19);
            this.grdSum.TabIndex = 52;
            //
            // dtpHBDate
            //
            this.dtpHBDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHBDate.Location = new System.Drawing.Point(73, 13);
            this.dtpHBDate.Name = "dtpHBDate";
            this.dtpHBDate.Size = new System.Drawing.Size(99, 21);
            this.dtpHBDate.TabIndex = 63;
            //
            // dtpHEDate
            //
            this.dtpHEDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
            this.dtpHEDate.Location = new System.Drawing.Point(237, 13);
            this.dtpHEDate.Name = "dtpHEDate";
            this.dtpHEDate.Size = new System.Drawing.Size(99, 21);
            this.dtpHEDate.TabIndex = 65;
            //
            // label5
            //
            this.label5.AutoSize = true;
            this.label5.BackColor = System.Drawing.Color.Transparent;
            this.label5.Location = new System.Drawing.Point(12, 17);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(65, 12);
            this.label5.TabIndex = 62;
            this.label5.Text = "开始日期:";
            //
            // label6
            //
            this.label6.AutoSize = true;
            this.label6.BackColor = System.Drawing.Color.Transparent;
            this.label6.Location = new System.Drawing.Point(177, 17);
            this.label6.Name = "label6";
            this.label6.Size = new System.Drawing.Size(65, 12);
            this.label6.TabIndex = 64;
            this.label6.Text = "结束日期:";
            //
            // txtHBarCode_Pack
            //
            this.txtHBarCode_Pack.Location = new System.Drawing.Point(549, 13);
            this.txtHBarCode_Pack.Name = "txtHBarCode_Pack";
            this.txtHBarCode_Pack.Size = new System.Drawing.Size(99, 21);
            this.txtHBarCode_Pack.TabIndex = 67;
            //
            // label1
            //
            this.label1.AutoSize = true;
            this.label1.Location = new System.Drawing.Point(502, 17);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(53, 12);
            this.label1.TabIndex = 66;
            this.label1.Text = "箱条码:";
            //
            // txtHBarCode
            //
            this.txtHBarCode.Location = new System.Drawing.Point(705, 13);
            this.txtHBarCode.Name = "txtHBarCode";
            this.txtHBarCode.Size = new System.Drawing.Size(99, 21);
            this.txtHBarCode.TabIndex = 69;
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Location = new System.Drawing.Point(658, 17);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(53, 12);
            this.label2.TabIndex = 68;
            this.label2.Text = "SN条码:";
            //
            // Sc_PackUnionCarryUpBillList
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1011, 531);
            this.Controls.Add(this.grdMain);
            this.Controls.Add(this.groupBox1);
            this.Controls.Add(this.pPic);
            this.Controls.Add(this.Tool);
            this.Controls.Add(this.grdPrint);
            this.Controls.Add(this.grdSum);
            this.Name = "Sc_PackUnionCarryUpBillList";
            this.Text = "单据列表";
            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
            this.Load += new System.EventHandler(this.Sc_PackUnionCarryUpBillList_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();
            this.groupBox1.ResumeLayout(false);
            this.groupBox1.PerformLayout();
            ((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.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.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.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.GroupBox groupBox1;
        private System.Windows.Forms.Button btnOK;
        private System.Windows.Forms.TextBox txtHBillNo;
        private System.Windows.Forms.Label label4;
        private System.Windows.Forms.ToolStripButton yc;
        private System.Windows.Forms.DataGridView grdSum;
        private System.Windows.Forms.ToolStripButton sc;
        private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
        private System.Windows.Forms.ToolStripButton dc;
        private System.Windows.Forms.DateTimePicker dtpHBDate;
        private System.Windows.Forms.DateTimePicker dtpHEDate;
        private System.Windows.Forms.Label label5;
        private System.Windows.Forms.Label label6;
        private System.Windows.Forms.TextBox txtHBarCode;
        private System.Windows.Forms.Label label2;
        private System.Windows.Forms.TextBox txtHBarCode_Pack;
        private System.Windows.Forms.Label label1;
    }
}
SCM/µ¥¾Ý×ÊÁÏ/Sc_PackUnionCarryUpBillList.resx
New file
Diff too large
SCM/ÌõÂë´òÓ¡/Gy_BarCodeBill.cs
@@ -169,6 +169,7 @@
        public Int16 POOrderBillNo2Col = 71;
        public Int16 HBarCode_Pack2Col = 72;
        public Int16 HCustomQty12Col = 73;
        public Int16 HCusBarCodeCol = 74;
        //
        public  string ModName = "85";
        public  string ModCaption = "条码生成";
@@ -214,6 +215,10 @@
                cmbHBarCodeType.Items.Add("唯一条码");
                cmbHBarCodeType.Items.Add("品种条码");
                cmbHBarCodeType.Items.Add("批次条码");
                if (CampanyName == "四维尔") //系统参数  å®¢æˆ·å®šåˆ¶åŒ–名称
                {
                    cmbHBarCodeType.Items.Add("奇瑞条码");
                }
                //cmbHBarCodeType.Items.Add("托盘条码");
                cmbHBarCodeType.SelectedIndex = 0;
            }
@@ -776,6 +781,12 @@
                string HGroupNumber = "";   //班组代码
                string sTMNumber = "";      //条码自定义前缀
                string sSeOrderNo = "";     // é”€å”®è®¢å•号  
                string HModel = "";         //物料规格型号
                string HCusNumber = "";     //客户代码
                string HCusBatchNo = "";    //客户批次
                string CusTM = "";          //客户条码
                string sCusTMNumber = "";   //客户条码自定义前缀
                int CusTMLSH = 0;           //客户条码流水号
                DataSet Ds;
                pb1.Value = 0;
                for (int j = 0; j < grdMain.Rows.Count; j++)
@@ -1559,6 +1570,21 @@
                            #endregion
                        }
                        else if (cmbHBarCodeType.Text == "奇瑞条码")
                        {
                            //条码前缀 = ç»„织代码 + ç‰©æ–™å†…码 + å¹´ + æœˆ + æ—¥
                            sTMNumber = HOrgNumber + HNumber + sYear + sPeriod + sDay;
                            Ds = oWeb.getDataSetBySQL("exec h_p_WMS_GetMaxNo  '" + sTMNumber + "'", "h_p_WMS_GetMaxNo", ref DBUtility.ClsPub.sExeReturnInfo);//获取最大流水号
                            LSH = ClsPub.isInt(Ds.Tables[0].Rows[0][0]);
                            HModel = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HMaterModelCol].Value);
                            HCusNumber = "8PD";     //供应商代码固定为8PD
                            HCusBatchNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HCustomBatchNoCol].Value);
                            //客户条码前缀 = 10#规格型号$+11#供应商代码$
                            sCusTMNumber = "10#" + HModel + "$11#" + HCusNumber + "$";
                            Ds = oWeb.getDataSetBySQL("exec h_p_WMS_GetMaxNo  '" + sCusTMNumber + "'", "h_p_WMS_GetMaxNo", ref DBUtility.ClsPub.sExeReturnInfo);//获取最大流水号
                            CusTMLSH = ClsPub.isInt(Ds.Tables[0].Rows[0][0]);
                        }
                        else
                        {
                            MessageBox.Show("错误的条码类型,不能生成条码!");
@@ -1623,6 +1649,22 @@
                                //条码编号 = æ¡ç å‰ç¼€ + æµæ°´å·
                                TM = sTMNumber + LSH2;
                            }
                            else if (cmbHBarCodeType.Text == "奇瑞条码")
                            {
                                //条码编号 = æ¡ç å‰ç¼€ + æµæ°´å·
                                TM = sTMNumber + LSH2;
                                //客户条码前缀 = 10#规格型号$+11#供应商代码$
                                //客户条码 = å®¢æˆ·æ¡ç å‰ç¼€+17#最小包装数量$+18#供应商批次$+流水号
                                CusTMLSH = CusTMLSH + 1;
                                CusTM = sCusTMNumber + "17#"+ HMinQty+ "$18#"+ HCusBatchNo+ "$"+ CusTMLSH;
                                if (HCusBatchNo.Trim() == "")
                                {
                                    MessageBox.Show("客户批次号不允许为空!");
                                    bc.Enabled = true;
                                    return;
                                }
                            }
                            if (CampanyName == "韩电" && cmbHBarCodeType.Text != "箱发条码") //系统参数  å®¢æˆ·å®šåˆ¶åŒ–名称
                            {
@@ -1673,7 +1715,14 @@
                            grdSub.Rows[i].Cells[HSourceBillType2Col].Value = grdMain.Rows[j].Cells[HBillTypeCol].Value;
                            grdSub.Rows[i].Cells[HPrintCol].Value = "0";
                            grdSub.Rows[i].Cells[HWeiCol].Value = WeiShu;
                            grdSub.Rows[i].Cells[HBarcodeNoCol].Value = n + 1;
                            if (cmbHBarCodeType.Text == "奇瑞条码")
                            {
                                grdSub.Rows[i].Cells[HBarcodeNoCol].Value = CusTMLSH;
                            }
                            else
                            {
                                grdSub.Rows[i].Cells[HBarcodeNoCol].Value = n + 1;
                            }
                            grdSub.Rows[i].Cells[HBarcodeQtysCol].Value = grdMain.Rows[j].Cells[HBQtyCol].Value;
                            grdSub.Rows[i].Cells[HSupID2Col].Value = grdMain.Rows[j].Cells[HSupIDCol].Value;
                            grdSub.Rows[i].Cells[HSupNumber2Col].Value = grdMain.Rows[j].Cells[HSupNumberCol].Value;
@@ -1717,6 +1766,7 @@
                            grdSub.Rows[i].Cells[POOrderBillNo2Col].Value = grdMain.Rows[j].Cells[POOrderBillNoCol].Value;
                            grdSub.Rows[i].Cells[HBarCode_Pack2Col].Value = grdMain.Rows[j].Cells[HBarCode_PackCol].Value;
                            grdSub.Rows[i].Cells[HCustomQty12Col].Value = ClsPub.isLong(txtHCaseNo.Text) + i;
                            grdSub.Rows[i].Cells[HCusBarCodeCol].Value = CusTM;
                            k = k + 1;
                            n = n + 1;
                            //oWeb.getRunProc("exec h_p_WMS_SetMaxNo '" + sTMNumber + "'", ref DBUtility.ClsPub.sExeReturnInfo);
@@ -1730,6 +1780,16 @@
                        {
                            MessageBox.Show("条码生成失败,批量生成流水号失败!");
                            return;
                        }
                        if (cmbHBarCodeType.Text == "奇瑞条码")
                        {
                            string[] sSQLCusNoMul = new string[1];
                            sSQLCusNoMul[0] = " exec h_p_WMS_SetMaxNo_QTY '" + sCusTMNumber + "'," + nn.ToString() + " ";
                            if (oWeb.getRunProcByMul_Back(sSQLCusNoMul, ref DBUtility.ClsPub.sExeReturnInfo) == false)
                            {
                                MessageBox.Show("条码生成失败,批量生成客户条码流水号失败!");
                                return;
                            }
                        }
                        //
                    }
@@ -1798,6 +1858,8 @@
                string HGBBarCode = "";
                string POOrderBillNo = "";
                long HCustomQty1 = 0;
                string HCusBarCode = "";
                string HBarCodeStatus = "";
                string[] sSQLMul = new string[grdSub.Rows.Count];
@@ -1816,16 +1878,25 @@
                        {
                            HBarCodeType = "唯一条码";
                            HRemark = "奥克斯条码";
                            HBarCodeStatus = "";
                        }
                        else if (cmbHBarCodeType.Text == "箱发条码")
                        {
                            HBarCodeType = "唯一条码";
                            HRemark = "箱发条码";
                            HBarCodeStatus = "";
                        }
                        else if (cmbHBarCodeType.Text == "奇瑞条码")
                        {
                            HBarCodeType = "唯一条码";
                            HRemark = "奇瑞条码";
                            HBarCodeStatus = "待装箱";
                        }
                        else
                        {
                            HBarCodeType = ClsPub.isStrNull(cmbHBarCodeType.Text);
                            HRemark = ClsPub.isStrNull(grdSub.Rows[i].Cells[HRemark2Col].Value);
                            HBarCodeStatus = "";
                        }
                        HMaterID = ClsPub.isLong(grdSub.Rows[i].Cells[HMaterID2Col].Value);
@@ -1869,6 +1940,7 @@
                        POOrderBillNo = ClsPub.isStrNull(grdSub.Rows[i].Cells[POOrderBillNo2Col].Value);
                        HBarCode_Pack = ClsPub.isStrNull(grdSub.Rows[i].Cells[HBarCode_Pack2Col].Value);
                        HCustomQty1 = ClsPub.isLong(grdSub.Rows[i].Cells[HCustomQty12Col].Value); //箱号(森楷)
                        HCusBarCode = ClsPub.isStrNull(grdSub.Rows[i].Cells[HCusBarCodeCol].Value);
                        sSQLMul[mm] = "insert into Gy_BarCodeBill (HBarCode,HBarCodeType,HMaterID,HUnitID,HQty" +
                                    ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HinitQty" +
                                    ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HEndQty " +
@@ -1879,7 +1951,7 @@
                                    ",HSTOCKORGID,HOWNERID,HBeginDate,HSeOrderBillNo,HGBBarCode " +
                                    ",POOrderBillNo,HInterID,HInitSourceEntryID,HBarCode_Pack " +
                                    ",HMaterName,HMaterModel,HPinfan,HAuxPropID,HMTONo " +
                                    ",HCustomQty1 " +
                                    ",HCustomQty1,HCusBarCode,HBarCodeStatus " +
                                    ") values ("
                                    + "'" + HBarCode + "','" + HBarCodeType + "'," + HMaterID.ToString() + "," + HUnitID.ToString() + "," + HQty2.ToString()
                                    + ",'" + HBatchNo2 + "'," + HSupID.ToString() + "," + HGroupID.ToString() + ",'" + ClsPub.CurUserName + "',getdate()," + HPrintQty.ToString() + "," + HQty2.ToString()
@@ -1891,7 +1963,7 @@
                                    + ", " + HOrgID.ToString() + "," + HOrgID.ToString() + ",'" + HBeginDate.ToShortDateString() + "','" + HSeOrderBillNo + "','" + HGBBarCode + "'"
                                    + ",'" + POOrderBillNo + "'," + HInterID.ToString() + "," + HSourceEntryID.ToString() + ",'" + HBarCode_Pack + "'"
                                    + ",'" + HMaterName + "','" + HMaterModel + "','" + HPinfan + "'," + HAuxPropID.ToString() + ",'" + HMTONo + "'"
                                    + ", " + HCustomQty1.ToString() + ")";
                                    + ", " + HCustomQty1.ToString() + ",'" + HCusBarCode + "','" + HBarCodeStatus + "')";
                        //oCn.RunProc("exec setLSH '" + ClsPub.GetServerDate(0) + "'");
                        mm = mm + 1;
                        Application.DoEvents();
@@ -1985,7 +2057,7 @@
            grdMain.Columns[HBarCodeTypeCol].HeaderText = "条码类型";
            grdMain.Columns[HBatchManagerCol].HeaderText = "是否启用批次";
            grdMain.Columns[HBatchNoCol].HeaderText = "批号2";
            grdMain.Columns[HCustomBatchNoCol].HeaderText = "批号";
            grdMain.Columns[HCustomBatchNoCol].HeaderText = "客户批次号";
            grdMain.Columns[HGroupIDCol].HeaderText = "班线ID";
            grdMain.Columns[HGroupNumberCol].HeaderText = "班线代码";
            grdMain.Columns[HGroupNameCol].HeaderText = "班线";
@@ -2139,6 +2211,7 @@
                grdMain.Columns[HPinfanCol].Visible = true;
                grdMain.Columns[HAuxPropNumberCol].Visible = true;
                grdMain.Columns[HAuxPropNameCol].Visible = true;
                grdMain.Columns[HCustomBatchNoCol].Visible = true;
            }
            else if (CampanyName == "圣龙") //系统参数  å®¢æˆ·å®šåˆ¶åŒ–名称
            {
@@ -2171,6 +2244,7 @@
                                    "," + POOrderBillNoCol.ToString() +
                                    "," + HPressModelCol.ToString() +
                                    "," + HGBBarCodeCol.ToString() +
                                    "," + HCustomBatchNoCol.ToString() +
                                    "," + HRemarkCol.ToString();
            //设置合计列
            string sTotalCol = HQtyCol.ToString();
@@ -2179,7 +2253,7 @@
            ClsPub1.initGridLast(sAllowCol, sTotalCol, oSumGrid);
            //----------------------------
            grdSub.ColumnCount = 74;                       //总列数
            grdSub.ColumnCount = 75;                       //总列数
            ClsPub1.initGridFst(grdSub, this.Name);
            grdSub.Columns[HSelectCol].HeaderText = "选择";
            grdSub.Columns[HTMCol].HeaderText = "条码编号";
@@ -2196,7 +2270,7 @@
            grdSub.Columns[HPinfan2Col].HeaderText = "品番";
            grdSub.Columns[HPinfanBarCode2Col].HeaderText = "HPinfanBarCode";
            grdSub.Columns[HBatchNo2Col].HeaderText = "批号2";
            grdSub.Columns[HCustomBatchNo2Col].HeaderText = "批号";
            grdSub.Columns[HCustomBatchNo2Col].HeaderText = "客户批次号";
            grdSub.Columns[HUnitID2Col].HeaderText = "计量单位ID";
            grdSub.Columns[HUnitNumber2Col].HeaderText = "计量单位代码";
            grdSub.Columns[HUnitName2Col].HeaderText = "计量单位";
@@ -2252,6 +2326,7 @@
            grdSub.Columns[HJiaYeL2Col].HeaderText = "加液量";
            grdSub.Columns[POOrderBillNo2Col].HeaderText = "采购订单号";
            grdSub.Columns[HBarCode_Pack2Col].HeaderText = "托条码编号";
            grdSub.Columns[HCusBarCodeCol].HeaderText = "客户条码";
            //格式化    éšè—åˆ—
            grdSub.Columns[HBarCodeType2Col].Visible = false;
@@ -2318,6 +2393,7 @@
            grdSub.Columns[POOrderBillNo2Col].Visible = false;
            grdSub.Columns[HBarCode_Pack2Col].Visible = false;
            grdSub.Columns[HCustomQty12Col].Visible = false;
            grdSub.Columns[HCusBarCodeCol].Visible = false;
            if (CampanyName == "韩电") //系统参数  å®¢æˆ·å®šåˆ¶åŒ–名称
            {
@@ -2359,6 +2435,8 @@
                grdSub.Columns[HPinfan2Col].Visible = true;
                grdSub.Columns[HAuxPropNumber2Col].Visible = true;
                grdSub.Columns[HAuxPropName2Col].Visible = true;
                grdSub.Columns[HCustomBatchNo2Col].Visible = true;
                grdSub.Columns[HCusBarCodeCol].Visible = true;
            }
            else if (CampanyName == "圣龙") //系统参数  å®¢æˆ·å®šåˆ¶åŒ–名称
            {
@@ -3107,6 +3185,7 @@
                                "," + HBatchNoCol.ToString() +
                                "," + HSupNumberCol.ToString() +
                                "," + POOrderBillNoCol.ToString() +
                                "," + HCustomBatchNoCol.ToString() +
                                "," + HMinQtyCol.ToString();
                }
                grdMain.Columns[HBillNoCol].ReadOnly = true;
@@ -3193,6 +3272,7 @@
                                "," + POOrderBillNoCol.ToString() +
                                "," + HPressModelCol.ToString() +
                                "," + HGBBarCodeCol.ToString() +
                                "," + HCustomBatchNoCol.ToString() +
                                "," + HMinQtyCol.ToString();
            }
            grdMain.Columns[HBillNoCol].ReadOnly = true;