feat(clgl): 新增入库材料条形码打印

生成入库单时同步生成入库材料条形码明细,并在入库单管理中支持整单和单条条形码打印。
This commit is contained in:
2026-05-18 21:28:56 +08:00
parent 2c25bb3484
commit 44cd0fcf8c
13 changed files with 563 additions and 43 deletions
+3 -1
View File
@@ -288,6 +288,7 @@ namespace BLL
SortIndex = detail.SortIndex,
};
TwInputdetailService.Add(detailTable);
TwInputdetailBarCodeService.AddByInputDetail(master, detailTable);
TwMaterialstockService.UpdateStockNum(master.ProjectId, detail.MaterialCode, master.WarehouseCode, TwConst.InOutType., detailTable.ActNum);
}
@@ -319,6 +320,7 @@ namespace BLL
{
return;
}
TwInputdetailBarCodeService.DeleteByInputMasterId(master.Id);
DeleteById(master.Id); //删除入库单
//删除明细
Tw_InOutDetailOutput queryDetail = new Tw_InOutDetailOutput();
@@ -369,4 +371,4 @@ namespace BLL
}
}
}
}