From 650fe9e42e3de66be29769da72cc755273246dd9 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期五, 12 九月 2025 16:23:04 +0800
Subject: [PATCH] 更新优化代码

---
 DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_InitialBarcode.cs |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_InitialBarcode.cs b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_InitialBarcode.cs
index 7bfc29f..da12277 100644
--- a/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_InitialBarcode.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Warehouse/Frm_InitialBarcode.cs
@@ -1,15 +1,15 @@
-using Gs.DevApp.Entity;
-using Gs.DevApp.ToolBox;
-using Gs.DevApp.UserControl;
-using Newtonsoft.Json;
-using Newtonsoft.Json.Linq;
 using System;
 using System.Collections.Generic;
 using System.Data;
 using System.Threading.Tasks;
 using System.Windows.Forms;
+using Gs.DevApp.Entity;
+using Gs.DevApp.ToolBox;
+using Gs.DevApp.UserControl;
+using Newtonsoft.Json;
+using Newtonsoft.Json.Linq;
 
-namespace Gs.DevApp.DevFrm
+namespace Gs.DevApp.DevFrm.Warehouse
 {
     public partial class Frm_InitialBarcode : DevExpress.XtraEditors.XtraForm
     {
@@ -45,13 +45,13 @@
                 (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                     lbGuid, txt_itemName, gridView1);
                 ucBtnPrint1.guidKey = rowGuid;
-                //if (string.IsNullOrEmpty(txt_suppNo_1.GetCode()))
-                //{
-                //    Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨渚涘簲鍟嗭紒");
-                //    txt_suppNo_1.Focus();
-                //    this.ucBtnPrint1.rptParameter = "return false";
-                //    return;
-                //}
+                if (string.IsNullOrEmpty(txt_suppNo_1.GetCode()))
+                {
+                    Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨渚涘簲鍟嗭紒");
+                    txt_suppNo_1.Focus();
+                    this.ucBtnPrint1.rptParameter = "return false";
+                    return;
+                }
                 if (!Gs.DevApp.ToolBox.UtilityHelper.IsNumeric3(txt_iCount_1.Text.Trim()))
                 {
                     Gs.DevApp.ToolBox.MsgHelper.ShowError("璇疯緭鍏ユ纭殑鏉$爜鏁伴噺锛�");

--
Gitblit v1.9.3