This commit is contained in:
2020-11-24 18:09:29 +00:00
parent 6effcda8b6
commit 677690a78a
3 changed files with 17 additions and 3 deletions

View File

@@ -43,7 +43,9 @@ todo: User grids, cursor changed to indicate a clickable entire line for each it
todo: bugbug datetime control clear buttons don't trigger emit of empty date times
contractexpires on customer form clearing it and saving sends date to server as if it wasn't cleared at all
Better solution: one clear button that clears all and emits properly and disable the built in if possible
todo: gz-data-table make sure unbounded notes column is bounded by some length restriction
mobile format is ok, it cuts off at one line, but for desktop we should have a sane limit as right now it's completely unbounded
this should apply to any column that displays text but particularly just the plain text ones
todo: picklist empty null vs zero
test with customer and headofficeid
should have the empty selection pre-selected or maybe I need to do away with that since the clear button does the same thing?

View File

@@ -21,6 +21,12 @@ export default {
params: { recordid: tid.id }
});
break;
case ayatype.CustomerNote:
vm.$router.push({
name: "customer-note-edit",
params: { recordid: tid.id }
});
break;
case ayatype.Widget:
vm.$router.push({
name: "widget-edit",

View File

@@ -393,6 +393,10 @@ export default {
},
formKey: String,
dataListKey: String,
metaView: {
type: String,
default: undefined
},
showSelect: {
type: Boolean,
default: false
@@ -481,7 +485,8 @@ export default {
ObjectType: ayaType,
selectedRowIds: selectedRowIds,
dataListKey: vm.dataListKey,
listView: untokenizeListView(vm.listView)
listView: untokenizeListView(vm.listView),
metaView: vm.metaView
};
},
handleSelectChange() {
@@ -596,7 +601,8 @@ export default {
offset: listOptions.Offset,
limit: listOptions.Limit,
dataListKey: vm.dataListKey,
listView: untokenizedListView
listView: untokenizedListView,
metaView: vm.metaView
});
if (res.error) {