This commit is contained in:
2020-12-30 17:52:08 +00:00
parent c5a0f6baa6
commit 14679f8961

View File

@@ -9,9 +9,6 @@
><span class="text-h5" @click="navToTarget()"> {{ name }}</span>
</div>
<v-row>
<v-col cols="12">
<v-textarea
v-model="obj.name"
@@ -25,7 +22,6 @@
auto-grow
></v-textarea>
</v-col>
</v-row>
</v-form>
</div>
@@ -136,25 +132,23 @@ export default {
//IMPORTANT NOTE: Fields that are NON NULLABLE in the schema for the table but *are* hideable **MUST** have a default value set here or else there will be no way to save the record
//I.E. Serial, usertype fields, ACTIVE
//Also, if it's a non-nullable Enum backed field then it should have a valid selection i.e. not zero if there is no zero
//{"data":{"id":2,"concurrency":1257740,"name":"Follow up on this unit","notes":"Additional text about this unit","wiki":null,"customFields":null,"tags":["completed.service-bank","v7-import"],
//"dueDate":"2019-03-21T22:00:00Z","completedDate":"2019-03-21T22:00:00Z","completionNotes":null,"userId":2,"assignedByUserId":1,"objectId":9,"objectType":31,"overDue":false}}
/*
{"data":{"id":1,"concurrency":1387706,"name":"Prepaid for $500 labor","entryDate":"2005-11-27T19:04:00Z","lastEntryDate":null,"objectId":1,"objectType":8,
"sourceId":0,"sourceType":55,"incidents":0.0000,"incidentsBalance":0.0000,"lastIncidentsBalance":null,
"currency":500.0000,"currencyBalance":500.0000,"lastCurrencyBalance":null,
"hours":0.0000,"hoursBalance":0.0000,"lastHoursBalance":null}}
*/
{
id: 0,
concurrency: 0,
name: null,
active: true,
notes: null,
wiki: null,
customFields: "{}",
tags: [],
dueDate: null,
completedDate: null,
completionNotes: null,
userId: window.$gz.store.state.userId,
assignedByUserId: window.$gz.store.state.userId,
objectId: null,
objectType: null,
overDue: false
sourceId: null,
sourceType: null,
incidents: 0,
currency: 0,
hours: 0
},
formState: {
ready: false,