瀏覽代碼

调整标签模板后缀

章政 6 年之前
父節點
當前提交
2e80508e06

+ 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: