2019-10-26 14:46:04 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2021-11-24 09:08:13 +00:00
|
|
|
<TwoColumnForm v-if="doc" :doc="doc" :fields="fields" :autosave="true" />
|
2019-10-26 14:46:04 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import frappe from 'frappejs';
|
|
|
|
import TwoColumnForm from '@/components/TwoColumnForm';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'TabSystem',
|
|
|
|
components: {
|
|
|
|
TwoColumnForm,
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
return {
|
2021-11-24 09:08:13 +00:00
|
|
|
doc: null,
|
2019-10-26 14:46:04 +00:00
|
|
|
};
|
|
|
|
},
|
|
|
|
async mounted() {
|
2019-12-16 13:52:14 +00:00
|
|
|
this.doc = frappe.SystemSettings;
|
|
|
|
this.companyName = frappe.AccountingSettings.companyName;
|
2019-10-26 14:46:04 +00:00
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
fields() {
|
|
|
|
let meta = frappe.getMeta('SystemSettings');
|
|
|
|
return meta.getQuickEditFields();
|
|
|
|
},
|
2021-11-24 09:08:13 +00:00
|
|
|
},
|
2019-10-26 14:46:04 +00:00
|
|
|
};
|
|
|
|
</script>
|