Commit 6fb44f724a4b359f669a8a68aaad690018708cc2
1 parent
6ea51483
库位监控改成根据库区筛选
Showing
3 changed files
with
4 additions
and
5 deletions
ant-design-vue-jeecg/src/api/api.js
... | ... | @@ -104,7 +104,7 @@ export const getZoneList = (params) => getAction('/config/zone/getZoneList', par |
104 | 104 | //获取容器类型列表 |
105 | 105 | export const getContainerTypeList = (params) => getAction('/config/containerType/getContainerTypeList', params); |
106 | 106 | //获取库位类型列表 |
107 | -export const getLocationTypeList = (params) => getAction('/config/locationType/getLocationTypeList', params); | |
107 | +export const getLocationTypeList = (params) => getAction('/config/zone/getZoneList', params); | |
108 | 108 | //获取库位类高度列表 |
109 | 109 | export const getLocationHighList = (params) => postAction('/config/locationHigh/getLocationHighList', params); |
110 | 110 | //获取货主列表 |
... | ... |
ant-design-vue-jeecg/src/views/system/monitor/locationStatus.vue
... | ... | @@ -14,7 +14,7 @@ |
14 | 14 | @change="refresh" |
15 | 15 | style="width: 200px"> |
16 | 16 | <a-select-option selected="0" id="zoneCode" v-for="item in locationTypeList" :key="item.name" |
17 | - :value="item.code">{{ item.name }} | |
17 | + :value="item.locationTypeCode">{{ item.name }} | |
18 | 18 | </a-select-option> |
19 | 19 | </a-select> |
20 | 20 | </li> |
... | ... | @@ -189,7 +189,7 @@ export default { |
189 | 189 | if (res.success) { |
190 | 190 | this.locationTypeList = res.result; |
191 | 191 | if (this.locationTypeList.length > 0) { |
192 | - this.zoneCode = this.locationTypeList[0].code; | |
192 | + this.zoneCode = this.locationTypeList[0].locationTypeCode; | |
193 | 193 | let _this = this; |
194 | 194 | this.resetAjax(this.zoneCode); |
195 | 195 | } |
... | ... | @@ -228,7 +228,6 @@ export default { |
228 | 228 | $("#editable-num").append("<option value='" + i + "'>" + i + "</option>") |
229 | 229 | } |
230 | 230 | } |
231 | - alert($("#editable-select").val()) | |
232 | 231 | |
233 | 232 | let type = $("#zoneCode").val(); |
234 | 233 | this.resetAjax(this.zoneCode); |
... | ... |
huaheng-wms-core/src/main/java/org/jeecg/modules/wms/config/locationMonitor/controller/LocationMonitorController.java
... | ... | @@ -92,7 +92,7 @@ public class LocationMonitorController { |
92 | 92 | HuahengJwtUtil.setWarehouseCode(locationLambdaQueryWrapper, Location.class, req); |
93 | 93 | locationLambdaQueryWrapper.eq(StringUtils.isNotEmpty(row), Location::getRow, row).eq(StringUtils.isNotEmpty(line), Location::getIcolumn, line) |
94 | 94 | .eq(StringUtils.isNotEmpty(layer), Location::getLayer, layer).eq(StringUtils.isNotEmpty(grid), Location::getGrid, grid) |
95 | - .eq(StringUtils.isNotEmpty(type), Location::getZoneCode, type); | |
95 | + .eq(StringUtils.isNotEmpty(type), Location::getLocationTypeCode, type); | |
96 | 96 | List<Location> locations = locationService.list(locationLambdaQueryWrapper); |
97 | 97 | List<Location> locationList = new ArrayList<>(); |
98 | 98 | |
... | ... |