From 22d714a3febae6e27513f924301e8c4635e648da Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期四, 14 九月 2023 13:58:21 +0800
Subject: [PATCH] 1

---
 WarM/条码打印/Kf_WeighToBarCode_StationOutBill.cs |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode_StationOutBill.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode_StationOutBill.cs"
index 11b1e6a..a00df63 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode_StationOutBill.cs"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode_StationOutBill.cs"
@@ -391,8 +391,10 @@
                         ",0,0,0,0,0,0,0,0,0" +
                         ",0,0,''," + sHBarCodeInterID.ToString() + "," + HStockOrgID.ToString() +
                         ") ");
-                    }
 
+                        ////鍥炲~娴佽浆鍗″叧鑱旀暟閲�
+                        //oCn.RunProc("exec h_p_Mes_ProcessExchangeRelationQty_Out " + sInterID + ",1");
+                    }
                     //鍥炲~宸茬敓鍗曠姸鎬�
                     oCn.RunProc("Update KF_BCPWeighSource_Temp set HRelationInterID=1 where HInterID= " + HInterID.ToString());
                     MessageBox.Show("鐢熸垚宸ュ簭鍑虹珯姹囨姤鍗曟垚鍔燂紒", "鎻愮ず");
@@ -587,9 +589,14 @@
                 MessageBox.Show("璇疯緭鍏ュ寘鍙凤紒", "鎻愮ず");
                 return false;
             }
-            else if (DBUtility.ClsPub.isDoule(txtHProcID.Tag) == 0)
+            else if (DBUtility.ClsPub.isLong(txtHProcID.Tag) == 0)
             {
-                MessageBox.Show("璇峰厛閫夋嫨宸ュ簭锛�", "鎻愮ず");
+                MessageBox.Show("宸ュ簭涓嶅厑璁镐负绌猴紝璇峰厛杈撳叆娴佹按鍙峰悗鍥炶溅纭锛�", "鎻愮ず");
+                return false;
+            }
+            else if (DBUtility.ClsPub.isLong(txtHSourceID.Tag) == 0)
+            {
+                MessageBox.Show("鐢熶骇璧勬簮涓嶅厑璁镐负绌猴紝璇峰厛閫夋嫨鐢熶骇璧勬簮锛�", "鎻愮ず");
                 return false;
             }
 

--
Gitblit v1.9.1