Compare commits
1 Commits
a834f88aaa
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e8d6b1c0d |
@@ -367,6 +367,17 @@ const AddShopDealerApply = () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (existingCustomer) {
|
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) {
|
if (existingCustomer.applyStatus && existingCustomer.applyStatus !== 10) {
|
||||||
Taro.showToast({
|
Taro.showToast({
|
||||||
|
|||||||
Reference in New Issue
Block a user