diff --git a/src/dealer/customer/add.tsx b/src/dealer/customer/add.tsx index 147faf4..f84c24c 100644 --- a/src/dealer/customer/add.tsx +++ b/src/dealer/customer/add.tsx @@ -367,6 +367,17 @@ const AddShopDealerApply = () => { }); if (existingCustomer) { + // 报备人不同:直接拦截(避免跨报备人“抢单/续报”) + const existingReporterId = Number(existingCustomer.userId); + if (Number.isFinite(existingReporterId) && existingReporterId > 0 && existingReporterId !== submitUserId) { + Taro.showToast({ + title: '请改房号,该房号信息已报备', + icon: 'none', + duration: 2500 + }); + return false; + } + // 已签约/已取消:直接提示已报备 if (existingCustomer.applyStatus && existingCustomer.applyStatus !== 10) { Taro.showToast({