Commit 3d2d6c7c by 胡悦

fix(HomeFrame): 调整日报检查逻辑顺序以避免重复检查

将日报检查逻辑移到限制录单检查之前,避免在特定场景下重复检查
1 parent 7ee562f3
......@@ -554,6 +554,8 @@ export default {
const noInterceptPage = ['DailyReport', 'DeliveryManagement'],
{ sceneType } = this
if (!noInterceptPage.includes(item.name)) {
// 日报
if (await this.checkDailyReport(sceneType != 7)) return
if (sceneType != 7) {
// if (await this.inspectionOfProhibitionBill()) return
// 检查是否限制录单
......@@ -564,7 +566,6 @@ export default {
return
}
}
if (await this.checkDailyReport(sceneType != 7)) return
}
if (item.name === 'EvaluationFormList') {
mediaResourceManager.cleanupExpired()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!