|
|
@ -5105,6 +5105,8 @@ namespace ibk.IPD.Controller.IPD_PS
|
|
|
|
lenSMP = ConverDataToDecimal(ltMain[0].SMP_LEN);
|
|
|
|
lenSMP = ConverDataToDecimal(ltMain[0].SMP_LEN);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TD.USE_FLG = "1";//不满足取样长度的,标记被使用
|
|
|
|
|
|
|
|
|
|
|
|
logger.InfoFormat("取样长度二次验证,钢板号:{0},订单号:{1}-{2} 取样长度不足:{3}", TD.PLATE_NO, TD.ORD_NO, TD.ORD_ITEM, lenSMP);
|
|
|
|
logger.InfoFormat("取样长度二次验证,钢板号:{0},订单号:{1}-{2} 取样长度不足:{3}", TD.PLATE_NO, TD.ORD_NO, TD.ORD_ITEM, lenSMP);
|
|
|
|
|
|
|
|
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
@ -10908,10 +10910,13 @@ namespace ibk.IPD.Controller.IPD_PS
|
|
|
|
|
|
|
|
|
|
|
|
List<QP_QLTY_MATR_MAIN> ltMain = gQP_QLTY_MATR_MAIN.Where(p => p.ORD_NO == prorder.ORD_NO && p.ORD_ITEM == prorder.ORD_ITEM).ToList();
|
|
|
|
List<QP_QLTY_MATR_MAIN> ltMain = gQP_QLTY_MATR_MAIN.Where(p => p.ORD_NO == prorder.ORD_NO && p.ORD_ITEM == prorder.ORD_ITEM).ToList();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (ltMain.Count > 0)
|
|
|
|
if (ltMain.Count > 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//int intSMP = 1;//T:头部 B:尾部 Y:头尾 头尾要*2
|
|
|
|
//int intSMP = 1;//T:头部 B:尾部 Y:头尾 头尾要*2
|
|
|
|
decimal decLen = (ConverDataToDecimal(prorder.ORD_LEN));
|
|
|
|
decimal decLen = (ConverDataToDecimal(prorder.ORD_LEN));
|
|
|
|
|
|
|
|
logger.InfoFormat("取样长度记录:{0}-{1}-{2}", prorder.ORD_NO, prorder.ORD_ITEM, ltMain[0].SMP_LEN);//记录取样长度
|
|
|
|
if (prorder.SIZE_KND == "02" && ConverDataToDecimal(prorder.ORD_LEN_MIN) != 0)
|
|
|
|
if (prorder.SIZE_KND == "02" && ConverDataToDecimal(prorder.ORD_LEN_MIN) != 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
decLen = ConverDataToDecimal(prorder.ORD_LEN_MIN);
|
|
|
|
decLen = ConverDataToDecimal(prorder.ORD_LEN_MIN);
|
|
|
@ -10944,6 +10949,7 @@ namespace ibk.IPD.Controller.IPD_PS
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
decimal decLen = (ConverDataToDecimal(prorder.ORD_LEN));
|
|
|
|
decimal decLen = (ConverDataToDecimal(prorder.ORD_LEN));
|
|
|
|
|
|
|
|
logger.InfoFormat("取样长度记录(记录不存在默认100):{0}-{1}-{2}", prorder.ORD_NO, prorder.ORD_ITEM, 100);//记录取样长度
|
|
|
|
if (prorder.SIZE_KND == "02" && ConverDataToDecimal(prorder.ORD_LEN_MIN) != 0)
|
|
|
|
if (prorder.SIZE_KND == "02" && ConverDataToDecimal(prorder.ORD_LEN_MIN) != 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
decLen = ConverDataToDecimal(prorder.ORD_LEN_MIN);
|
|
|
|
decLen = ConverDataToDecimal(prorder.ORD_LEN_MIN);
|
|
|
|