From 438e9cf23ce53d875ba180f16ca3f5513a769910 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期六, 11 五月 2024 15:39:41 +0800
Subject: [PATCH] 销售出库单:下查功能
---
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