设置方法如下 :
this.View.GetFieldEditor<DecimalFieldEditor>(“FAmount”, -1).Decimal = 2;
其中
FAmount为单据体
(或单据头
)中的一个字段,如果要设置整列,则把第二个参数行号设置为
-1。
this.View.GetFieldEditor<DecimalFieldEditor>(“FAmount”, -1).Decimal = 2;
其中
FAmount为单据体
(或单据头
)中的一个字段,如果要设置整列,则把第二个参数行号设置为
-1。
转载于:https://www.cnblogs.com/fyq891014/p/4188835.html