1
This commit is contained in:
@@ -1500,7 +1500,8 @@ namespace Tnb.ProductionMgr
|
||||
report = input.Adapt<PrdReport>();
|
||||
report.id = SnowflakeIdHelper.NextId();
|
||||
report.reported_qty = input.reported_qty;
|
||||
report.material_box_code = input.material_box_qrcode;
|
||||
report.material_box_code = input.material_box_code;
|
||||
report.location_code = input.location_code;
|
||||
report.create_id = _userManager.UserId;
|
||||
report.create_time = DateTime.Now;
|
||||
// report.batch = input.mo_task_code + DateTimeOffset.Now.ToUnixTimeSeconds().ToString();
|
||||
@@ -1730,8 +1731,9 @@ namespace Tnb.ProductionMgr
|
||||
string[] arr = JsonConvert.DeserializeObject<string[]>(basMaterial.category_id);
|
||||
if (arr.Length > 0 && arr.Contains("DGJCJ"))//短管挤出件入库申请
|
||||
{
|
||||
string resultMsg = await _prdInstockService.InstockTubeOne(report);
|
||||
return resultMsg == "true" ? (dynamic)true : throw Oops.Bah(resultMsg);
|
||||
// string resultMsg = await _prdInstockService.InstockTubeOne(report);
|
||||
// return resultMsg == "true" ? (dynamic)true : throw Oops.Bah(resultMsg);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (arr.Length > 0 && arr.Contains("CGJCJ"))//短管挤出件入库申请
|
||||
|
||||
Reference in New Issue
Block a user