代码提交
This commit is contained in:
		
							parent
							
								
									8383351d8e
								
							
						
					
					
						commit
						7dd2ad52f2
					
				| 
						 | 
				
			
			@ -367,11 +367,10 @@ export default {
 | 
			
		|||
        if(this.$route.query.purchaseInspectionRowData){ 
 | 
			
		||||
            this.purchaseInspectionRowData = JSON.parse(this.$route.query.purchaseInspectionRowData)
 | 
			
		||||
            this.getContractInfo()
 | 
			
		||||
        }else{
 | 
			
		||||
            this.getAreaTreeData()  
 | 
			
		||||
            this.getMaterialTree()  
 | 
			
		||||
            this.attachmentList=[]
 | 
			
		||||
        }
 | 
			
		||||
        this.getAreaTreeData()  
 | 
			
		||||
        this.getMaterialTree()  
 | 
			
		||||
        this.attachmentList=[]
 | 
			
		||||
    },
 | 
			
		||||
    watch:{
 | 
			
		||||
        '$route.query.purchaseInspectionRowData':function(newId, oldId) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -410,10 +410,9 @@ export default {
 | 
			
		|||
        if(this.$route.query.purchaseOrderRowData){ 
 | 
			
		||||
            this.purchaseOrderRowData = JSON.parse(this.$route.query.purchaseOrderRowData) 
 | 
			
		||||
            this.getContractInfo() 
 | 
			
		||||
        }else{
 | 
			
		||||
            this.getAreaTreeData()  
 | 
			
		||||
            this.getMaterialTree()   
 | 
			
		||||
        }
 | 
			
		||||
        this.getAreaTreeData()  
 | 
			
		||||
        this.getMaterialTree()   
 | 
			
		||||
    },
 | 
			
		||||
    watch:{
 | 
			
		||||
        '$route.query.purchaseOrderRowData':function(newId, oldId) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -330,10 +330,9 @@ export default {
 | 
			
		|||
        if(this.$route.query.inRowData){ 
 | 
			
		||||
            this.inRowData = JSON.parse(this.$route.query.inRowData)
 | 
			
		||||
            this.getContractInfo()
 | 
			
		||||
        }else{
 | 
			
		||||
            this.getAreaTreeData()  
 | 
			
		||||
            this.getMaterialTree()   
 | 
			
		||||
        }
 | 
			
		||||
        this.getAreaTreeData()  
 | 
			
		||||
        this.getMaterialTree()    
 | 
			
		||||
    },
 | 
			
		||||
    watch:{ 
 | 
			
		||||
        '$route.query.inRowData':function(newId, oldId) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue