SVN r730
SVN-Revision: r730
This commit is contained in:
@@ -3012,6 +3012,7 @@ namespace Lskj.Control.Model
|
|||||||
if (!isUpload)
|
if (!isUpload)
|
||||||
{
|
{
|
||||||
MessageUtil.Show($"自动上传失败\r\n{rtnMsg}");
|
MessageUtil.Show($"自动上传失败\r\n{rtnMsg}");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -3022,6 +3023,7 @@ namespace Lskj.Control.Model
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
MessageUtil.Show($"登录失败,自动上传失败");
|
MessageUtil.Show($"登录失败,自动上传失败");
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5955,4 +5957,30 @@ namespace Lskj.Control.Model
|
|||||||
LabelDateEdit dateEdit = controlObj as LabelDateEdit;
|
LabelDateEdit dateEdit = controlObj as LabelDateEdit;
|
||||||
value = dateEdit.TextEdit.EditValue == null ? dateEdit.EditText : dateEdit.TextEdit.DateTime.ToString("yyyy-MM-dd");
|
value = dateEdit.TextEdit.EditValue == null ? dateEdit.EditText : dateEdit.TextEdit.DateTime.ToString("yyyy-MM-dd");
|
||||||
}
|
}
|
||||||
else if
|
else if (controlObj is LabelCheckEdit)
|
||||||
|
{
|
||||||
|
LabelCheckEdit checkEdit = controlObj as LabelCheckEdit;
|
||||||
|
value = checkEdit.EditText;
|
||||||
|
}
|
||||||
|
else if (controlObj is LabelComboxEdit)
|
||||||
|
{
|
||||||
|
LabelComboxEdit autoEdit = controlObj as LabelComboxEdit;
|
||||||
|
value = autoEdit.EditValue;
|
||||||
|
}
|
||||||
|
else if (controlObj is LabelTextEdit)
|
||||||
|
{
|
||||||
|
LabelTextEdit textIntEdit = controlObj as LabelTextEdit;
|
||||||
|
if (textIntEdit != null) value = string.IsNullOrEmpty(textIntEdit.EditText) ? "0" : textIntEdit.EditText;
|
||||||
|
}
|
||||||
|
|
||||||
|
defaultValue = defaultValue.Replace(item, value);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return defaultValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user