This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div v-if="this.$store.state.formCustomTemplate[formKey]">
|
||||||
<span class="v-label v-label--active theme--light">
|
<span class="v-label v-label--active theme--light">
|
||||||
{{ this.$gzlocale.get("ObjectCustomFieldCustomGrid") }}
|
{{ this.$gzlocale.get("ObjectCustomFieldCustomGrid") }}
|
||||||
</span>
|
</span>
|
||||||
@@ -17,7 +17,14 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
/* Xeslint-disable */
|
/* Xeslint-disable */
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* TODO: have the template, have the custom field data, now just need to show it all properly and update the fragment of json when changes made which then updates the
|
||||||
|
* parent object.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*/
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -54,10 +61,6 @@ export default {
|
|||||||
if (!this.formKey) {
|
if (!this.formKey) {
|
||||||
throw "custom-fields-control: formKey property is required and missing";
|
throw "custom-fields-control: formKey property is required and missing";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.$store.state.formCustomTemplate[this.formKey]) {
|
|
||||||
throw "custom-fields-control: formCustomTemplate not in the Store!";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -636,7 +636,6 @@ function populatePickLists(vm) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//////////////////////
|
//////////////////////
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user