Browse Source

保留6位

SCP_CYJ
钱峰 4 weeks ago
parent
commit
6e04bf0338
  1. 12
      Models/ScpEntities.cs
  2. 2
      SCP/Views/富维冲压件/SCP_PO_MAX_DETAIL.aspx

12
Models/ScpEntities.cs

@ -303,7 +303,7 @@ namespace CK.SCP.Models
.HasPrecision(18, 2);
modelBuilder.Entity<TS_UNI_API>()
.Property(e => e.Price)
.HasPrecision(18, 5);
.HasPrecision(18, 6);
modelBuilder.Entity<TS_UNI_API>()
.Property(e => e.TaxAmt)
.HasPrecision(18, 5);
@ -351,19 +351,19 @@ namespace CK.SCP.Models
.HasPrecision(18, 6);
modelBuilder.Entity<TB_MAXPO_DETAIL>()
.Property(e => e.ReductionQtyOne)
.HasPrecision(18, 5);
.HasPrecision(18, 6);
modelBuilder.Entity<TB_MAXPO_DETAIL>()
.Property(e => e.ReductionQtyTwo)
.HasPrecision(18, 5);
.HasPrecision(18, 6);
modelBuilder.Entity<TB_MAXPO_DETAIL>()
.Property(e => e.ReductionQtyThree)
.HasPrecision(18, 5);
.HasPrecision(18, 6);
modelBuilder.Entity<TB_MAXPO_DETAIL>()
.Property(e => e.ReductionQtyFour)
.HasPrecision(18, 5);
.HasPrecision(18, 6);
modelBuilder.Entity<TB_MAXPO_DETAIL>()
.Property(e => e.ReductionQtyFive)
.HasPrecision(18, 5);
.HasPrecision(18, 6);
}
}
}

2
SCP/Views/富维冲压件/SCP_PO_MAX_DETAIL.aspx

@ -49,7 +49,7 @@
<f:RenderField Width="100px" ColumnID="ReductionQty" DataField="ReductionQty" FieldType="Float" HeaderText="单次削减量(吨)">
<Editor>
<f:NumberBox ID="NumberBox2" runat="server" MinValue="-99999999" MaxValue="0" DecimalPrecision="5">
<f:NumberBox ID="NumberBox2" runat="server" MinValue="-99999999" MaxValue="0" DecimalPrecision="6">
</f:NumberBox>
</Editor>
</f:RenderField>

Loading…
Cancel
Save