DataTable dt = operateTable.Clone();
dt.Columns.Remove("prodname");
foreach (DataRow row in operateTable.Rows)
{
DataRow dr = dt.NewRow();
dr["planid"] = row["planid"];
dr["prodid"] = row["prodid"];
dr["num"] = row["num"];
dr["realnum"] = row["realnum"];
dt.Rows.Add(dr);
}
dt.TableName = "products";
booleRes = pda.FinishSPCPlan(ModuleID, pid, (int)eps,
dt, ClientContext.CurrentUser.UID,
ClientContext.PLATFORM, Environment.OSVersion.ToString(), SysHelper.IP);