string FSerialNumber = this.View.Model.GetValue("F_ddddddd")?.ToString();
上述方法在BOS平台生成报错。修改为:
//获取当前编码
string number = this.View.Model.GetValue("FBILLNO").IsNullOrEmpty() ? "" : this.View.Model.GetValue("FBILLNO").ToString();
string FSerialNumber = this.View.Model.GetValue("F_ddddddd")?.ToString();
上述方法在BOS平台生成报错。修改为:
//获取当前编码
string number = this.View.Model.GetValue("FBILLNO").IsNullOrEmpty() ? "" : this.View.Model.GetValue("FBILLNO").ToString();