Commit 966eb817 by 李伟康

fix(equity): 更新qsFlag判断条件以包含inclueType检查

修改CreateEquity.vue组件中的条件判断逻辑,在qsFlag为0的基础上增加
对inclueType等于1的检查,确保只有当两个条件都满足时才执行附件列表
的相关操作,避免不必要的错误提示。
1 parent a4ece95f
...@@ -580,7 +580,7 @@ export default { ...@@ -580,7 +580,7 @@ export default {
} }
}) })
} }
if (params.qsFlag == 0) { if (params.qsFlag == 0 && params.inclueType == 1) {
params.attachmentList.map(e => { params.attachmentList.map(e => {
let item = qsFlagTips[e.attachmentCode] let item = qsFlagTips[e.attachmentCode]
if (!e.attachmentFile) throw `请上传${item}` if (!e.attachmentFile) throw `请上传${item}`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!