yxj
2024-11-08 30c0782daa255937cc56904bdcefcb90db5d7885
凯贝浪潮客户标签流水号生成调整
1个文件已修改
5 ■■■■■ 已修改文件
WarM/条码打印/Gy_CusBarCodeBill_KaiBei_LangChao.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WarM/ÌõÂë´òÓ¡/Gy_CusBarCodeBill_KaiBei_LangChao.cs
@@ -771,7 +771,8 @@
                            }
                            //
                            LSH = LSH + 1;
                            LSH2 = ConvertToBase(LSH, 36);
                            LSH2 = LSH.ToString();
                            //LSH2 = ConvertToBase(LSH, 34);
                            while (LSH2.Length < LSHlen)  //如果流水号位数小于 LSHlen å‰é¢è¡¥0
                            {
                                LSH2 = "0" + LSH2;
@@ -1008,7 +1009,7 @@
        #region  å°†åè¿›åˆ¶æ•°å€¼è½¬æˆæŒ‡å®šè¿›åˆ¶æ•°å€¼ï¼ˆnum为要转换的十进行数值,nbase为指定进制)
        public string ConvertToBase(int num, int nbase)
        {
            string chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
            string chars = "0123456789ABCDEFGHJKLMNPQRSTUVWXYZ";
            if (nbase < 2 || nbase > chars.Length)
                return "";
            int r;