zhangyuewww 1 年之前
父節點
當前提交
242bde7bb7
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/layout/index/top/top-setting.vue
  2. 2 2
      src/views/universalityAudit/auditprint.vue

+ 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
                           }
                         }
                       }