|
|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.gaotao.modules.finishedProduct.controller; |
|
|
|
|
|
|
|
import com.gaotao.modules.finishedProduct.sap.service.SapRollService; |
|
|
|
import com.gaotao.modules.finishedProduct.vo.PackingVo; |
|
|
|
import com.gaotao.modules.pda.config.XuJieConfig; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
@ -23,6 +24,9 @@ public class PageController { |
|
|
|
@Autowired |
|
|
|
XuJieConfig xuJieConfig; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
SapRollService sapRollService; |
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
* @Author sxm |
|
|
|
@ -146,4 +150,19 @@ public class PageController { |
|
|
|
public String boxingManage(){ |
|
|
|
return "/productwarehouse/other/boxManage"; |
|
|
|
} |
|
|
|
|
|
|
|
// ==================== SAP成品出入库页面路由 ==================== |
|
|
|
|
|
|
|
@GetMapping("/productwarehouse/sap/storage") |
|
|
|
public String sapStorage(HttpServletRequest request, Model model) { |
|
|
|
model.addAttribute("depots", xuJieConfig.getSoReceiveWarehouse()); |
|
|
|
model.addAttribute("ufdOptions", sapRollService.getSapUfdOptions("IN")); |
|
|
|
return "/productwarehouse/sap/sap_storage"; |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/productwarehouse/sap/outbound") |
|
|
|
public String sapOutbound(Model model) { |
|
|
|
model.addAttribute("ufdOptions", sapRollService.getSapUfdOptions("OUT")); |
|
|
|
return "/productwarehouse/sap/sap_outbound"; |
|
|
|
} |
|
|
|
} |