| | |
| | | } |
| | | |
| | | |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(txtHMaterID.Text) == "3.01.0211" && DBUtility.ClsPub.isStrNull(txtHProcID.Text) == "æåæ£éª") |
| | | { |
| | | string HMXH = ""; |
| | | string HZM = ""; |
| | | string HZM2 = ""; |
| | | string HZM3 = ""; |
| | | HMXH = DBUtility.ClsPub.isStrNull(txtHMouldNum.Text); |
| | | HZM = HMXH.Substring(0, 1); |
| | | HZM2 = HMXH.Substring(2, 1); |
| | | HZM3 = HMXH.Substring(3, 1); |
| | | if (HZM != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM2 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM3 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第åä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(txtHMaterID.Text) == "3.01.0266" && DBUtility.ClsPub.isStrNull(txtHProcID.Text) == "æåæ£éª") |
| | | { |
| | | string HMXH = ""; |
| | | string HZM = ""; |
| | | string HZM2 = ""; |
| | | string HZM3 = ""; |
| | | HMXH = DBUtility.ClsPub.isStrNull(txtHMouldNum.Text); |
| | | HZM = HMXH.Substring(0, 1); |
| | | HZM2 = HMXH.Substring(2, 1); |
| | | HZM3 = HMXH.Substring(3, 1); |
| | | if (HZM != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM2 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM3 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第åä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(txtHMaterID.Text) == "3.01.0267" && DBUtility.ClsPub.isStrNull(txtHProcID.Text) == "æåæ£éª") |
| | | { |
| | | string HMXH = ""; |
| | | string HZM = ""; |
| | | string HZM2 = ""; |
| | | string HZM3 = ""; |
| | | HMXH = DBUtility.ClsPub.isStrNull(txtHMouldNum.Text); |
| | | HZM = HMXH.Substring(0, 1); |
| | | HZM2 = HMXH.Substring(2, 1); |
| | | HZM3 = HMXH.Substring(3, 1); |
| | | if (HZM != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM2 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第ä¸ä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | if (HZM3 != "0") |
| | | { |
| | | MessageBox.Show("模穴å·é误第åä½è¯·éæ°è¾å
¥0"); |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | |
| | | //å¿
è¾é¡¹ç®æ¯å¦ä¸ºç©º |
| | | |
| | | if (DBUtility.ClsPub.isLong(lngBillKey) <= 0) |