质量bug

This commit is contained in:
2024-08-23 16:55:35 +08:00
parent ff36f85219
commit f5d86c2f95
4 changed files with 11 additions and 4 deletions

View File

@@ -1220,6 +1220,7 @@ namespace Tnb.ProductionMgr
processid = task.process_id,
workid = task.workstation_id,
triggerevent = EnumTriggerEvent.,
plan_check_type = WmsWareHouseConst.SHOUJIAN_ID,
};
await _qcCheckPlanService.CreateTask(entity);
}
@@ -1847,6 +1848,7 @@ namespace Tnb.ProductionMgr
carry_code = report.material_box_code,
report_id = report.id,
batch = report.batch,
plan_check_type = WmsWareHouseConst.MOJIAN_ID,
};
await _qcCheckPlanService.CreateTask(entity);
}
@@ -1900,7 +1902,9 @@ namespace Tnb.ProductionMgr
carry_code = report.material_box_code,
report_id = report.id,
batch = report.batch,
check_type = WmsWareHouseConst.FULLREVIEW_CODE
check_type = WmsWareHouseConst.FULLREVIEW_CODE,
plan_check_type = WmsWareHouseConst.LINGBUJIANZUIZHONGJIANYAN_ID,
};
int? reported = prdMoTask.reported_work_qty == null ? 0 : prdMoTask.reported_work_qty;
int? scrap = prdMoTask.scrap_qty == null ? 0 : prdMoTask.scrap_qty;