diff --git a/web-admin/src/components/business/pl-transport-address-select-dialog/index.vue b/web-admin/src/components/business/pl-transport-address-select-dialog/index.vue index 52e3f14fd..e849749d2 100644 --- a/web-admin/src/components/business/pl-transport-address-select-dialog/index.vue +++ b/web-admin/src/components/business/pl-transport-address-select-dialog/index.vue @@ -143,6 +143,16 @@ + + + @@ -211,6 +221,7 @@ const addressForm = reactive({ lat: null as number | null, contactName: '', contactPhone: '', + notes: '', remark: '' }) @@ -262,6 +273,7 @@ function resetAddressForm() { lat: null, contactName: '', contactPhone: '', + notes: '', remark: '' }) formRef.value?.resetFields() @@ -275,6 +287,7 @@ function fillAddressForm(row: TransportAddress) { lat: row.lat != null ? Number(row.lat) : null, contactName: row.contactName || '', contactPhone: row.contactPhone || '', + notes: row.notes || '', remark: row.remark || '' }) } @@ -305,6 +318,7 @@ function buildPayload(): TransportAddressPayload { lat: addressForm.lat as number, contactName: addressForm.contactName.trim() || undefined, contactPhone: addressForm.contactPhone.trim() || undefined, + notes: addressForm.notes.trim() || undefined, status: '1', remark: addressForm.remark.trim() || undefined }