|
@@ -143,7 +143,7 @@ module.exports = options => {
|
|
|
if (sameAudit) {
|
|
|
for (const audit of auditList) {
|
|
|
const shenpi = shenpiList.find(x => { return x.audit_id === audit.aid; });
|
|
|
- if (shenpi.audit_order !== audit.audit_order) sameAudit = false;
|
|
|
+ if (!shenpi || shenpi.audit_order !== audit.audit_order) sameAudit = false;
|
|
|
}
|
|
|
}
|
|
|
if (!sameAudit) {
|