SVN r800
SVN-Revision: r800
This commit is contained in:
@@ -2177,6 +2177,15 @@ namespace Lskj.Control.Model
|
||||
}
|
||||
else
|
||||
{
|
||||
if (model != null && isDirectImport && (model.FieldType == ControlType.LabDate ||
|
||||
model.FieldType == ControlType.LabDateTime ||
|
||||
model.FieldType == ControlType.LabDateTimeShort ||
|
||||
model.FieldType == ControlType.LabTime ||
|
||||
model.FieldType == ControlType.LabShortTime)&& (cell == null || cell.CellType == CellType.Blank||string.IsNullOrWhiteSpace(cell+"")))
|
||||
{
|
||||
//日期框如果值是空,就直接跳过。赋空值("")会报错
|
||||
continue;
|
||||
}
|
||||
if (cell.CellType == CellType.Numeric)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user