فهرست منبع

台账修订审批问题

MaiXinRong 5 سال پیش
والد
کامیت
b7e78e10cb
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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: '@'},
             {title: '名称', colSpan: '1', rowSpan: '1', field: 'name', hAlign: 0, width: 230, formatter: '@'},
         ],
         ],
         extraCols: [
         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,
         emptyRows: 3,
         headRows: 1,
         headRows: 1,

+ 1 - 1
app/extend/helper.js

@@ -791,7 +791,7 @@ module.exports = {
             if (!su.sms_type || su.sms_type === '') continue;
             if (!su.sms_type || su.sms_type === '') continue;
 
 
             const smsType = JSON.parse(su.sms_type);
             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);
                 mobiles.push(su.auth_mobile);
             }
             }
         }
         }