| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Threading.Tasks; |
| | | using System.Windows.Forms; |
| | | namespace Gs.DevApp.DevFrm |
| | |
| | | Gs.DevApp.ToolBox.UtilityHelper.PrintAuto(txt_psnQty_1, txt_iCount_1, radOut, txt_yuliang_1); |
| | | }; |
| | | |
| | | #region 2025-08-27 复制beg |
| | | btnCopyXls.Click += (s, e) => |
| | | { |
| | | string kcZz = txt_qt022.GetId(); |
| | | if (string.IsNullOrEmpty(kcZz)) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("请先选择库存组织后才能使用复制功能!"); |
| | | txt_qt022.Focus(); |
| | | return; |
| | | } |
| | | string filePath = AppContext.BaseDirectory + "xlsCopy.xls"; |
| | | if (File.Exists(filePath)) |
| | | { |
| | | var frm = new CopyXls(kcZz, lbGuid.Text.Trim(), OrderType.其它入库.ToString()); |
| | | frm.ShowDialog(); |
| | | } |
| | | else |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.ShowError("找不到xlsCopy.xls文件,请联系管理员!"); |
| | | } |
| | | |
| | | }; |
| | | #endregion |
| | | } |
| | | |
| | | private void GridView1_ColumnFilterChanged(object sender, EventArgs e) |