private void txtPumpNum_TextChanged(object sender, EventArgs e)
{
//获取发货方量
decimal SendNumber = Convert.ToDecimal(txtSendNumber.Text.Trim() == "" ? "0" : txtSendNumber.Text.Trim());
decimal pumNum = Convert.ToDecimal(txtPumpNum.Text.Trim() == "" ? "0" : txtPumpNum.Text.Trim());
if (pumNum> SendNumber)
{
MessageBox.Show("已超出发货方量");
txtPumpNum.Text = "0";
}
}