生成电梯任务与判断一托延迟处理,生产入库调整

This commit is contained in:
2024-09-02 09:04:57 +08:00
parent d493a9322e
commit 6536f4f8e3
12 changed files with 251 additions and 162 deletions

View File

@@ -361,9 +361,9 @@ namespace Tnb.WarehouseMgr
//string watercode = await _billRullService.GetBillNumber(WmsWareHouseConst.WMS_PURCHASE_MAT_ENCODE);
string code_batch = string.IsNullOrEmpty(WmsPurchaseD.code_batch) ? "" : WmsPurchaseD.code_batch;
string code = await _wareHouseService.CreateCodeRules("", WmsPurchaseD.material_code + code_batch, 4);
string watercode = await _wareHouseService.CreateCodeRules("", WmsPurchaseD.material_code + code_batch, 4);
//string code = $"CGSH{watercode}";
string code = $"{WmsPurchaseD.material_code}-{WmsPurchaseD.code_batch}-{watercode}";
WmsTempCode barCode = new()
{
material_id = WmsPurchaseD.material_id,