代码提交

This commit is contained in:
zzyuan 2025-08-01 13:48:12 +08:00
parent 8383351d8e
commit 7dd2ad52f2
3 changed files with 7 additions and 10 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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) {