|
|
@ -17,6 +17,8 @@ import com.yxt.wms.biz.base.wmswarehouseinfo.WmsWarehouseInfoService; |
|
|
|
import com.yxt.wms.biz.base.wmswarehouserack.WmsHouseInfoVo; |
|
|
|
import com.yxt.wms.biz.base.wmswarehouserack.WmsWarehouseRack; |
|
|
|
import com.yxt.wms.biz.base.wmswarehouserack.WmsWarehouseRackService; |
|
|
|
import com.yxt.wms.biz.base.wmswarehousezone.WmsWarehouseZone; |
|
|
|
import com.yxt.wms.biz.base.wmswarehousezone.WmsWarehouseZoneService; |
|
|
|
import com.yxt.wms.biz.inventory.wmsansbill.WmsAnsBill; |
|
|
|
import com.yxt.wms.biz.inventory.wmsansbill.WmsAnsBillService; |
|
|
|
import com.yxt.wms.biz.inventory.wmsansbilldetail.WmsAnsListDetailsVo; |
|
|
@ -76,6 +78,8 @@ public class WmsShelfBillService extends MybatisBaseService<WmsShelfBillMapper, |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private WmsInventoryService wmsInventoryService; |
|
|
|
@Autowired |
|
|
|
private WmsWarehouseZoneService wmsWarehouseZoneService; |
|
|
|
@Resource |
|
|
|
private BaseGoodsSkuFeign baseGoodsSkuFeign; |
|
|
|
|
|
|
@ -1200,11 +1204,19 @@ public class WmsShelfBillService extends MybatisBaseService<WmsShelfBillMapper, |
|
|
|
String locationSid = rack.getLocationSid(); |
|
|
|
WmsWarehouseInfo warehouseInfo = wmsWarehouseInfoService.fetchBySid(warehouseSid); |
|
|
|
if (null != warehouseInfo) { |
|
|
|
print.setText00(warehouseInfo.getWarehouseName()); |
|
|
|
print.setText(warehouseInfo.getWarehouseName()); |
|
|
|
} |
|
|
|
WmsWarehouseArea wmsWarehouseArea = wmsWarehouseAreaService.fetchBySid(locationSid); |
|
|
|
if (null != wmsWarehouseArea) { |
|
|
|
print.setText0(wmsWarehouseArea.getAreaName()); |
|
|
|
if (StringUtils.isNotBlank(wmsWarehouseArea.getZoneSid())) { |
|
|
|
WmsWarehouseZone zone = wmsWarehouseZoneService.fetchBySid(wmsWarehouseArea.getZoneSid()); |
|
|
|
if (null != zone) { |
|
|
|
if (StringUtils.isNotBlank(zone.getZoneName())) { |
|
|
|
print.setText00(zone.getZoneName()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
String[] split = rack.getRackCode().split("-"); |
|
|
|
if (split.length >= 4) { |
|
|
|