智云外网版WMS\MES\SCM(作废)
yxj
2022-09-27 0635805fdb44a5bd038134e567a3c12dd73b8c05
Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-SCM
2个文件已修改
9 ■■■■■ 已修改文件
SCM/公用类/ClsPub1.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/条码打印/Gy_BarCodeBill.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
SCM/¹«ÓÃÀà/ClsPub1.cs
@@ -27,7 +27,7 @@
        //public static string WEBSURL = "http://192.168.2.18/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://47.96.97.237/WEBS-WMS/WebService1.asmx";              //公司服务器
        public static long HOrgID = 0;
        public static string HOrgNumber = "";
        public static long HPersonL = 2;   // ä»“库人员为1,车间人员为2
SCM/ÌõÂë´òÓ¡/Gy_BarCodeBill.cs
@@ -1565,7 +1565,8 @@
                        pb1.Value = 0;
                        pb1.Maximum = HBQty;
                        //
                        string[] sSQLNoMul = new string[ClsPub.isInt(grdMain.Rows[j].Cells[HBQtyCol].Value)];
                        //string[] sSQLNoMul = new string[ClsPub.isInt(grdMain.Rows[j].Cells[HBQtyCol].Value)];
                        string[] sSQLNoMul = new string[1];
                        int nn = 0;
                        //
                        for (int i = k; i < HBQty; i++)  //从K到总包数, æ˜¯ç´¯åŠ çš„æ–¹å¼
@@ -1712,10 +1713,12 @@
                            k = k + 1;
                            n = n + 1;
                            //oWeb.getRunProc("exec h_p_WMS_SetMaxNo '" + sTMNumber + "'", ref DBUtility.ClsPub.sExeReturnInfo);
                            sSQLNoMul[nn] = " exec h_p_WMS_SetMaxNo '" + sTMNumber + "' ";
                            //sSQLNoMul[nn] = " exec h_p_WMS_SetMaxNo '" + sTMNumber + "' ";
                            nn = nn + 1;
                        }
                        //后台批量执行语句
                        sSQLNoMul[0] = " exec h_p_WMS_SetMaxNo_QTY '" + sTMNumber + "',"+ nn.ToString()  + " ";
                        if (oWeb.getRunProcByMul_Back(sSQLNoMul, ref DBUtility.ClsPub.sExeReturnInfo) == false)
                        {
                            MessageBox.Show("条码生成失败,批量生成流水号失败!");