zhangyuewww há 1 ano atrás
pai
commit
242bde7bb7

+ 1 - 1
src/layout/index/top/top-setting.vue

@@ -122,7 +122,7 @@ export default {
       }])
     },
     clear(){
-       clearCache({
+       clearCache({compId:localStorage.getItem('ws-pf_compId')
         }).toPromise().then(res => {
           this.$message.success('缓存清理成功')
         })

+ 2 - 2
src/views/universalityAudit/auditprint.vue

@@ -185,7 +185,7 @@ export default {
                         var data = this.deptBudgetList[m].tranTaskInfoList[i].tranSettlementReportList
                         for (var q = 0; q < data.length; q++) {
                           if (data[q].totalPayable) {
-                            this.num += data[q].totalPayable
+                            num += data[q].totalPayable
                           }
                         }
                       }
@@ -373,7 +373,7 @@ export default {
                         var data = this.deptBudgetList[0].tranTaskInfoList[i].tranSettlementReportList
                         for (var q = 0; q < data.length; q++) {
                           if (data[q].totalPayable) {
-                            this.num += data[q].totalPayable
+                            num += data[q].totalPayable
                           }
                         }
                       }