|
@@ -30,7 +30,7 @@ module.exports = options => {
|
|
}
|
|
}
|
|
const change = yield this.service.change.getDataByCondition({ cid });
|
|
const change = yield this.service.change.getDataByCondition({ cid });
|
|
if (!change) throw '变更令数据有误';
|
|
if (!change) throw '变更令数据有误';
|
|
- if ((change.status === status.uncheck || change.status === status.back) && this.tender.info.shenpi.change !== shenpiConst.sp_status.sqspr) {
|
|
|
|
|
|
+ if ((change.status === status.uncheck || change.status === status.back || change.status === status.revise) && this.tender.info.shenpi.change !== shenpiConst.sp_status.sqspr) {
|
|
const shenpi_status = this.tender.info.shenpi.change;
|
|
const shenpi_status = this.tender.info.shenpi.change;
|
|
// 进一步比较审批流是否与审批流程设置的相同,不同则替换为固定审批流或固定的终审
|
|
// 进一步比较审批流是否与审批流程设置的相同,不同则替换为固定审批流或固定的终审
|
|
const auditList = yield this.service.changeAudit.getAllDataByCondition({ where: { cid: change.cid, times: change.times } });
|
|
const auditList = yield this.service.changeAudit.getAllDataByCondition({ where: { cid: change.cid, times: change.times } });
|