Browse Source

发票修改

master
lvzb 4 years ago
parent
commit
ffff469272
  1. 6
      SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx
  2. 19
      SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx.cs
  3. 4
      SCP/Views/锦州锦恒/WarehouseData/SCP_INVOICE_DELTAIL.aspx

6
SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx

@ -66,9 +66,9 @@
</f:FormRow>
<f:FormRow runat="server" ColumnWidths="25% 25% 25% 25%" ID="FormRow_3">
<Items>
<f:NumberBox ID="txtExtend1" runat="server" Label="实际税前金额" />
<f:NumberBox ID="txtExtend2" runat="server" Label="实际税额" />
<f:NumberBox ID="txtContractPrice1" runat="server" Label="折扣金额" />
<f:NumberBox ID="txtExtend1" runat="server" Label="实际税前金额" Readonly="true" Enabled="false"/>
<f:NumberBox ID="txtExtend2" runat="server" Label="实际税额" Readonly="true" Enabled="false"/>
<f:NumberBox ID="txtContractPrice1" runat="server" Label="折扣金额" Readonly="true" Enabled="false"/>
<f:NumberBox ID="txtBlancePrice1" runat="server" Label="调整税额" MaxValue="1" Hidden="true" />
<f:TextBox ID="txtRealTotal" runat="server" Label="开票金额" Text="" Readonly="true" Enabled="false" />
</Items>

19
SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx.cs

@ -214,11 +214,14 @@ namespace SCP.Views.锦州锦恒.SupplierData
txtInvoiceNumber.Required = true;
txtExpressNumber.Readonly = false;
txtContractPrice1.Readonly = false;
txtContractPrice1.Required = false;
txtContractPrice1.Required = true;
txtContractPrice1.Enabled = true;
txtExtend1.Readonly = false;
txtExtend1.Required = false;
txtExtend1.Required = true;
txtExtend1.Enabled = true;
txtExtend2.Readonly = false;
txtExtend2.Required = false;
txtExtend2.Enabled = true;
txtBlancePrice1.Readonly = false;
txtBlancePrice1.Required = false;
this.btnMail.Hidden = false;
@ -515,8 +518,16 @@ namespace SCP.Views.锦州锦恒.SupplierData
Alert.Show("发票时间必须填写,时间为纸质发票开票时间");
return;
}
if (_Invoice.Extend1 == 0)
{
Alert.Show("发票实际税前金额(纸质发票税前金额)必须填写!");
return;
}
if (_Invoice.Extend2 == 0)
{
Alert.Show("发票实际税额(纸质发票税额)必须填写!");
return;
}
}
var ret = SCP_INVOICE_CONTROLLER.SAVE_TB_INVOICE_STATE(_Invoice, p_state, CurrentUser.ChineseName);

4
SCP/Views/锦州锦恒/WarehouseData/SCP_INVOICE_DELTAIL.aspx

@ -10,11 +10,11 @@
<body>
<form id="form1" runat="server">
<f:PageManager runat="server" AutoSizePanelID="Panel1" />
<f:Panel ID="Panel1" runat="server" Title="" AutoScroll="True">
<f:Panel ID="Panel1" runat="server" Title="" Layout="VBox" BoxConfigAlign="Stretch" BoxConfigPosition="Start">
<Toolbars>
<f:Toolbar ID="Toolbar2" runat="server">
<Items>
<f:Button ID="btnEdit" runat="server" Text="修改数据" Enabled="true" OnClientClick="if(!confirm('是否要修改备注?'))return false;" Icon="ScriptSave" OnClick="btnEdit_OnClick">
<f:Button ID="btnEdit" runat="server" Text="修改数据" Enabled="true" OnClientClick="if(!confirm('是否要修改数据?'))return false;" Icon="ScriptSave" OnClick="btnEdit_OnClick">
</f:Button>
<f:Button ID="btnInvoiceFail" runat="server" Text="财务退回" Icon="BulletCross" OnClick="btnInvoiceFail_OnClick">
</f:Button>

Loading…
Cancel
Save