laiguoran 2 роки тому
батько
коміт
fc4f182d18
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      app/controller/payment_controller.js

+ 3 - 3
app/controller/payment_controller.js

@@ -320,7 +320,7 @@ module.exports = app => {
                             const report_items_json = JSON.parse(ctx.trInfo.report_items_json);
                             const items = ['cells', 'signature_audit_cells', 'signature_cells', 'signature_date_cells', 'interact_cells'];
                             for (const item of items) {
-                                if (!difference && report_items_json[item] &&
+                                if (report_items_json[item] &&
                                     !ctx.helper._.isEmpty(ctx.helper._.differenceWith(JSON.parse(JSON.stringify(rptMsg[item])), report_items_json[item], ctx.helper._.isEqual))) {
                                     // 因为interact_cells里存在undefind值,必须先用JSON.parse和JSON.stringify转义才能对比
                                     difference = true;
@@ -328,7 +328,7 @@ module.exports = app => {
                                     if (item === 'signature_cells') {
                                         auditDifference = true;
                                     }
-                                    break;
+                                    // break;
                                 }
                             }
                         } else {
@@ -756,7 +756,7 @@ module.exports = app => {
                                     if (item === 'signature_cells') {
                                         auditDifference = true;
                                     }
-                                    break;
+                                    // break;
                                 }
                             }
                         } else {