From ffff469272d3223f572947799015c11c3b5da7b1 Mon Sep 17 00:00:00 2001 From: lvzb <35200379@qq.com> Date: Fri, 9 Oct 2020 15:36:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SupplierData/SCP_INVOICE_EDIT.aspx | 6 +++--- .../SupplierData/SCP_INVOICE_EDIT.aspx.cs | 19 +++++++++++++++---- .../WarehouseData/SCP_INVOICE_DELTAIL.aspx | 4 ++-- 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx b/SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx index 9ad6a99..b992ebc 100644 --- a/SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx +++ b/SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx @@ -66,9 +66,9 @@ - - - + + + diff --git a/SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx.cs b/SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx.cs index c9b69d5..1be817f 100644 --- a/SCP/Views/锦州锦恒/SupplierData/SCP_INVOICE_EDIT.aspx.cs +++ b/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); diff --git a/SCP/Views/锦州锦恒/WarehouseData/SCP_INVOICE_DELTAIL.aspx b/SCP/Views/锦州锦恒/WarehouseData/SCP_INVOICE_DELTAIL.aspx index d47d8c7..77e33ba 100644 --- a/SCP/Views/锦州锦恒/WarehouseData/SCP_INVOICE_DELTAIL.aspx +++ b/SCP/Views/锦州锦恒/WarehouseData/SCP_INVOICE_DELTAIL.aspx @@ -10,11 +10,11 @@
- + - +