bug
This commit is contained in:
@@ -56,7 +56,7 @@ namespace Tnb.WarehouseMgr
|
||||
return data;
|
||||
}
|
||||
/// <summary>
|
||||
/// 载具查询返回接口
|
||||
/// 载具查询返回接口(没子载具不能使用此接口)
|
||||
/// </summary>
|
||||
/// <param name="input"></param>
|
||||
/// <returns></returns>
|
||||
|
||||
@@ -1199,11 +1199,11 @@ namespace Tnb.WarehouseMgr
|
||||
};
|
||||
insertHList.Add(prdMaterialReceiptH);
|
||||
|
||||
CarryQueryOutput carryQueryOutput = await _wmsCarryQueryService.MESCarryQueryResult(new MESCarryQueryResultInput(){carry_code = carry.carry_code});
|
||||
if (carryQueryOutput.wmsCarryCodes != null && carryQueryOutput.wmsCarryCodes.Count > 0)
|
||||
List<WmsCarryCode> wmsCarryCodes = await _db.Queryable<WmsCarryCode>().Where(x=>x.carry_id==carry.id).ToListAsync();
|
||||
if (wmsCarryCodes != null && wmsCarryCodes.Count > 0)
|
||||
{
|
||||
JNPF.Logging.Log.Information($"签收载具信息{JsonConvert.SerializeObject(carryQueryOutput)}");
|
||||
foreach (var item in carryQueryOutput.wmsCarryCodes)
|
||||
JNPF.Logging.Log.Information($"签收载具信息{JsonConvert.SerializeObject(wmsCarryCodes)}");
|
||||
foreach (var item in wmsCarryCodes)
|
||||
{
|
||||
|
||||
insertDList.Add(new PrdMaterialReceiptD
|
||||
@@ -1216,12 +1216,12 @@ namespace Tnb.WarehouseMgr
|
||||
carry_id = carry.id,
|
||||
barcode = item.barcode,
|
||||
is_all_feeding = 0,
|
||||
member_carry_id = item.member_carryid,
|
||||
member_carry_code = item.member_carrycode,
|
||||
// member_carry_id = item.member_carryid,
|
||||
// member_carry_code = item.member_carrycode,
|
||||
feeding_num = 0,
|
||||
supplier_id = item.supplier_id,
|
||||
instock_time = item.instock_time,
|
||||
check_conclusion = item.check_conclusion,
|
||||
// check_conclusion = item.check_conclusion,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user