feat(clgl): 新增入库材料条形码打印
生成入库单时同步生成入库材料条形码明细,并在入库单管理中支持整单和单条条形码打印。
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user