From bba8650eb94f7b5a7341ab7b6268ef4d9ee62877 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期三, 20 十月 2021 15:16:13 +0800
Subject: [PATCH] 条码生成模块,增加选择源单:收料通知单

---
 SCM/条码打印/Gy_BarCodeBill.cs          |    4 ++--
 SCM/条码打印/Gy_BarCodeBill.designer.cs |    4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git "a/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.cs" "b/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.cs"
index 2285a01..a42b6b4 100644
--- "a/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.cs"
+++ "b/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.cs"
@@ -202,7 +202,7 @@
             //cmbSourceBillType.Items.Add("鐢熶骇璁㈠崟");
             //cmbSourceBillType.Items.Add("鐢熶骇姹囨姤鍗�");
             cmbSourceBillType.Items.Add("閲囪喘璁㈠崟");
-            //cmbSourceBillType.Items.Add("鏀舵枡閫氱煡鍗�");
+            cmbSourceBillType.Items.Add("鏀舵枡閫氱煡鍗�");
             //cmbSourceBillType.Items.Add("濮斿璁㈠崟");
             cmbSourceBillType.SelectedIndex = 0;
             //
@@ -2642,7 +2642,7 @@
             }
             else if (cmbSourceBillType.Text.Trim() == "鏀舵枡閫氱煡鍗�")
             {
-                sWhere = " and HOrgID =" + sHOrgID.ToString();
+                sWhere = " and HOrgID =" + sHOrgID.ToString() + " and HSupID = " + ClsPub1.HSupID;
                 SCM.Cls_S_IF_POInStockBillList oIF_POInStockBillList = new SCM.Cls_S_IF_POInStockBillList();
                 if (oIF_POInStockBillList.Refresh(sWhere))  //閫夋嫨鍘熷崟
                 {
diff --git "a/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.designer.cs" "b/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.designer.cs"
index 10bc73d..565ebc0 100644
--- "a/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.designer.cs"
+++ "b/SCM/\346\235\241\347\240\201\346\211\223\345\215\260/Gy_BarCodeBill.designer.cs"
@@ -289,12 +289,14 @@
             this.kc.Text = "搴撳瓨";
             this.kc.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
             this.kc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.kc.Visible = false;
             this.kc.Click += new System.EventHandler(this.kc_Click);
             // 
             // toolStripSeparator3
             // 
             this.toolStripSeparator3.Name = "toolStripSeparator3";
             this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50);
+            this.toolStripSeparator3.Visible = false;
             // 
             // tb
             // 
@@ -309,12 +311,14 @@
             this.tb.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
             this.tb.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
             this.tb.ToolTipText = "鍚屾鍩虹璧勬枡";
+            this.tb.Visible = false;
             this.tb.Click += new System.EventHandler(this.tb_Click);
             // 
             // toolStripSeparator5
             // 
             this.toolStripSeparator5.Name = "toolStripSeparator5";
             this.toolStripSeparator5.Size = new System.Drawing.Size(6, 50);
+            this.toolStripSeparator5.Visible = false;
             // 
             // tc
             // 

--
Gitblit v1.9.1