//返回退税手续费 public static decimal Refund_Fee(string Refund_StepR, decimal Money_Refund_VAT, decimal Money_Product) { double Money_Refund_VAT_ = Convert.ToDouble(Money_Refund_VAT); try { if (Refund_StepR != null) { List <BaseConfigStepR> stepRs = B_BaseConfig.StepR(Refund_StepR); if (stepRs.Count > 0) { foreach (BaseConfigStepR stepR in stepRs) { if (Money_Product > stepR.S) { double R = Convert.ToDouble(stepR.R); return(Convert.ToDecimal(Math.Pow(Money_Refund_VAT_, R))); } } } } } catch { return(0); } return(0); }