From 5a517fbdc48beb4eb8291ec18452e11fcbf9da7a Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期四, 07 三月 2024 11:42:16 +0800
Subject: [PATCH] 1

---
 WarM/仓库管理/Kf_SellOutBill_BarCodeNote.cs |   13 +++++++++++++
 1 files changed, 13 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 d203224..e775084 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"
@@ -325,6 +325,8 @@
                 txtHMoney.Text = DSet.Tables[0].Rows[0]["鏈崟閲戦"].ToString();
                 txtHCreditDifference.Text = DSet.Tables[0].Rows[0]["淇$敤宸"].ToString();
                 HInterID = DBUtility.ClsPub.isLong(DSet.Tables[0].Rows[0]["HInterID"]);
+                txtHMaker.Text = DSet.Tables[0].Rows[0]["鍒跺崟浜�"].ToString();
+                txtHChecker.Text = DSet.Tables[0].Rows[0]["瀹℃牳浜�"].ToString();
 
                 //杩斿洖鍩烘湰淇℃伅銆佺爜鍗曚俊鎭�
                 grdMain.DataSource = DSet.Tables[1].DefaultView;
@@ -401,6 +403,7 @@
             else
             {
                 cmbHBillStatus.Text="宸插鏍�";
+                txtHChecker.Text = HMaker.ToString();
                 sh.Enabled = false;
                 fsh.Enabled = true;
                 pic1.Visible = true;
@@ -415,9 +418,15 @@
         #region  //鍙嶅鏍搁攢鍞嚭搴撳崟
         private void fsh_Click(object sender, EventArgs e)
         {
+            if(HInterID==0)
+            {
+                MessageBox.Show("璇峰厛閫夋嫨瀵瑰簲閿�鍞嚭搴撳崟锛�", "鎻愮ず");
+                return;
+            }
             if (BillOld.AbandonCheck(HInterID, ref DBUtility.ClsPub.sExeReturnInfo) == true)
             {
                 cmbHBillStatus.Text = "鍒涘缓";
+                txtHChecker.Text = "";
                 sh.Enabled = true;
                 fsh.Enabled = false;
                 pic1.Visible = false;
@@ -505,6 +514,8 @@
                 Report.FieldByName("鍗曟嵁鐘舵��").AsString = cmbHBillStatus.Text;
                 Report.FieldByName("鏈崟閲戦").AsString = txtHMoney.Text;
                 Report.FieldByName("淇$敤宸").AsString = txtHCreditDifference.Text;
+                Report.FieldByName("鍒跺崟浜�").AsString = txtHMaker.Text;
+                Report.FieldByName("瀹℃牳浜�").AsString = txtHChecker.Text;
             }
             catch (Exception e)
             {
@@ -586,6 +597,8 @@
                 Report.FieldByName("鍗曟嵁鐘舵��").AsString = cmbHBillStatus.Text;
                 Report.FieldByName("鏈崟閲戦").AsString = txtHMoney.Text;
                 Report.FieldByName("淇$敤宸").AsString = txtHCreditDifference.Text;
+                Report.FieldByName("鍒跺崟浜�").AsString = txtHMaker.Text;
+                Report.FieldByName("瀹℃牳浜�").AsString = txtHChecker.Text;
             }
             catch (Exception e)
             {

--
Gitblit v1.9.1