编码设备管理bug修改
This commit is contained in:
parent
6b632e0158
commit
80dcaa3f84
|
|
@ -92,7 +92,7 @@ public class StorageStatusController extends BaseController {
|
|||
@GetMapping("/getAllRecords")
|
||||
public AjaxResult getAllRecords(StorageStatus bean) {
|
||||
List<MaType> list = new ArrayList<>();
|
||||
List<Integer> maIds = new ArrayList<>();
|
||||
Set<Integer> ids = new HashSet<>();
|
||||
// 获取在库maid
|
||||
List<Integer> zkids = storageStatusMapper.getzk(bean);
|
||||
// 获取在用maid
|
||||
|
|
@ -101,11 +101,10 @@ public class StorageStatusController extends BaseController {
|
|||
List<Integer> zxids = storageStatusMapper.getzx(bean);
|
||||
// 获取修饰后待入库maid
|
||||
List<Integer> xshdrkids = storageStatusMapper.getxshdrk(bean);
|
||||
maIds.addAll(zkids);
|
||||
maIds.addAll(zyids);
|
||||
maIds.addAll(zxids);
|
||||
maIds.addAll(xshdrkids);
|
||||
Set<Integer> ids = new HashSet<>(maIds);
|
||||
ids.addAll(zkids);
|
||||
ids.addAll(zyids);
|
||||
ids.addAll(zxids);
|
||||
ids.addAll(xshdrkids);
|
||||
if (ids.size() > 0) {
|
||||
startPage();
|
||||
list = storageStatusMapper.getAllRecords(ids, bean);
|
||||
|
|
|
|||
|
|
@ -686,7 +686,7 @@ export default {
|
|||
this.queryParams.deviceId = ''
|
||||
this.queryParams.typeId = ''
|
||||
getListByMaType({ typeId: id }).then((response) => {
|
||||
this.typeList = response.data
|
||||
this.typeList = response.data.rows
|
||||
})
|
||||
},
|
||||
//选择设备类型
|
||||
|
|
@ -694,7 +694,7 @@ export default {
|
|||
console.log(id)
|
||||
this.queryParams.typeId = ''
|
||||
getListByMaType({ typeId: id }).then((response) => {
|
||||
this.modelList = response.data
|
||||
this.modelList = response.data.rows
|
||||
})
|
||||
},
|
||||
/** 查询资产属性下拉 */
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
v-show="showSearch"
|
||||
label-width="68px"
|
||||
>
|
||||
<el-form-item label="关键字" prop="keyWord">
|
||||
<el-form-item label="关键字999" prop="keyWord">
|
||||
<el-input
|
||||
v-model="queryParams.keyWord"
|
||||
placeholder="请输入关键字"
|
||||
|
|
@ -686,7 +686,7 @@ export default {
|
|||
this.queryParams.deviceId = ''
|
||||
this.queryParams.typeId = ''
|
||||
getListByMaType({ typeId: id }).then((response) => {
|
||||
this.typeList = response.data
|
||||
this.typeList = response.data.rows
|
||||
})
|
||||
},
|
||||
//选择设备类型
|
||||
|
|
@ -694,7 +694,7 @@ export default {
|
|||
console.log(id)
|
||||
this.queryParams.typeId = ''
|
||||
getListByMaType({ typeId: id }).then((response) => {
|
||||
this.modelList = response.data
|
||||
this.modelList = response.data.rows
|
||||
})
|
||||
},
|
||||
/** 查询资产属性下拉 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue