Browse Source

大写调整

laiguoran 2 năm trước cách đây
mục cha
commit
f9600df693
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 (cell.Label === '大写' && cell.link === undefined) {
+                        if (ctx.helper._.indexOf(cell.Label, '大写') !== -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;