This commit is contained in:
2021-08-19 22:59:59 +00:00
parent a4621d1075
commit f3fc3af8ed
2 changed files with 22 additions and 9 deletions

View File

@@ -139,17 +139,25 @@ export default {
usertypes: []
},
customername: undefined,
/*
public string Description { get; set; }
public long Meter { get; set; }
public DateTime MeterDate { get; set; }
public long UnitId { get; set; }
public long? WorkOrderItemUnitId { get; set; }
*/
obj: {
//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
//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
id: 0,
concurrency: 0,
notes: null,
noteDate: window.$gz.locale.nowUTC8601String(),
tags: [],
customerId: undefined,
userId: undefined
description: null,
meter: 0,
meterDate: window.$gz.locale.nowUTC8601String(),
unitId: undefined,
workOrderItemUnitId: undefined
},
formState: {
ready: false,