This commit is contained in:
@@ -65,6 +65,13 @@ todo: input type email url phone number etc supported on device to activate?
|
|||||||
|
|
||||||
............................................................
|
............................................................
|
||||||
|
|
||||||
|
|
||||||
|
{"offset":0,"limit":10,"dataListKey":"CustomerNoteDataList","listView":"[{\"fld\":\"username\"},{\"fld\":\"notedate\"},{\"fld\":\"notes\"}]","metaView":"[{\"fld\":\"metacustomer\",\"filter\":{\"items\":[{\"op\":\"=\",\"value\":\"100\"}]}}]"}
|
||||||
|
working:
|
||||||
|
{"offset":0,"limit":10,"dataListKey":"CustomerNoteDataList","listView":"[{\"fld\":\"username\"},{\"fld\":\"notedate\"},{\"fld\":\"notes\"}]","metaView":"[{\"fld\":\"metacustomer\",\"filter\":{\"items\":[{\"op\":\"=\",\"value\":100}]}}]"}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CURRENTLY WORKING ON: Customer
|
CURRENTLY WORKING ON: Customer
|
||||||
|
|
||||||
OUTSTANDING
|
OUTSTANDING
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
export default {
|
export default {
|
||||||
Customer: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
|
Customer: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
|
||||||
|
CustomerNote: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
|
||||||
Contract: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
|
Contract: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
|
||||||
HeadOffice: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
|
HeadOffice: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
|
||||||
LoanUnit: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
|
LoanUnit: { Change: 33098, ReadFullRecord: 65669, Select: 131071 },
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export default {
|
|||||||
try {
|
try {
|
||||||
await initForm(vm);
|
await initForm(vm);
|
||||||
|
|
||||||
vm.rights = window.$gz.role.getRights(window.$gz.type.Customer);
|
vm.rights = window.$gz.role.getRights(window.$gz.type.CustomerNote);
|
||||||
vm.formState.readOnly = !vm.rights.change;
|
vm.formState.readOnly = !vm.rights.change;
|
||||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||||
this.customername = this.$route.params.customername;
|
this.customername = this.$route.params.customername;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ const FORM_KEY = "cust-customer-notes";
|
|||||||
export default {
|
export default {
|
||||||
created() {
|
created() {
|
||||||
this.customername = this.$route.params.customername;
|
this.customername = this.$route.params.customername;
|
||||||
this.customerId = this.$route.params.customerid;
|
this.customerId = parseInt(this.$route.params.customerid);
|
||||||
this.metaView = JSON.stringify([
|
this.metaView = JSON.stringify([
|
||||||
{
|
{
|
||||||
fld: "metacustomer",
|
fld: "metacustomer",
|
||||||
@@ -42,7 +42,7 @@ export default {
|
|||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
this.rights = window.$gz.role.getRights(window.$gz.type.Customer);
|
this.rights = window.$gz.role.getRights(window.$gz.type.CustomerNote);
|
||||||
window.$gz.eventBus.$on("menu-click", clickHandler);
|
window.$gz.eventBus.$on("menu-click", clickHandler);
|
||||||
generateMenu(this);
|
generateMenu(this);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user