|
@ -121,25 +121,6 @@ public class ItemBasicReader : IReader |
|
|
catch (Exception) |
|
|
catch (Exception) |
|
|
{ |
|
|
{ |
|
|
} |
|
|
} |
|
|
string type = ""; |
|
|
|
|
|
switch (product.mes_product_code) |
|
|
|
|
|
{ |
|
|
|
|
|
case "10C01": |
|
|
|
|
|
type = "成品"; |
|
|
|
|
|
break; |
|
|
|
|
|
case "10C02": |
|
|
|
|
|
type = "成品"; |
|
|
|
|
|
break; |
|
|
|
|
|
case "10C03": |
|
|
|
|
|
type = "物料"; |
|
|
|
|
|
break; |
|
|
|
|
|
case "10C04": |
|
|
|
|
|
type = "半成品"; |
|
|
|
|
|
break; |
|
|
|
|
|
default: |
|
|
|
|
|
type = "无"; |
|
|
|
|
|
break; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var itemBasicRequest = new ItemBasicExchangeDto() |
|
|
var itemBasicRequest = new ItemBasicExchangeDto() |
|
|
{ |
|
|
{ |
|
@ -157,7 +138,7 @@ public class ItemBasicReader : IReader |
|
|
IsRecycled = product.mes_product_mfg == "10406" ? true : false, //10406 回收
|
|
|
IsRecycled = product.mes_product_mfg == "10406" ? true : false, //10406 回收
|
|
|
#endregion
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
Type = type,//10C01成品、10C02原料、10C03物料、10C04半成品
|
|
|
Type = product.mes_product_code,//10C01成品、10C02原料、10C03物料、10C04半成品
|
|
|
Configuration = product.mes_product_spec, |
|
|
Configuration = product.mes_product_spec, |
|
|
BasicUom = product.mes_product_unit, |
|
|
BasicUom = product.mes_product_unit, |
|
|
AbcClass = "", |
|
|
AbcClass = "", |
|
|