|
|
@ -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); |
|
|
|