laiguoran 2 lat temu
rodzic
commit
5cb325a094
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/controller/payment_controller.js

+ 1 - 1
app/controller/payment_controller.js

@@ -393,7 +393,7 @@ module.exports = app => {
                     }
                     const numberList = ctx.helper._.filter(report_json.items[0].interact_cells, { DataType: 'intact_type_number' });
                     for (const [i, cell] of report_json.items[0].interact_cells.entries()) {
-                        if (ctx.helper._.indexOf(cell.Label, '大写') !== -1 && cell.link === undefined) {
+                        if (cell.Label.indexOf('大写') !== -1 && cell.link === undefined) {
                             if (numberList.length > 0) {
                                 const numberInfo = ctx.helper._.find(ctx.helper._.orderBy(numberList, ['index'], ['desc']), function(item) {
                                     return item.index < i;