|
@@ -461,33 +461,33 @@ export default {
|
|
}
|
|
}
|
|
this.deptBudgetList[0].printType=9
|
|
this.deptBudgetList[0].printType=9
|
|
}
|
|
}
|
|
- // else if(row.type=='长途加油'){
|
|
|
|
- // this.deptBudgetList=[await printfilling({id:row.id}).toPromise()]
|
|
|
|
- // this.deptBudgetList[0].printType=10
|
|
|
|
- // if(this.deptBudgetList[0].fillingDetailInfoList&&this.deptBudgetList[0].fillingDetailInfoList.length>0){
|
|
|
|
- // var arr1=[]
|
|
|
|
- // var data=this.deptBudgetList[0].fillingDetailInfoList
|
|
|
|
- // for (let i = 0; i < data.length; i++) {
|
|
|
|
- // if(data[i].addressUrl){
|
|
|
|
- // var arr2=data[i].addressUrl.split(',')
|
|
|
|
- // for (let q = 0; q < arr2.length; q++) {
|
|
|
|
- // if(arr2[q]){
|
|
|
|
- // arr1.push({'appendixPath':arr2[q]})
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
- // this.$set(this.deptBudgetList[0],'addressUrlArray',arr1)
|
|
|
|
- // this.deptBudgetList[0].addressUrlArrayImage=arr1
|
|
|
|
- // this.deptBudgetList[0].addressUrlArrayFilelen=arr1.length-this.deptBudgetList[0].addressUrlArrayImage.length
|
|
|
|
- // }else{
|
|
|
|
- // this.deptBudgetList[0].addressUrlArray=[]
|
|
|
|
- // this.deptBudgetList[0].addressUrlArrayImage=[]
|
|
|
|
- // this.deptBudgetList[0].addressUrlArrayFilelen=0
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
- console.log( this.deptBudgetList[0],11111)
|
|
|
|
- if(this.deptBudgetList[0].addressUrl&&row.type!='长途加油'){
|
|
|
|
|
|
+ else if(row.type=='长途加油'){
|
|
|
|
+ this.deptBudgetList=[await printfilling({id:row.id}).toPromise()]
|
|
|
|
+ this.deptBudgetList[0].printType=10
|
|
|
|
+ if(this.deptBudgetList[0].fillingDetailInfoList&&this.deptBudgetList[0].fillingDetailInfoList.length>0){
|
|
|
|
+ var arr3=[]
|
|
|
|
+ var data=this.deptBudgetList[0].fillingDetailInfoList
|
|
|
|
+ for (let i = 0; i < data.length; i++) {
|
|
|
|
+ if(data[i].addressUrl){
|
|
|
|
+ var arr2=data[i].addressUrl.split(',')
|
|
|
|
+ for (let q = 0; q < arr2.length; q++) {
|
|
|
|
+ if(arr2[q]){
|
|
|
|
+ arr3.push({'appendixPath':arr2[q]})
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ this.deptBudgetList[0].addressUrlArray = arr3
|
|
|
|
+ this.deptBudgetList[0].addressUrlArrayImage=arr3
|
|
|
|
+ this.deptBudgetList[0].addressUrlArrayFilelen=arr3.length-this.deptBudgetList[0].addressUrlArrayImage.length
|
|
|
|
+ }else{
|
|
|
|
+ this.deptBudgetList[0].addressUrlArray=[]
|
|
|
|
+ this.deptBudgetList[0].addressUrlArrayImage=[]
|
|
|
|
+ this.deptBudgetList[0].addressUrlArrayFilelen=0
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if(row.type!='长途加油'){
|
|
|
|
+ if(this.deptBudgetList[0].addressUrl){
|
|
var arr1=await printgetfile({appendixIds:this.deptBudgetList[0].addressUrl}).toPromise()
|
|
var arr1=await printgetfile({appendixIds:this.deptBudgetList[0].addressUrl}).toPromise()
|
|
this.deptBudgetList[0].addressUrlArray=this.imagefilter(arr1)
|
|
this.deptBudgetList[0].addressUrlArray=this.imagefilter(arr1)
|
|
this.deptBudgetList[0].addressUrlArrayImage=this.imagefilter(arr1)
|
|
this.deptBudgetList[0].addressUrlArrayImage=this.imagefilter(arr1)
|
|
@@ -497,6 +497,8 @@ export default {
|
|
this.deptBudgetList[0].addressUrlArrayImage=[]
|
|
this.deptBudgetList[0].addressUrlArrayImage=[]
|
|
this.deptBudgetList[0].addressUrlArrayFilelen=0
|
|
this.deptBudgetList[0].addressUrlArrayFilelen=0
|
|
}
|
|
}
|
|
|
|
+ }
|
|
|
|
+
|
|
this.deptBudgetList[0].currectstatus=row.status
|
|
this.deptBudgetList[0].currectstatus=row.status
|
|
var workflow=await printworkflow({businessCode:row.businessCode,tmpCompId:localStorage.getItem('ws-pf_compId')}).toPromise()
|
|
var workflow=await printworkflow({businessCode:row.businessCode,tmpCompId:localStorage.getItem('ws-pf_compId')}).toPromise()
|
|
if(row.type=='通用审核') {
|
|
if(row.type=='通用审核') {
|