comnpany to cm
This commit is contained in:
@@ -5,14 +5,12 @@ const t = i18n.global.t
|
||||
class Company extends Model {
|
||||
ID = null
|
||||
Code = ''
|
||||
Title = ''
|
||||
Name = ''
|
||||
IsActive = true
|
||||
Notes = ''
|
||||
|
||||
|
||||
Tmpl = ''
|
||||
|
||||
|
||||
_colOptions = {
|
||||
ID: {
|
||||
label: t('Company.ID'),
|
||||
@@ -40,7 +38,7 @@ class Company extends Model {
|
||||
|
||||
},
|
||||
|
||||
Title: {
|
||||
Name: {
|
||||
label: t('Company.Title'),
|
||||
visible: true,
|
||||
dataType: 'text', //numeric, text, date, bool, datetime, time, inet
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
/>
|
||||
|
||||
<q-input class="col-xs-12 col-sm-6"
|
||||
v-model="model.Title"
|
||||
v-model="model.Name"
|
||||
:label="t('Company.Title')"
|
||||
bottom-slots
|
||||
:rules="[]"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
:label="t('selectCompany')"
|
||||
:options="ld.companies"
|
||||
option-value="ID"
|
||||
option-label="Title"
|
||||
option-label="Name"
|
||||
dense
|
||||
options-dense
|
||||
outlined
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
:label="t('selectCompany')"
|
||||
:options="ld.companies"
|
||||
option-value="ID"
|
||||
option-label="Title"
|
||||
option-label="Name"
|
||||
dense
|
||||
options-dense
|
||||
outlined
|
||||
|
||||
Reference in New Issue
Block a user