This commit is contained in:
@@ -9,9 +9,8 @@ todo: DataList if there is a meta filter it should default to no filter first th
|
|||||||
The current filter if any applied fights with the meta filter and in many cases would block it completely
|
The current filter if any applied fights with the meta filter and in many cases would block it completely
|
||||||
This way they can save it as a common filter if they want and
|
This way they can save it as a common filter if they want and
|
||||||
|
|
||||||
todo: Part form menu has links to inventory list filtered for that part not implemented yet but could be now
|
todo: DataList - there are a bunch of props being set that don't exist, for example currentListViewId, dataListFilter, dataListSort
|
||||||
make sure it checks if useinvenotry is in effect
|
remove them with impunity
|
||||||
|
|
||||||
|
|
||||||
todo: userbiz validate can delete has funky error
|
todo: userbiz validate can delete has funky error
|
||||||
|
|
||||||
@@ -166,7 +165,12 @@ todo: server boot up message should show the port it's listening on if possible
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
CURRENTLY DOING:
|
CURRENTLY DOING: fun with meta list view Grid needs to reset to no view first then apply meta or something
|
||||||
|
Wont' work to call soemthign in create on list host form
|
||||||
|
can't get a ref to the gzdatatable taht works, possibly becuase it's in oncreate
|
||||||
|
maybe can do it in a later event
|
||||||
|
maybe look at vue events in datagrid itself
|
||||||
|
is there one that can process the fact that there is a meta view and just ahndle it internally *(this is best solution)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -530,6 +530,11 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
resetListView: function() {
|
||||||
|
console.log("RESET LISTVIEW CALLED");
|
||||||
|
let vm = this;
|
||||||
|
vm.listViewId = 0;
|
||||||
|
},
|
||||||
|
|
||||||
listViewChanged: async function() {
|
listViewChanged: async function() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
|
|||||||
@@ -11,8 +11,6 @@
|
|||||||
ref="gzdatatable"
|
ref="gzdatatable"
|
||||||
formKey="part-inventory-transaction-list"
|
formKey="part-inventory-transaction-list"
|
||||||
:dataListKey="dataListKey"
|
:dataListKey="dataListKey"
|
||||||
:dataListFilter="dataListFilter"
|
|
||||||
:dataListSort="dataListSort"
|
|
||||||
:showSelect="rights.read"
|
:showSelect="rights.read"
|
||||||
:reload="reload"
|
:reload="reload"
|
||||||
:metaView="metaView"
|
:metaView="metaView"
|
||||||
@@ -53,6 +51,14 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
vm.metaView = JSON.stringify(metaFilter);
|
vm.metaView = JSON.stringify(metaFilter);
|
||||||
|
debugger;
|
||||||
|
this.$refs.gzdatatable.resetListView();
|
||||||
|
let refs = vm.$refs;
|
||||||
|
console.log(refs);
|
||||||
|
console.log(refs.gzdatatable);
|
||||||
|
// console.log("FLIPPING resetlistview", vm.$refs.gzdatatable);
|
||||||
|
|
||||||
|
//vm.$refs.gzdatatable.resetListView();
|
||||||
}
|
}
|
||||||
|
|
||||||
generateMenu(vm);
|
generateMenu(vm);
|
||||||
@@ -70,7 +76,8 @@ export default {
|
|||||||
ayType: window.$gz.type.PartInventory,
|
ayType: window.$gz.type.PartInventory,
|
||||||
selectedItems: [],
|
selectedItems: [],
|
||||||
metaView: undefined,
|
metaView: undefined,
|
||||||
reload: false
|
reload: false,
|
||||||
|
resetListView: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user