|
@ -2114,12 +2114,10 @@ namespace QMAPP.WinForm.Forms.TianJin |
|
|
dt.Columns.Add("CP5A"); |
|
|
dt.Columns.Add("CP5A"); |
|
|
dt.Columns.Add("PRODUCTIONNAME"); |
|
|
dt.Columns.Add("PRODUCTIONNAME"); |
|
|
dt.Columns.Add("LINENO"); |
|
|
dt.Columns.Add("LINENO"); |
|
|
dt.Columns.Add("MbConfig"); |
|
|
|
|
|
dt.Columns.Add("MbOrientation"); |
|
|
|
|
|
dt.Columns.Add("CreateTime"); |
|
|
|
|
|
int index = 1; |
|
|
int index = 1; |
|
|
|
|
|
|
|
|
QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent(); |
|
|
QMAPP.ServicesAgent.ServiceAgent agent = ClientContext.GetServiceAgent(); |
|
|
|
|
|
//DataTable tbl = agent.InvokeServiceFunction<DataTable>(QMAPP.ServicesAgent.FrmPlaceManage.FrmPlaceBLL_GetPastecardDeatis.ToString());
|
|
|
DataTable tbl = agent.InvokeServiceFunction<DataTable>(QMAPP.ServicesAgent.FrmPlaceManage.TJFrmPlaceBLL_GetPascardDetailsByPid.ToString(), nfpastecard.PASTE_CARD_KEY); |
|
|
DataTable tbl = agent.InvokeServiceFunction<DataTable>(QMAPP.ServicesAgent.FrmPlaceManage.TJFrmPlaceBLL_GetPascardDetailsByPid.ToString(), nfpastecard.PASTE_CARD_KEY); |
|
|
|
|
|
|
|
|
//index = Convert.ToInt32(tbl.Rows[0][0].ToString());
|
|
|
//index = Convert.ToInt32(tbl.Rows[0][0].ToString());
|
|
@ -2145,13 +2143,6 @@ namespace QMAPP.WinForm.Forms.TianJin |
|
|
ncsdr["SCANDATE"] = DateTime.Now.ToString(); |
|
|
ncsdr["SCANDATE"] = DateTime.Now.ToString(); |
|
|
ncsdr["PRODUCTIONNAME"] = strprodtype; |
|
|
ncsdr["PRODUCTIONNAME"] = strprodtype; |
|
|
ncsdr["LINENO"] = tbl.Rows[i]["LINENO"].ToString(); |
|
|
ncsdr["LINENO"] = tbl.Rows[i]["LINENO"].ToString(); |
|
|
if(tbl.Rows[i]["VIN"].ToString().Substring(0,3) == "770") |
|
|
|
|
|
ncsdr["MbConfig"] = tbl.Rows[i]["VIN"].ToString().Substring(3, 3); |
|
|
|
|
|
else |
|
|
|
|
|
ncsdr["MbConfig"] = tbl.Rows[i]["VIN"].ToString().Substring(4, 3); |
|
|
|
|
|
|
|
|
|
|
|
ncsdr["MbOrientation"] = strprodtype; |
|
|
|
|
|
ncsdr["CreateTime"] = DateTime.Now.ToString("yyyy年MM月dd日 HH:mm"); |
|
|
|
|
|
dt.Rows.Add(ncsdr); |
|
|
dt.Rows.Add(ncsdr); |
|
|
index++; |
|
|
index++; |
|
|
} |
|
|
} |
|
|