|
|
@@ -9333,12 +9333,16 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleLogic
|
|
|
if (productionData.OrgGoodsLevelTypeID == Constant.GoodsLevelType.Reject.GetHashCode()
|
|
|
||
|
|
|
productionData.OrgGoodsLevelTypeID == Constant.GoodsLevelType.Waste.GetHashCode()
|
|
|
+ ||
|
|
|
+ productionData.OrgGoodsLevelTypeID == 20 // 中陶特加 废品(废品就是报费,直接扔的那种) 2024-07-09
|
|
|
)
|
|
|
{
|
|
|
//改为 次品 废品 xuwei modify 2019-12-13 加入废品识别
|
|
|
if (productionData.GoodsLevelTypeID == Constant.GoodsLevelType.Reject.GetHashCode()
|
|
|
||
|
|
|
productionData.GoodsLevelTypeID == Constant.GoodsLevelType.Waste.GetHashCode()
|
|
|
+ ||
|
|
|
+ productionData.GoodsLevelTypeID == 20 // 中陶特加 废品(废品就是报费,直接扔的那种) 2024-07-09
|
|
|
)
|
|
|
{
|
|
|
// 删除生产数据及相关表与报损表
|
|
|
@@ -9350,8 +9354,10 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleLogic
|
|
|
RejectToReject = true;
|
|
|
} //改为不是 次品 废品 xuwei modify 2019-12-13 加入废品识别
|
|
|
else if (productionData.GoodsLevelTypeID != Constant.GoodsLevelType.Reject.GetHashCode()
|
|
|
- ||
|
|
|
+ &&
|
|
|
productionData.GoodsLevelTypeID != Constant.GoodsLevelType.Waste.GetHashCode()
|
|
|
+ &&
|
|
|
+ productionData.GoodsLevelTypeID != 20 // 中陶特加 废品(废品就是报费,直接扔的那种) 2024-07-09
|
|
|
)
|
|
|
{
|
|
|
// 删除生产数据及相关表与报损表
|
|
|
@@ -9452,6 +9458,8 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleLogic
|
|
|
else if (productionData.GoodsLevelTypeID == (int)Constant.GoodsLevelType.Reject
|
|
|
||
|
|
|
productionData.GoodsLevelTypeID == (int)Constant.GoodsLevelType.Waste
|
|
|
+ ||
|
|
|
+ productionData.GoodsLevelTypeID == 20 // 中陶特加 废品(废品就是报费,直接扔的那种) 2024-07-09
|
|
|
)
|
|
|
{
|
|
|
//productionData.GoodsLevelID = null;
|