| | |
| | | ",0,0,0,0,0,0,0,0,0" + |
| | | ",0,0,''," + sHBarCodeInterID.ToString() + "," + HStockOrgID.ToString() + |
| | | ") "); |
| | | } |
| | | |
| | | ////åå¡«æµè½¬å¡å
³èæ°é |
| | | //oCn.RunProc("exec h_p_Mes_ProcessExchangeRelationQty_Out " + sInterID + ",1"); |
| | | } |
| | | //åå¡«å·²çåç¶æ |
| | | oCn.RunProc("Update KF_BCPWeighSource_Temp set HRelationInterID=1 where HInterID= " + HInterID.ToString()); |
| | | MessageBox.Show("çæå·¥åºåºç«æ±æ¥åæåï¼", "æç¤º"); |
| | |
| | | MessageBox.Show("请è¾å
¥å
å·ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | else if (DBUtility.ClsPub.isDoule(txtHProcID.Tag) == 0) |
| | | else if (DBUtility.ClsPub.isLong(txtHProcID.Tag) == 0) |
| | | { |
| | | MessageBox.Show("请å
鿩工åºï¼", "æç¤º"); |
| | | MessageBox.Show("å·¥åºä¸å
许为空ï¼è¯·å
è¾å
¥æµæ°´å·åå车确认ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | else if (DBUtility.ClsPub.isInt(txtHProcNo.Text) == 0) |
| | | { |
| | | MessageBox.Show("请è¾å
¥æ£ç¡®æµæ°´å·ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | else if (DBUtility.ClsPub.isLong(txtHSourceID.Tag) == 0) |
| | | { |
| | | MessageBox.Show("çäº§èµæºä¸å
许为空ï¼è¯·å
éæ©çäº§èµæºï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | |
| | |
| | | { |
| | | if (e.KeyCode == Keys.Return) |
| | | { |
| | | if (txtHProcNo.Text == "") |
| | | if (DBUtility.ClsPub.isLong(txtHProcNo.Text) == 0) |
| | | { |
| | | MessageBox.Show("æµæ°´å·ä¸ºç©ºï¼è¯·è¾å
¥æµæ°´å·ï¼"); |
| | | MessageBox.Show("æµæ°´å·ä¸ºç©ºææè¾å
¥æµæ°´å·ä¸æ£ç¡®ï¼è¯·éæ°è¾å
¥æµæ°´å·ï¼"); |
| | | return; |
| | | } |
| | | //æ ¹æ®è½¬å¡ä¸»IDãæµæ°´å·å¸¦åºæµè½¬å¡ä¸ç¸åºå·¥åºãçç»ãå·¥ä½ä¸å¿ãçäº§èµæº |
| | | DataSet Ds = oCn.RunProcReturn("exec h_p_KF_GetBCPWeighSource_HProcNo " + HProcessExchangeInterID.ToString() + "," + txtHProcNo.Text, "h_p_KF_GetBCPWeighSource_HProcNo"); |
| | | DataSet Ds = oCn.RunProcReturn("exec h_p_KF_GetBCPWeighSource_HProcNo2 " + HProcessExchangeInterID.ToString() + "," + DBUtility.ClsPub.isLong(txtHProcNo.Text) + ",'" + DBUtility.ClsPub.CurUserID + "'", "h_p_KF_GetBCPWeighSource_HProcNo2"); |
| | | if (Ds == null || Ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | txtHProcNo.Text = ""; |
| | |
| | | txtHGroupID.Text = ""; |
| | | txtHSourceID.Tag = 0; |
| | | txtHSourceID.Text = ""; |
| | | MessageBox.Show("æè¾å
¥æµæ°´å·ä¸å¨å½åå·¥åºæµè½¬å¡ä¸ï¼è¯·éæ°è¾å
¥æµæ°´å·ï¼"); |
| | | MessageBox.Show("æè¾å
¥æµæ°´å·ä¸å¨å½åå·¥åºæµè½¬å¡ä¸æç¨æ·æªå
³èè¯¥æµæ°´å·æå¯¹åºç¸å
³å·¥åºï¼è¯·éæ°è¾å
¥æµæ°´å·ï¼"); |
| | | return; |
| | | } |
| | | else |