Browse Source

oa成本表

jbb 2 years ago
parent
commit
b7ab1b33b7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/cost-allocation-total/costDetailDrawer.vue

+ 2 - 2
src/views/cost-allocation-total/costDetailDrawer.vue

@@ -622,7 +622,7 @@ export default {
     }
   },
   created(){
-    var ccode = this.$route.query.planNum;        
+    var ccode = this.$route.query.ccode;     
     if (ccode != undefined && ccode != ""){
       this.planNum = ccode;
       // this.showSelect=1;
@@ -635,7 +635,7 @@ export default {
     getALLDetail(planNum) {
       this.$nextTick(() => {
         // console.log('详情拿到planNum', this.record.planNum)
-        costByPlanNum({ plannum:planNum, type: 'query' }).then(res => {
+        costByPlanNum({ plannum:planNum, type: 'queryNew' }).then(res => {
           if (res.success) {
             this.detailsPlanNum = res.result //所有详情
             this.accidentListData = res.result.syCostAllocationAccidentList //事故单