SVN r702
SVN-Revision: r702
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Lskj.PubBomImport
|
||||
public string PupupMenuId = "";
|
||||
public string MenuName = "";
|
||||
public string FirstRowIndex = "";
|
||||
public string SpecialValueIndex = "";
|
||||
public string MainFieldDic = "";
|
||||
public string SheetName = "";
|
||||
/// <summary>
|
||||
/// 读取筛选条件
|
||||
@@ -109,7 +109,7 @@ namespace Lskj.PubBomImport
|
||||
}
|
||||
if (args.Length > 8 && !string.IsNullOrWhiteSpace(args[8]))
|
||||
{
|
||||
SpecialValueIndex = args[8] + "";
|
||||
MainFieldDic = args[8] + "";
|
||||
}
|
||||
if (args.Length > 9 && !string.IsNullOrWhiteSpace(args[9]))
|
||||
{
|
||||
|
||||
@@ -859,8 +859,8 @@ namespace Lskj.PubBomImport
|
||||
string fileName = importFileName = dialog.FileName;
|
||||
tipsEdit.Text = string.Format("当前读取文件:{0},请绑定列后点击导入", Path.GetFileName(fileName));
|
||||
string colFields = this.gcMain.GridView.Columns.ToString(',');
|
||||
string[] indexArray = Model.SpecialValueIndex.Split(',');
|
||||
if (!string.IsNullOrWhiteSpace(Model.SpecialValueIndex) && indexArray.Length == 2)
|
||||
string[] indexArray = "".Split(',');
|
||||
if (!string.IsNullOrWhiteSpace("") && indexArray.Length == 2)
|
||||
{
|
||||
int rowIndex = int.TryParse(indexArray[0], out rowIndex) ? rowIndex : 0;
|
||||
int colIndex = int.TryParse(indexArray[1], out colIndex) ? colIndex : 0;
|
||||
|
||||
Reference in New Issue
Block a user