/// <summary> /// 获取优惠金额 /// </summary> public void GetfaoverFee() { if (zyPatlist != null) { Op_PatFee.SetfaoverFee(ref patFee, 0); HIS_PublicManager.FrmCostFavorable frmcf = new HIS_PublicManager.FrmCostFavorable(); frmcf.ShowDialog(); Op_PatFee.SetfaoverFee(ref patFee, frmcf.outFee); IfrmCostView.patFee = patFee; } }
/// <summary> /// 获取记账金额 /// </summary> public void GetvillageFee() { if (zyPatlist != null) { Op_PatFee.SetvillageFee(ref patFee, 0); decimal selfFee = patFee.costFee - zyCostMaster.GetPatSelfFee(zyPatlist.PatListID); HIS_PublicManager.FrmCostCalculate frmcc = new HIS_PublicManager.FrmCostCalculate(zyPatlist.PatListID, patFee.costFee, selfFee, dgFee); frmcc.ShowDialog(); Op_PatFee.SetvillageFee(ref patFee, frmcc.CalResult); // _patType = frmcc.CalType; WorkUnit = frmcc.WorkUnit == null ? "" : frmcc.WorkUnit; workUnit_Fee = frmcc.workUnit_Fee; IfrmCostView.patFee = patFee; } }