| | |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.lang.reflect.Array; |
| | | import java.util.Arrays; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | |
| | | Constant.TRIGGER_PARENT_FOOD_VARIETY, user.getCompanyId()); |
| | | view.addObject("listFoodVariety", listFoodVariety); |
| | | |
| | | // 粮食性质下拉框 |
| | | List<DicTrigger> listFoodType = inoutCommonManager.getDicTrigger(Constant.TRIGGER_PARENT_FOOD_TYPE, user.getCompanyId()); |
| | | view.addObject("listFoodType", listFoodType); |
| | | |
| | | // 粮食等级下拉框 |
| | | List<DicTrigger> listFoodLevel = inoutCommonManager.getDicTrigger( |
| | | Constant.TRIGGER_PARENT_FOOD_LEVEL, user.getCompanyId()); |
| | |
| | | if (null != conf) conf.setSort(sort); |
| | | view.addObject("cardDto", conf); |
| | | |
| | | //称重页面初始化 |
| | | inoutManager.initInoutWeight(listInoutConf, sort); |
| | | |
| | | view.setViewName("admin/inout/in-weight"); |
| | | return view; |
| | |
| | | |
| | | /** |
| | | * 根据质检单号获取出入库信息 |
| | | * |
| | | * @param param |
| | | * @return |
| | | */ |
| | |
| | | */ |
| | | @RequestMapping("/submit-checkItem") |
| | | @Transactional |
| | | public PageResponse<InoutCheckData> submitCheckItem(@RequestBody InoutCheckData data)throws Exception { |
| | | public PageResponse<InoutCheckData> submitCheckItem(@RequestBody InoutCheckData data) throws Exception { |
| | | return inoutManager.submitCheckData(data); |
| | | } |
| | | |