加项单支付状态

This commit is contained in:
xianyi
2026-01-09 11:33:28 +08:00
parent 8df95d2104
commit f9a4e1dc1f
3 changed files with 18 additions and 0 deletions

View File

@@ -110,6 +110,15 @@ export const ExamAddonPanel = ({ client, onGoToSign }: ExamAddonPanelProps) => {
customer_name: res.Data.customerInfo.customer_name,
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) {