| | |
| | | |
| | | private void sh_Click(object sender, EventArgs e) |
| | | { |
| | | DataSet ds2 = oCn.RunProcReturn("exec h_p_Kf_CheckSellOutBill_CrediControl " + HInterID.ToString(), "h_p_Kf_CheckSellOutBill_CrediControl"); |
| | | if (ds2 == null || ds2.Tables[0].Rows.Count == 0) |
| | | { |
| | | MessageBox.Show("å®¡æ ¸éå®åºåºåï¼ä¿¡ç¨æ§å¶å¤æé误ï¼", "æç¤º"); |
| | | return; |
| | | } |
| | | else if (DBUtility.ClsPub.isLong(ds2.Tables[0].Rows[0][0]) == 1) |
| | | { |
| | | MessageBox.Show(DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HRemark"]), "æç¤º"); |
| | | return; |
| | | } |
| | | DataSet ds = oCn.RunProcReturn("exec h_p_Kf_SellOutBill_Check " + HInterID.ToString() + ",'" + HBillType + "','" + HMaker + "'", "h_p_Kf_SellOutBill_Check"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |