

[16:59:17] [200] [http://test-trunk.zhcxkj.com/IrobotBox/Order/OrderFeeList.aspx?OrderCode=202204081358825358][10.158.158.2][10.158.158.2/IrobotBox/Order/OrderFeeList.aspx?OrderCode=202204081358825358]--Http_Referer[http://test-trunk.zhcxkj.com/IrobotBox/Order/OrderFeeList.aspx?OrderCode=202204081358825358]--Message: 输入字符串的格式不正确。--GetType(): FormatException--Source: mscorlib--StackTrace: 在 System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
在 System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)
在 System.Convert.ToDecimal(String value)
在 PandaBuy.ERP.Web.IrobotBox.Order.OrderFeeList.btnSave_Click(Object sender, EventArgs e)
在 System.Web.UI.WebControls.Button.OnClick(EventArgs e)
在 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

原因:之前的开发写 【添加其它费用】 功能时 form表单把整个页面包含进去了,回车时触发了表单提交事件,然后提交的参数【txtOrderFeeOther】没有做为空字符串判断,所以直接报错
解决方案:1. form表单 区域调整到【添加其它费用】功能范围,回车便不会触发表单提交
2.表单提交的参数【txtOrderFeeOther】做为空字符串判断