加项单支付状态
This commit is contained in:
@@ -553,6 +553,12 @@ export interface PoAddItemCustomerInfo {
|
|||||||
is_vip_name?: string | null;
|
is_vip_name?: string | null;
|
||||||
/** 联系电话 */
|
/** 联系电话 */
|
||||||
phone?: string | null;
|
phone?: string | null;
|
||||||
|
/** 是否到检(0-未到检 1-已到检) */
|
||||||
|
is_sign_in?: number | null;
|
||||||
|
/** 挂账公司ID */
|
||||||
|
company_id?: number | null;
|
||||||
|
/** 挂账公司名称 */
|
||||||
|
company_name?: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -110,6 +110,15 @@ export const ExamAddonPanel = ({ client, onGoToSign }: ExamAddonPanelProps) => {
|
|||||||
customer_name: res.Data.customerInfo.customer_name,
|
customer_name: res.Data.customerInfo.customer_name,
|
||||||
phone: res.Data.customerInfo.phone,
|
phone: res.Data.customerInfo.phone,
|
||||||
});
|
});
|
||||||
|
// 设置挂账公司默认值
|
||||||
|
const companyName = res.Data.customerInfo.company_name;
|
||||||
|
if (companyName && companyName.trim() !== '') {
|
||||||
|
setAccountCompany(companyName);
|
||||||
|
setAccountCompanySearch(companyName);
|
||||||
|
} else {
|
||||||
|
setAccountCompany('');
|
||||||
|
setAccountCompanySearch('');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 保存渠道折扣信息
|
// 保存渠道折扣信息
|
||||||
if (res.Data?.listChannelDiscount && res.Data.listChannelDiscount.length > 0) {
|
if (res.Data?.listChannelDiscount && res.Data.listChannelDiscount.length > 0) {
|
||||||
|
|||||||
@@ -1847,6 +1847,9 @@ export const ExamSignPanel = ({ examId, onBusyChange }: ExamSignPanelProps) => {
|
|||||||
{displayName}
|
{displayName}
|
||||||
{typeof bill.pdf_sort === 'number' ? `(#${bill.pdf_sort})` : ''}
|
{typeof bill.pdf_sort === 'number' ? `(#${bill.pdf_sort})` : ''}
|
||||||
</span>
|
</span>
|
||||||
|
{bill.payment_status_name && (
|
||||||
|
<span className='text-xs text-gray-500 whitespace-nowrap'>{bill.payment_status_name}</span>
|
||||||
|
)}
|
||||||
{isSigned && (
|
{isSigned && (
|
||||||
<img
|
<img
|
||||||
src='/sign.png'
|
src='/sign.png'
|
||||||
|
|||||||
Reference in New Issue
Block a user