//采购单价
private void TextBox_buyprice_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar != '\b')
{
if ((e.KeyChar >= '0' && e.KeyChar <= '9'))
{
e.Handled = false;
}
else
{
e.Handled = true;
}
}
}