完善体检客户报告邮寄地址功能
This commit is contained in:
@@ -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>
|
||||
收件人姓名
|
||||
|
||||
Reference in New Issue
Block a user