This commit is contained in:
2019-10-31 00:05:22 +00:00
parent fecfabfafe
commit ff15a9c7c0
7 changed files with 35 additions and 27 deletions

View File

@@ -1,4 +1,4 @@
/* Xeslint-disable */
/* eslint-disable */
var devModeShowErrors = false;
@@ -15,6 +15,7 @@ function dealWithError(msg, vm) {
}
window.$gz.store.commit("logItem", msg);
if (devModeShowErrors) {
debugger;
var errMsg =
"DEV ERROR errorHandler::devShowUnknownError - unexpected error: \r\n" +
msg;

View File

@@ -86,7 +86,7 @@
</template>
<script>
/* Xeslint-disable */
/* eslint-disable */
const FORM_KEY = "inventorywidgetlist";
export default {
@@ -136,7 +136,7 @@ export default {
} else {
that.localFormSettings.pagination = {
rowsPerPage: formSettings.saved.rowsPerPage,
sortBy: formSettings.saved.sortBy,
sortBy: formSettings.saved.sortBy,///////<-----sb array?? something funky or incorrect here leading to the error TypeError: this.options.sortBy.findIndex is not a function sb array???
descending: formSettings.saved.descending
};
if (formSettings.temp && formSettings.temp.page) {
@@ -262,6 +262,7 @@ export default {
that.Items = res.data;
that.totalItems = res.paging.count;
});
},
editItem(item) {
this.$router.push({

View File

@@ -170,7 +170,11 @@ Vue.component("gz-custom-fields", customFieldsControl);
////////////////////////////////////////////////////////
//3rd party ui components
//
Vue.use(VuetifyDialog);
Vue.use(VuetifyDialog, {
context: {
Vuetify
}
});
/////////////////////////////////////////////////////////////
//DIRECTIVES

View File

@@ -42,7 +42,7 @@
</template>
<script>
/* Xeslint-disable */
/* eslint-disable */
import WidgetList from "../components/inventorywidgetlist";
import WarehouseTop from "../components/inventorywarehousetop";
import POTop from "../components/inventorypotop";
@@ -60,6 +60,7 @@ export default {
});
},
created() {
debugger;
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "fa-dolly",