|
@@ -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 //事故单
|