소스 검색

调整标签模板后缀

章政 7 년 전
부모
커밋
2e80508e06
2개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 2
      UAS-出货标签管理(贸易版)/PublicMethod/ftpOperater.cs
  2. 2 2
      UAS-出货标签管理(贸易版)/UAS_出货标签管理.cs

+ 0 - 2
UAS-出货标签管理(贸易版)/PublicMethod/ftpOperater.cs

@@ -8,8 +8,6 @@ namespace UAS_LabelMachine
 {
     class ftpOperater
     {
-        public static string FTPAddress = DataHelper.FTPAdress.Split('|')[0];
-
         public static string DownLoadTo = Environment.GetEnvironmentVariable("windir").Substring(0, 1) + @":\" + @"打印标签\";
 
         private string ftpServerIP;

+ 2 - 2
UAS-出货标签管理(贸易版)/UAS_出货标签管理.cs

@@ -2228,8 +2228,8 @@ namespace UAS_LabelMachine
                     result = ExportFileDialog.ShowDialog();
                     if (result == DialogResult.OK)
                     {
-                        File.Copy(System.Windows.Forms.Application.StartupPath + "\\导入模板.xlsx", ExportFileDialog.SelectedPath + "\\导入模板.xlsx", true);
-                        System.Diagnostics.Process.Start(ExportFileDialog.SelectedPath + "\\导入模板.xlsx");
+                        File.Copy(System.Windows.Forms.Application.StartupPath + "\\导入模板.xls", ExportFileDialog.SelectedPath + "\\导入模板.xls", true);
+                        System.Diagnostics.Process.Start(ExportFileDialog.SelectedPath + "\\导入模板.xls");
                     }
                     break;
                 default: