From f2bbd33bf5d4a95a138bed23e4990e9a2cbb6032 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期三, 15 十一月 2023 09:00:36 +0800
Subject: [PATCH] 1

---
 WarM/仓库管理/Kf_SellOutBill_BarCodeNote.cs |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git "a/WarM/\344\273\223\345\272\223\347\256\241\347\220\206/Kf_SellOutBill_BarCodeNote.cs" "b/WarM/\344\273\223\345\272\223\347\256\241\347\220\206/Kf_SellOutBill_BarCodeNote.cs"
index fad273f..277071c 100644
--- "a/WarM/\344\273\223\345\272\223\347\256\241\347\220\206/Kf_SellOutBill_BarCodeNote.cs"
+++ "b/WarM/\344\273\223\345\272\223\347\256\241\347\220\206/Kf_SellOutBill_BarCodeNote.cs"
@@ -346,6 +346,17 @@
 
         private void sh_Click(object sender, EventArgs e)
         {
+            DataSet ds2 = oCn.RunProcReturn("exec h_p_Kf_CheckSellOutBill_CrediControl " + HInterID.ToString(), "h_p_Kf_CheckSellOutBill_CrediControl");
+            if (ds2 == null || ds2.Tables[0].Rows.Count == 0)
+            {
+                MessageBox.Show("瀹℃牳閿�鍞嚭搴撳崟锛屼俊鐢ㄦ帶鍒跺垽鏂敊璇紒", "鎻愮ず");
+                return;
+            }
+            else if (DBUtility.ClsPub.isLong(ds2.Tables[0].Rows[0][0]) == 1)
+            {
+                MessageBox.Show(DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HRemark"]), "鎻愮ず");
+                return;
+            }
             DataSet ds = oCn.RunProcReturn("exec h_p_Kf_SellOutBill_Check " + HInterID.ToString() + ",'" + HBillType + "','" + HMaker + "'", "h_p_Kf_SellOutBill_Check");
             if (ds == null || ds.Tables[0].Rows.Count == 0)
             {

--
Gitblit v1.9.1