完善体检客户报告邮寄地址功能

This commit is contained in:
xianyi
2025-12-25 11:40:34 +08:00
parent 842946d08e
commit fa6003e47b
2 changed files with 18 additions and 0 deletions

View File

@@ -873,6 +873,12 @@ export interface OutputReportSendInfo {
address_contact?: string | null;
/** 联系电话 */
address_mobile?: string | null;
/** 省份名称 */
province_name?: string | null;
/** 城市名称 */
city_name?: string | null;
/** 区县名称 */
country_name?: string | null;
/** 寄送地址 */
address_content?: string | null;
}

View File

@@ -40,6 +40,15 @@ export const ExamDeliveryPanel = ({ client }: { client: ExamClient }) => {
if (data.address_mobile) {
setAddressMobile(data.address_mobile);
}
if (data.province_name) {
setProvinceName(data.province_name);
}
if (data.city_name) {
setCityName(data.city_name);
}
if (data.country_name) {
setCountryName(data.country_name);
}
if (data.address_content) {
setAddressContent(data.address_content);
}
@@ -101,6 +110,9 @@ export const ExamDeliveryPanel = ({ client }: { client: ExamClient }) => {
{viewMode === 'form' ? (
<>
{infoLoading && (
<div className='mb-3 text-xs text-gray-500'>...</div>
)}
<div className='grid grid-cols-2 gap-3 mb-3'>
<div>