Browse Source

DataFormatString属性修改

master
TML 4 years ago
parent
commit
41f7afae3a
  1. 2
      SCP/Views/WarehouseData/SCP_INVOICE_CONFIRM.aspx
  2. 12
      SCP/Views/WarehouseData/SCP_INVOICE_CONFIRM_DETAIL.aspx
  3. 20
      SCP/Views/WarehouseData/SCP_INVOICE_DELTAIL.aspx
  4. 6
      SCP/Views/WarehouseData/SCP_INVOICE_VIEW.aspx
  5. 12
      SCP/Views/WarehouseData/SCP_INVOICE_VIEW_DETAIL.aspx
  6. 6
      SCP/Views/WarehouseData/SCP_INVOICE_VIEW_DETAIL.aspx.designer.cs

2
SCP/Views/WarehouseData/SCP_INVOICE_CONFIRM.aspx

@ -102,7 +102,7 @@
<f:BoundField runat="server" HeaderText="金额(不含税)" ColumnID="" DataField="Amount" DataFormatString = "{0:F}"/>
<f:BoundField runat="server" HeaderText="采购金额(不含税)" ColumnID="" DataField="PurCost" DataFormatString = "{0:F}"/>
<f:BoundField runat="server" HeaderText="成本金额(不含税)" ColumnID="" DataField="StdCost" DataFormatString = "{0:F}"/>
<f:BoundField runat="server" HeaderText="税率" ColumnID="" DataField="Tax" DataFormatString = "{0:F}"/>
<f:BoundField runat="server" HeaderText="税率" ColumnID="" DataField="Tax" DataFormatString = "{0:F}" />
<f:BoundField runat="server" HeaderText="税额" ColumnID="" DataField="TaxAmount" DataFormatString = "{0:F}"/>
<f:BoundField runat="server" HeaderText="税后金额" ColumnID="" DataField="Total" DataFormatString = "{0:F}"/>
<f:BoundField runat="server" HeaderText="折扣金额" ColumnID="" DataField="DiscountPrice" DataFormatString = "{0:F}"/>

12
SCP/Views/WarehouseData/SCP_INVOICE_CONFIRM_DETAIL.aspx

@ -47,7 +47,7 @@
</f:FormRow>
<f:FormRow runat="server" ColumnWidths="20% 20% 20% 20% 20%">
<Items>
<f:TextBox ID="txtAmount" runat="server" Label="税前金额" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}"/>
<f:TextBox ID="txtAmount" runat="server" Label="税前金额" Text="" MaxLength="100" Readonly="true" Enabled="false" />
<%-- <f:TextBox ID="txtTax" runat="server" Label="税率" Text="" MaxLength="100" >
</f:TextBox>--%>
@ -56,9 +56,9 @@
<f:ListItem Text="0.13" Value="0.13" />
<f:ListItem Text="0" Value="0" />
</f:DropDownList>
<f:TextBox ID="txtTaxAmount" runat="server" Label="税额" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}">
<f:TextBox ID="txtTaxAmount" runat="server" Label="税额" Text="" MaxLength="100" Readonly="true" Enabled="false" >
</f:TextBox>
<f:TextBox ID="txtTotal" runat="server" Label="税后金额" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}"/>
<f:TextBox ID="txtTotal" runat="server" Label="税后金额" Text="" MaxLength="100" Readonly="true" Enabled="false" />
<f:Label runat="server" ID="Label2" />
</Items>
@ -69,9 +69,9 @@
</f:TextBox>
<f:TextBox ID="txtExpressNumber" runat="server" Label="快递单号" Text="" MaxLength="100" Readonly="true">
</f:TextBox>
<f:NumberBox ID="txtDiscountPrice" runat="server" Label="折扣金额" DataFormatString = "{0:F}" />
<f:TextBox ID="txtContractPrice1" runat="server" Label="索赔金额" Text="0" MaxLength="100" DataFormatString = "{0:F}"/>
<f:TextBox ID="txtBlancePrice1" runat="server" Label="调整税额" Text="0" MaxLength="100" DataFormatString = "{0:F}"/>
<f:NumberBox ID="txtDiscountPrice" runat="server" Label="折扣金额" />
<f:TextBox ID="txtContractPrice1" runat="server" Label="索赔金额" Text="0" MaxLength="100" />
<f:TextBox ID="txtBlancePrice1" runat="server" Label="调整税额" Text="0" MaxLength="100" />
</Items>
</f:FormRow>

20
SCP/Views/WarehouseData/SCP_INVOICE_DELTAIL.aspx

@ -43,12 +43,12 @@
</f:FormRow>
<f:FormRow runat="server" ColumnWidths="20% 20% 20% 20% 20%">
<Items>
<f:TextBox ID="txtAmount" runat="server" Label="金额" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}" />
<f:TextBox ID="txtTax" runat="server" Label="税率" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}">
<f:TextBox ID="txtAmount" runat="server" Label="金额" Text="" MaxLength="100" Readonly="true" Enabled="false" />
<f:TextBox ID="txtTax" runat="server" Label="税率" Text="" MaxLength="100" Readonly="true" Enabled="false" >
</f:TextBox>
<f:TextBox ID="txtTaxAmount" runat="server" Label="税额" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}">
<f:TextBox ID="txtTaxAmount" runat="server" Label="税额" Text="" MaxLength="100" Readonly="true" Enabled="false" >
</f:TextBox>
<f:TextBox ID="txtTotal" runat="server" Label="税后金额" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}"/>
<f:TextBox ID="txtTotal" runat="server" Label="税后金额" Text="" MaxLength="100" Readonly="true" Enabled="false" />
<f:Label runat="server" ID="Label2" />
</Items>
</f:FormRow>
@ -56,9 +56,9 @@
<Items>
<f:TextBox ID="txtInvoiceNumber" runat="server" Label="金税票号" Text="" MaxLength="100" Readonly="true">
</f:TextBox>
<f:NumberBox ID="txtDiscountPrice" runat="server" Label="折扣金额" Readonly="true" DataFormatString = "{0:F}"/>
<f:NumberBox ID="txtContractPrice1" runat="server" Label="索赔金额" Readonly="true" DataFormatString = "{0:F}"/>
<f:NumberBox ID="txtBlancePrice1" runat="server" Label="调整税额" MaxValue="1" DataFormatString = "{0:F}"/>
<f:NumberBox ID="txtDiscountPrice" runat="server" Label="折扣金额" Readonly="true" />
<f:NumberBox ID="txtContractPrice1" runat="server" Label="索赔金额" Readonly="true" />
<f:NumberBox ID="txtBlancePrice1" runat="server" Label="调整税额" MaxValue="1" />
<f:Label runat="server" ID="Label1" />
</Items>
</f:FormRow>
@ -66,7 +66,7 @@
<Items>
<f:TextBox ID="txtExpressNumber" runat="server" Label="快递单号" Text="" MaxLength="100" Readonly="true">
</f:TextBox>
<f:Label runat="server" ID="txtTAXOLD" Label="ERP税额"></f:Label>
<f:Label runat="server" ID="txtTAXOLD" Label="ERP税额" ></f:Label>
<%-- <f:Label runat="server" ID ="txtTAXDIS" Label="税金差额" ShowRedStar="true"></f:Label>--%>
<f:DatePicker runat="server" ID ="dpUpdateTime" Label="发票时间"></f:DatePicker>
<f:TextBox ID="txtMemo" runat="server" Label="备注" Text="" MaxLength="100">
@ -105,8 +105,8 @@
</f:RenderField>
<%-- <f:BoundField SortField="Price" DataField="Price" HeaderText="单价" ColumnID="PlanQty" Width="80px" />--%>
<f:BoundField SortField="PurCost" runat="server" HeaderText="采购价格(未含税)" ColumnID="PurCost" DataField="PurCost" />
<f:BoundField SortField="StdCost" runat="server" HeaderText="成本价格(未含税)" ColumnID="StdCost" DataField="StdCost" />
<f:BoundField SortField="PurCost" runat="server" HeaderText="采购价格(未含税)" ColumnID="PurCost" DataField="PurCost" DataFormatString = "{0:F}"/>
<f:BoundField SortField="StdCost" runat="server" HeaderText="成本价格(未含税)" ColumnID="StdCost" DataField="StdCost" DataFormatString = "{0:F}"/>
<f:BoundField SortField="UpdateTime" runat="server" HeaderText="收货日期" ColumnID="" DataField="UpdateTime" />
<%--<f:BoundField SortField="Qty" DataField="Qty" HeaderText="开票数量" ColumnID="OpenQty" Width="80px" />--%>

6
SCP/Views/WarehouseData/SCP_INVOICE_VIEW.aspx

@ -101,10 +101,10 @@
<f:BoundField runat="server" HeaderText="金额" ColumnID="Amount" DataField="Amount" DataFormatString = "{0:F}"/>
<f:BoundField runat="server" HeaderText="税率" ColumnID="Tax" DataField="Tax" DataFormatString = "{0:F}"/>
<f:BoundField runat="server" HeaderText="税额" ColumnID="TaxAmount" DataField="TaxAmount" DataFormatString = "{0:F}"/>
<f:BoundField runat="server" HeaderText="合同价格" ColumnID="ContractPrice" DataField="ContractPrice" />
<f:BoundField runat="server" HeaderText="合同差额" ColumnID="BlancePrice" DataField="BlancePrice"/>
<f:BoundField runat="server" HeaderText="合同价格" ColumnID="ContractPrice" DataField="ContractPrice" DataFormatString = "{0:F}"/>
<f:BoundField runat="server" HeaderText="合同差额" ColumnID="BlancePrice" DataField="BlancePrice" DataFormatString = "{0:F}"/>
<%--<f:BoundField runat="server" HeaderText="开票金额" ColumnID="" DataField="Total" />--%>
<f:TemplateField HeaderText="开票金额" Width="120px">
<f:TemplateField HeaderText="开票金额" Width="120px" >
<ItemTemplate>
<input type="hidden" class="price" runat="server" value='<%# Eval("Total") %>' />
<asp:Label runat="server" DataField="Total" Text='<%# Eval("Total") %>'></asp:Label>

12
SCP/Views/WarehouseData/SCP_INVOICE_VIEW_DETAIL.aspx

@ -50,16 +50,16 @@
</f:FormRow>
<f:FormRow runat="server" ColumnWidths="33% 33% 33%">
<Items>
<f:TextBox ID="txtAmount" runat="server" Label="金额" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}"/>
<f:TextBox ID="txtTax" runat="server" Label="税率" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}">
<f:TextBox ID="txtAmount" runat="server" Label="金额" Text="" MaxLength="100" Readonly="true" Enabled="false" />
<f:TextBox ID="txtTax" runat="server" Label="税率" Text="" MaxLength="100" Readonly="true" Enabled="false">
</f:TextBox>
<f:TextBox ID="txtTaxAmount" runat="server" Label="税额" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}">
<f:TextBox ID="txtTaxAmount" runat="server" Label="税额" Text="" MaxLength="100" Readonly="true" Enabled="false" >
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow runat="server" ColumnWidths="33% 33% 33%">
<Items>
<f:TextBox ID="txtTotal" runat="server" Label="开票金额" Text="" MaxLength="100" Readonly="true" Enabled="false" DataFormatString = "{0:F}"/>
<f:TextBox ID="txtTotal" runat="server" Label="开票金额" Text="" MaxLength="100" Readonly="true" Enabled="false" />
<f:TextBox ID="txtMemo" runat="server" Label="备注" Text="" MaxLength="100">
</f:TextBox>
<f:Label ID="TextBox2" runat="server" Text="">
@ -83,8 +83,8 @@
<f:BoundField SortField="PartDesc1" DataField="PartDesc1" HeaderText="零件名称" ColumnID="CurrencyCode" Width="200px" />
<f:BoundField SortField="Currency" DataField="Currency" HeaderText="币种" ColumnID="Price" Width="80px" />
<f:BoundField SortField="Price" DataField="Price" HeaderText="单价" ColumnID="PlanQty" Width="80px" />
<f:BoundField SortField="ContractPrice" runat="server" HeaderText="合同价格" Hidden="true" ColumnID="" DataField="ContractPrice" />
<f:BoundField SortField="BlancePrice" runat="server" HeaderText="合同差额" Hidden="true" ColumnID="" DataField="BlancePrice" />
<f:BoundField SortField="ContractPrice" runat="server" HeaderText="合同价格" Hidden="true" ColumnID="" DataField="ContractPrice" DataFormatString = "{0:F}"/>
<f:BoundField SortField="BlancePrice" runat="server" HeaderText="合同差额" Hidden="true" ColumnID="" DataField="BlancePrice" DataFormatString = "{0:F}"/>
<f:BoundField SortField="BeginTime" runat="server" HeaderText="要货日期" Hidden="true" ColumnID="" DataField="BeginTime" />
<f:BoundField SortField="Qty" DataField="Qty" HeaderText="开票数量" ColumnID="OpenQty" Width="80px" />

6
SCP/Views/WarehouseData/SCP_INVOICE_VIEW_DETAIL.aspx.designer.cs

@ -7,10 +7,12 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace SCP.WarehouseData {
namespace SCP.WarehouseData
{
public partial class SCP_INVOICE_VIEW_DETAIL {
public partial class SCP_INVOICE_VIEW_DETAIL
{
/// <summary>
/// form1 控件。

Loading…
Cancel
Save