|
|
@ -456,7 +456,7 @@ public class WorkOrderController {
|
|
|
|
//成品生成入库单
|
|
|
|
//成品生成入库单
|
|
|
|
WarehousingStorageForm warehousingStorageForm=new WarehousingStorageForm();
|
|
|
|
WarehousingStorageForm warehousingStorageForm=new WarehousingStorageForm();
|
|
|
|
warehousingStorageForm.setWarehousingStorageType("9");
|
|
|
|
warehousingStorageForm.setWarehousingStorageType("9");
|
|
|
|
warehousingStorageForm.setWarehousingStorageStatus("4");
|
|
|
|
warehousingStorageForm.setWarehousingStorageStatus("3");
|
|
|
|
warehousingStorageForm.setWarehousingId(workOrderForm.getId());
|
|
|
|
warehousingStorageForm.setWarehousingId(workOrderForm.getId());
|
|
|
|
warehousingStorageForm.setWarehouseId(workOrderForm.getWarehouseId());
|
|
|
|
warehousingStorageForm.setWarehouseId(workOrderForm.getWarehouseId());
|
|
|
|
List<WarehousingStorageProductModel> list =new ArrayList<>();
|
|
|
|
List<WarehousingStorageProductModel> list =new ArrayList<>();
|
|
|
@ -580,7 +580,7 @@ public class WorkOrderController {
|
|
|
|
receiveWrapper.lambda().eq(WarehousingReceiveEntity::getBusinessId, id);
|
|
|
|
receiveWrapper.lambda().eq(WarehousingReceiveEntity::getBusinessId, id);
|
|
|
|
List<WarehousingReceiveEntity> warehousingReceiveEntityList = warehousingReceiveService.list(receiveWrapper);
|
|
|
|
List<WarehousingReceiveEntity> warehousingReceiveEntityList = warehousingReceiveService.list(receiveWrapper);
|
|
|
|
warehousingOutboundForm.setWarehousingOutboundType("4"); //领用出库
|
|
|
|
warehousingOutboundForm.setWarehousingOutboundType("4"); //领用出库
|
|
|
|
warehousingOutboundForm.setWarehousingOutboundStatus("4"); //已出库
|
|
|
|
warehousingOutboundForm.setWarehousingOutboundStatus("3"); //已出库
|
|
|
|
warehousingOutboundForm.setOutboundReason("加工单——领用单生成出出库单");
|
|
|
|
warehousingOutboundForm.setOutboundReason("加工单——领用单生成出出库单");
|
|
|
|
warehousingOutboundForm.setWarehousingId(warehousingReceiveEntityList.get(0).getId());
|
|
|
|
warehousingOutboundForm.setWarehousingId(warehousingReceiveEntityList.get(0).getId());
|
|
|
|
warehousingOutboundForm.setWarehouseId(warehousingReceiveForm.getWarehouseId());
|
|
|
|
warehousingOutboundForm.setWarehouseId(warehousingReceiveForm.getWarehouseId());
|
|
|
@ -706,6 +706,8 @@ public class WorkOrderController {
|
|
|
|
//返库单再生成入库单
|
|
|
|
//返库单再生成入库单
|
|
|
|
WarehousingStorageForm warehousingStorageFormRenturn=new WarehousingStorageForm();
|
|
|
|
WarehousingStorageForm warehousingStorageFormRenturn=new WarehousingStorageForm();
|
|
|
|
warehousingStorageFormRenturn.setWarehousingStorageType("7");
|
|
|
|
warehousingStorageFormRenturn.setWarehousingStorageType("7");
|
|
|
|
|
|
|
|
warehousingStorageFormRenturn.setWarehousingStorageStatus("3");
|
|
|
|
|
|
|
|
|
|
|
|
warehousingStorageFormRenturn.setWarehousingId(warehousingReturnEntityList.get(0).getId());
|
|
|
|
warehousingStorageFormRenturn.setWarehousingId(warehousingReturnEntityList.get(0).getId());
|
|
|
|
warehousingStorageFormRenturn.setWarehouseId(workOrderForm.getWarehouseId());
|
|
|
|
warehousingStorageFormRenturn.setWarehouseId(workOrderForm.getWarehouseId());
|
|
|
|
List<WarehousingStorageProductModel> list1 =new ArrayList<>();
|
|
|
|
List<WarehousingStorageProductModel> list1 =new ArrayList<>();
|
|
|
@ -841,7 +843,7 @@ public class WorkOrderController {
|
|
|
|
List<WarehousingReportlossEntity> warehousingReportlossEntityList = warehousingReportlossService.list(reportlossEntityQueryWrapper);
|
|
|
|
List<WarehousingReportlossEntity> warehousingReportlossEntityList = warehousingReportlossService.list(reportlossEntityQueryWrapper);
|
|
|
|
|
|
|
|
|
|
|
|
warehousingOutboundFormReportloss.setWarehousingOutboundType("6");
|
|
|
|
warehousingOutboundFormReportloss.setWarehousingOutboundType("6");
|
|
|
|
warehousingOutboundFormReportloss.setWarehousingOutboundStatus("4");
|
|
|
|
warehousingOutboundFormReportloss.setWarehousingOutboundStatus("3");
|
|
|
|
warehousingOutboundFormReportloss.setWarehousingId(warehousingReportlossEntityList.get(0).getId());
|
|
|
|
warehousingOutboundFormReportloss.setWarehousingId(warehousingReportlossEntityList.get(0).getId());
|
|
|
|
warehousingOutboundFormReportloss.setWarehouseId(warehousingReceiveForm.getWarehouseId());
|
|
|
|
warehousingOutboundFormReportloss.setWarehouseId(warehousingReceiveForm.getWarehouseId());
|
|
|
|
warehousingOutboundFormReportloss.setOutboundReason("加工单——报损单生成出出库单");
|
|
|
|
warehousingOutboundFormReportloss.setOutboundReason("加工单——报损单生成出出库单");
|
|
|
|