|
|
|
@ -184,7 +184,7 @@ public class InvProductsTrService_back {
|
|
|
|
|
}
|
|
|
|
|
//临床出库单据流转
|
|
|
|
|
if (ConstantType.TYPE_OUT.equals(bussinessTypeEntity.getMainAction())
|
|
|
|
|
&& bussinessLocalTypeEntity.getChangeEnable()
|
|
|
|
|
&& bussinessLocalTypeEntity.isChangeEnable()
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
|
|
if (ConstantType.TYPE_OUT_CLINIC.equals(bussinessTypeEntity.getAction()))
|
|
|
|
@ -213,7 +213,7 @@ public class InvProductsTrService_back {
|
|
|
|
|
//临床是否补单
|
|
|
|
|
public void addOrderChange(OrderEntity orderEntity, BussinessTypeEntity bussinessTypeEntity) {
|
|
|
|
|
BussinessLocalTypeEntity bussinessLocalTypeEntity = bussinessLocalTypeService.findBTByAction(bussinessTypeEntity.getLocalAction());
|
|
|
|
|
if (bussinessLocalTypeEntity.getChangeEnable()) {
|
|
|
|
|
if (bussinessLocalTypeEntity.isChangeEnable()) {
|
|
|
|
|
List<BussinessChangeTypeEntity> bussinessChangeTypeEntities = bussinessChangeTypeService.findByAction(bussinessTypeEntity.getLocalAction());
|
|
|
|
|
List<WarehouseEntity> warehouseEntities = codesService.findByReceiptId(orderEntity.getId());
|
|
|
|
|
List<WarehouseEntity> preOutList = new ArrayList<>();
|
|
|
|
@ -301,7 +301,7 @@ public class InvProductsTrService_back {
|
|
|
|
|
//寄售出库是否补单
|
|
|
|
|
public void addConsignOrderChange(OrderEntity orderEntity, BussinessTypeEntity bussinessTypeEntity) {
|
|
|
|
|
BussinessLocalTypeEntity bussinessLocalTypeEntity = bussinessLocalTypeService.findBTByAction(bussinessTypeEntity.getLocalAction());
|
|
|
|
|
if (bussinessLocalTypeEntity.getChangeEnable()) {
|
|
|
|
|
if (bussinessLocalTypeEntity.isChangeEnable()) {
|
|
|
|
|
List<BussinessChangeTypeEntity> bussinessChangeTypeEntities = bussinessChangeTypeService.findByAction(bussinessTypeEntity.getLocalAction());
|
|
|
|
|
List<WarehouseEntity> warehouseEntities = codesService.findByReceiptId(orderEntity.getId());
|
|
|
|
|
List<WarehouseEntity> useInList = new ArrayList<>();
|
|
|
|
|