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 @@
- + - +