From 612f93dba4a45edea9d0300a1977e66fe7ce355f Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期五, 26 八月 2022 16:41:15 +0800
Subject: [PATCH] WEBAPI采购入库上传方法增加递入组织、制单人

---
 WorkM/流转卡管理/MES_StationEntrustInBill.cs |   36 +++++++++++++++++++-----------------
 1 files changed, 19 insertions(+), 17 deletions(-)

diff --git "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationEntrustInBill.cs" "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationEntrustInBill.cs"
index 59ac710..dbc2232 100644
--- "a/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationEntrustInBill.cs"
+++ "b/WorkM/\346\265\201\350\275\254\345\215\241\347\256\241\347\220\206/MES_StationEntrustInBill.cs"
@@ -1192,6 +1192,7 @@
             if (e.KeyCode == Keys.Enter)
             {
                 cmdOK.Select();
+                txtHWWWorkOrderBillNo.Focus();
             }
         }
 
@@ -1342,23 +1343,23 @@
                     MessageBox.Show("娌℃湁褰曞叆娴佽浆鍗″彿鎴栬�呮祦姘村彿");
                     return;
                 }
-                //鏍规嵁宸ュ彿鑾峰彇濮斿宸ュ崟 鍙婂唴鐮侊紝瀛愬唴鐮�   
-                SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
-                DataSet ds;
-                ds = oCn.RunProcReturn("exec  h_p_WW_GetWWWorkBillInfoByNo '" + txtHWWWorkOrderBillNo.Text + "'," + lngBillKey.ToString() + "," + lngBillSubKey.ToString(), "h_p_WW_GetWWWorkBillInfoByNo");
-                if (ds == null)
-                {
-                    MessageBox.Show("娌℃湁鎵惧埌瀵瑰簲鐨勫澶栧伐鍗曪紒");
-                    return;
-                }
-                if (ds.Tables[0].Rows.Count > 0)
-                {
-                    txtHWWWorkOrderBillNo.Text = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBillNo"]);
-                    lngBillKey_WW = DBUtility.ClsPub.isLong(ds.Tables[0].Rows[0]["HInterID"]);
-                    lngBillSubKey_WW = DBUtility.ClsPub.isLong(ds.Tables[0].Rows[0]["HEntryID"]);
-                    txtHWWWorkOrderBillNo.Enabled = false;
-                }
-
+                ////鏍规嵁宸ュ彿鑾峰彇濮斿宸ュ崟 鍙婂唴鐮侊紝瀛愬唴鐮�   
+                //SQLHelper.ClsCN oCn = new SQLHelper.ClsCN();
+                //DataSet ds;
+                //ds = oCn.RunProcReturn("exec  h_p_WW_GetWWWorkBillInfoByNo '" + txtHWWWorkOrderBillNo.Text + "'," + lngBillKey.ToString() + "," + lngBillSubKey.ToString(), "h_p_WW_GetWWWorkBillInfoByNo");
+                //if (ds == null)
+                //{
+                //    MessageBox.Show("娌℃湁鎵惧埌瀵瑰簲鐨勫澶栧伐鍗曪紒");
+                //    return;
+                //}
+                //if (ds.Tables[0].Rows.Count > 0)
+                //{
+                //    txtHWWWorkOrderBillNo.Text = DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBillNo"]);
+                //    lngBillKey_WW = DBUtility.ClsPub.isLong(ds.Tables[0].Rows[0]["HInterID"]);
+                //    lngBillSubKey_WW = DBUtility.ClsPub.isLong(ds.Tables[0].Rows[0]["HEntryID"]);
+                //    txtHWWWorkOrderBillNo.Enabled = false;
+                //}
+                txtHRemark.Focus();
             }
         }
 
@@ -1482,5 +1483,6 @@
         {
             this.Sub_AddBill();
         }
+
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1