laiguoran пре 4 година
родитељ
комит
bbc0185bc3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/controller/ledger_controller.js

+ 1 - 1
app/controller/ledger_controller.js

@@ -937,7 +937,7 @@ module.exports = app => {
                 if (!fileInfo || !Object.keys(fileInfo).length) {
                     throw '该文件不存在';
                 }
-                if (!fileInfo.extra_upload && ctx.stage.status === auditConst.status.checked) {
+                if (!fileInfo.extra_upload && ctx.tender.status === auditConst.status.checked) {
                     throw '无权限删除';
                 }
                 if (fileInfo !== undefined && fileInfo !== '') {