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