This commit is contained in:
PastSaid
2023-12-14 10:31:17 +08:00
parent 6d521d4bf9
commit a44ce28933
10 changed files with 673 additions and 83 deletions

View File

@@ -82,7 +82,7 @@ namespace UseGetFmaterialData
var referPrice = this.View.Model.GetValue("FReferPrice", e.Row).ToDecimalR();
var amount = (e.NewValue.ToDecimal() * referPrice).ToDecimalR();
//参考金额
this.View.Model.SetValue("FReferAmount", amount, e.Row);
this.View.Model.SetValue("FReferAmount", amount == 0 ? "" : amount.ToString(), e.Row);
//小数类型参考金额控件
//this.View.Model.SetValue("FReferAmountM", amount, e.Row);
TotalReferAmount(null, null);
@@ -218,7 +218,7 @@ namespace UseGetFmaterialData
////小数类型参考金额控件
//this.View.Model.SetValue("FReferAmountM", 0, row);
//参考方向
this.View.Model.SetValue("FExplain", "", row);
this.View.Model.SetValue("FExplain", "没有找到价格", row);
}
else
{
@@ -253,7 +253,7 @@ namespace UseGetFmaterialData
//小数类型参考金额控件
//this.View.Model.SetValue("FReferAmountM", 0, row);
//参考方向
this.View.Model.SetValue("FExplain", "", row);
this.View.Model.SetValue("FExplain", "没有找到价格", row);
}
}
}