|
@@ -122,7 +122,7 @@ const loadData = async (id: number) => {
|
|
|
strainName: d.strainName || '',
|
|
strainName: d.strainName || '',
|
|
|
preservationTemp: d.preservationTemp || '',
|
|
preservationTemp: d.preservationTemp || '',
|
|
|
storageLocation: d.storageLocation || '',
|
|
storageLocation: d.storageLocation || '',
|
|
|
- inboundDate: d.inboundDate || '',
|
|
|
|
|
|
|
+ inboundDate: d.inboundDate ? d.inboundDate.slice(0, 10) : '',
|
|
|
inboundPersonId: d.inboundPersonId || 0,
|
|
inboundPersonId: d.inboundPersonId || 0,
|
|
|
inboundPerson: d.inboundPerson || '',
|
|
inboundPerson: d.inboundPerson || '',
|
|
|
quantity: d.quantity || '',
|
|
quantity: d.quantity || '',
|