Commit 4eea20aa authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

🐞 fix(): 修改采购报价新增没填写红标提醒

parent 86c86ddc
......@@ -40,10 +40,10 @@ const OfferExplain: React.FC<IProps> = (props: any) => {
name: 'explain',
data: res,
})
onBadge(0, 0)
onBadge(0, 2)
}).catch(error => {
if (error && error.errorFields) {
onBadge(error.errorFields.length, 0)
onBadge(error.errorFields.length, 2)
}
})
})
......
......@@ -318,10 +318,10 @@ const OfferInfo: React.FC<IProps> = (props: any) => {
name: 'offer',
data: detailss,
})
onBadge(0, 0)
onBadge(0, 1)
}).catch(error => {
if (error && error.errorFields) {
onBadge(error.errorFields.length, 0)
onBadge(error.errorFields.length, 1)
}
})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment