|
@@ -381,7 +381,7 @@ export default {
|
|
|
/** 查询仓库列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
- lazyListDept().then(res => {
|
|
|
+ lazyListDept(this.queryParams).then(res => {
|
|
|
this.deptList = res.data
|
|
|
this.loading = false
|
|
|
})
|
|
@@ -445,6 +445,8 @@ export default {
|
|
|
if (row != undefined) {
|
|
|
this.form.parentId = row.fId;
|
|
|
}
|
|
|
+ this.$set(this.form, 'fStatus', '0')
|
|
|
+ // this.form.fStatus = '0'
|
|
|
this.open = true;
|
|
|
this.title = "添加仓库";
|
|
|
listDept().then(response => {
|
|
@@ -494,7 +496,8 @@ export default {
|
|
|
}).then(function() {
|
|
|
return delDept(row.fId);
|
|
|
}).then(() => {
|
|
|
- this.getList();
|
|
|
+ // this.getList();
|
|
|
+ location.reload();
|
|
|
this.msgSuccess("删除成功");
|
|
|
})
|
|
|
}
|