|
@ -1851,6 +1851,7 @@ namespace QMAPP.WinForm.Forms.TianJin |
|
|
nfpastecard.CREATETIME = DateTime.Now.ToString(); |
|
|
nfpastecard.CREATETIME = DateTime.Now.ToString(); |
|
|
nfpastecard.PLANTNAME = "DPFY"+pFisType.ToString(); |
|
|
nfpastecard.PLANTNAME = "DPFY"+pFisType.ToString(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
TJEPasteDetailsCard pastdetail = new TJEPasteDetailsCard(); |
|
|
TJEPasteDetailsCard pastdetail = new TJEPasteDetailsCard(); |
|
|
pastdetail.PASTEDETAILED_CARD_KEY = Guid.NewGuid().ToString(); |
|
|
pastdetail.PASTEDETAILED_CARD_KEY = Guid.NewGuid().ToString(); |
|
@ -1871,6 +1872,31 @@ namespace QMAPP.WinForm.Forms.TianJin |
|
|
pastdetail.DGVROWINDEX = dgvrowindex; |
|
|
pastdetail.DGVROWINDEX = dgvrowindex; |
|
|
pastdetail.LINENO = strvin.Substring(0,3); |
|
|
pastdetail.LINENO = strvin.Substring(0,3); |
|
|
pastdetail.MOULDCODE = strmouldcode; |
|
|
pastdetail.MOULDCODE = strmouldcode; |
|
|
|
|
|
|
|
|
|
|
|
string strprodtype = ""; |
|
|
|
|
|
if (pFisType == "01") |
|
|
|
|
|
{ |
|
|
|
|
|
strprodtype = "( 左 )"; |
|
|
|
|
|
} |
|
|
|
|
|
else if (pFisType == "02") |
|
|
|
|
|
{ |
|
|
|
|
|
strprodtype = "( 右 )"; |
|
|
|
|
|
} |
|
|
|
|
|
else if (pFisType == "03") |
|
|
|
|
|
{ |
|
|
|
|
|
strprodtype = "( 前 )"; |
|
|
|
|
|
} |
|
|
|
|
|
else if (pFisType == "04") |
|
|
|
|
|
{ |
|
|
|
|
|
strprodtype = "( 后 )"; |
|
|
|
|
|
} |
|
|
|
|
|
if (strvin.Substring(0, 3) == "770") |
|
|
|
|
|
nfpastecard.MbConfig = strvin.Substring(3, 3); |
|
|
|
|
|
else |
|
|
|
|
|
nfpastecard.MbConfig = strvin.Substring(4, 3); |
|
|
|
|
|
nfpastecard.MbOrientation = strprodtype; |
|
|
|
|
|
nfpastecard.CreateTime = DateTime.Now.ToString("yyyy年MM月dd日 HH:mm"); |
|
|
|
|
|
|
|
|
nfpastecard.DetailsCardlist.Add(pastdetail); |
|
|
nfpastecard.DetailsCardlist.Add(pastdetail); |
|
|
nflist.Add(pastdetail); |
|
|
nflist.Add(pastdetail); |
|
|
dgvNF.DataMember = null; |
|
|
dgvNF.DataMember = null; |
|
@ -2114,6 +2140,9 @@ 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(); |
|
@ -2143,6 +2172,14 @@ 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 (strvin.Substring(0, 3) == "770") |
|
|
|
|
|
ncsdr["MbConfig"] = strvin.Substring(3, 3); |
|
|
|
|
|
else |
|
|
|
|
|
ncsdr["MbConfig"] = strvin.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++; |
|
|
} |
|
|
} |
|
|