Browse Source

安全生产费,审核比较问题

MaiXinRong 2 năm trước cách đây
mục cha
commit
95260c38bb
2 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 0 1
      app/public/js/payment_compare.js
  2. 1 1
      app/service/payment_detail_audit.js

+ 0 - 1
app/public/js/payment_compare.js

@@ -100,7 +100,6 @@ $(document).ready(function() {
             }
         }
         loadData(datas, roles) {
-            // todo 整理数据
             this.initSpread(roles);
             this.analysisCompareData(datas, roles);
             this.tree.loadDatas(datas);

+ 1 - 1
app/service/payment_detail_audit.js

@@ -107,7 +107,7 @@ module.exports = app => {
             } else {
                 result.push({
                     aid: user.id, name: user.name, company: user.company, role: user.role, mobile: user.mobile, telephone: user.telephone,
-                    times: detail.curTimes, order: 0, status: auditConst.status.uncheck, latest: detail.readOnly,
+                    times: detail.curTimes, order: 0, status: auditConst.status.uncheck, latest: !detail.readOnly,
                 });
 
                 const sql = `SELECT pda.aid, pa.name, pa.company, pa.role, pa.mobile, pa.telephone, pda.times, pda.order, pda.status, pda.opinion, pda.begin_time, pda.end_time` +