Browse Source

台账修订审批问题

MaiXinRong 5 years ago
parent
commit
b7e78e10cb
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/const/spread.js
  2. 1 1
      app/extend/helper.js

+ 1 - 1
app/const/spread.js

@@ -377,7 +377,7 @@ const stageCompare = {
             {title: '名称', colSpan: '1', rowSpan: '1', field: 'name', hAlign: 0, width: 230, formatter: '@'},
         ],
         extraCols: [
-            {title: '%s数量', colSpan: '1', rowSpan: '1', field: 'gather_qty%s', hAlign: 2, width: 60, formatter: '@'},
+            {title: '%s', colSpan: '1', rowSpan: '1', field: 'gather_qty%s', hAlign: 2, width: 60, formatter: '@'},
         ],
         emptyRows: 3,
         headRows: 1,

+ 1 - 1
app/extend/helper.js

@@ -791,7 +791,7 @@ module.exports = {
             if (!su.sms_type || su.sms_type === '') continue;
 
             const smsType = JSON.parse(su.sms_type);
-            if (smsType[type] && smsType.indexOf(judge) !== -1) {
+            if (smsType[type] && smsType[type].indexOf(judge) !== -1) {
                 mobiles.push(su.auth_mobile);
             }
         }